1 2013-08-14 Cary Coutant <ccoutant@google.com>
3 * boards/fission.exp: Add -fdebug-types-section to debug_flags.
5 2013-08-13 Tom Tromey <tromey@redhat.com>
6 Yao Qi <yao@codesourcery.com>
8 * lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
9 * lib/gdb.exp: Handle GDB_PARALLEL.
10 (default_gdb_version): Kill inotify_pid if it exists.
11 (default_gdb_exit): Emit warning if the inotify log is not
13 (standard_output_file): Respect GDB_PARALLEL.
14 (standard_temp_file): Likewise.
15 (gdb_init): Start inotifywait if requested.
17 2013-08-13 Andrew Burgess <aburgess@broadcom.com>
19 * gdb.base/printcmds.exp (test_printf): Add test for printf of
20 pointer with various flags.
22 2013-08-13 Tom Tromey <tromey@redhat.com>
24 * lib/cache.exp: New file.
25 * lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
26 * lib/gdb.exp: Load cache.exp.
27 (support_complex_tests, is_ilp32_target, is_lp64_target)
28 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
29 (gdb_skip_xml_test): Use gdb_caching_proc.
30 * lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.
32 2013-08-13 Tom Tromey <tromey@redhat.com>
34 * lib/gdb.exp (standard_temp_file): New proc.
35 (support_complex_tests, is_ilp32_target, is_lp64_target)
36 (is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
39 2013-08-13 Tom Tromey <tromey@redhat.com>
41 * lib/gdb.exp (build_id_debug_filename_get): Use
43 * lib/prelink-support.exp (section_get)
44 (build_executable_own_libs): Use standard_output_file.
46 2013-08-12 Tom Tromey <tromey@redhat.com>
48 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
50 2013-08-12 Ali Anwar <alianwar@codesourcery.com>
52 * gdb.base/break.exp: Test break via convenience variable
55 2013-08-09 Doug Evans <dje@google.com>
57 * lib/future.exp (gdb_find_ldd): New proc.
58 * lib/prelink-support.exp (build_executable_own_libs): Call it.
59 Make "/usr/sbin/" in prelink path optional.
61 2013-08-09 Yao Qi <yao@codesourcery.com>
63 * gdb.trace/collection.exp (gdb_collect_args_test): Set
64 "only" and "both" to 'print entry-values' before selecting
67 2013-08-08 Yao Qi <yao@codesourcery.com>
69 * gdb.trace/mi-trace-unavailable.exp: Don't set
70 "print entry-values" to "no".
71 (test_trace_unavailable): Set various values to
72 "print entry-values" to test that the output of
73 '-stack-list-locals' is not affected, and then set
74 set "print entry-values" to "no".
76 2013-08-07 Doug Evans <dje@google.com>
78 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
79 * gdb.python/py-value-cc.exp: Update.
80 * gdb.python/py-value.exp: Use different names for .o files for
81 C and C++. Only perform C++ tests if !skip_cplus_tests.
83 2013-08-07 Tom Tromey <tromey@redhat.com>
85 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
87 2013-08-07 Tom Tromey <tromey@redhat.com>
89 * gdb.dwarf2/dwz.exp: New file.
91 2013-08-02 Tom Tromey <tromey@redhat.com>
93 * gdb.base/watchpoint.c (struct foo5): New.
94 (nullptr): New global.
95 * gdb.base/watchpoint.exp (test_watch_location): Add test.
97 2013-08-01 Doug Evans <dje@google.com>
100 * gdb.dwarf2/fission-mix.exp: New file.
101 * gdb.dwarf2/fission-mix.h: New file.
102 * gdb.dwarf2/fission-mix.c: New file.
103 * gdb.dwarf2/fission-mix2.c: New file.
106 * gdb.base/func-ptr.exp: New file.
107 * gdb.base/func-ptr.c: New file.
109 2013-08-01 Yao Qi <yao@codesourcery.com>
111 * gdb.python/py-sync-interp.c: New.
112 * gdb.python/py-sync-interp.exp: New.
114 2013-07-31 Yao Qi <yao@codesourcery.com>
116 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
117 'tdump' on stack frame 0 and 1 respectively.
119 2013-07-31 Yao Qi <yao@codesourcery.com>
122 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
123 'traceframe'. Wrap test with with_test_prefix.
126 2013-07-31 Yao Qi <yao@codesourcery.com>
128 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
130 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
131 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
133 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
135 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
136 when printing an optimized out value. Expect an error when using
137 an optimized out value in an expression.
139 2013-07-30 Andrew Burgess <aburgess@broadcom.com>
141 * gdb.dwarf2/pieces-optimized-out.exp: New file.
142 * gdb.dwarf2/pieces-optimized-out.c: New file.
143 * gdb.dwarf2/pieces-optimized-out.S: New file.
145 2013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
148 * gdb.base/setshow.exp: Test that relative paths passed to
149 'set history filename' are converted to absolute paths.
151 2013-07-26 Keith Seitz <keiths@redhat.com>
153 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
155 Allow for compiler variations of integer types.
156 Use mi_create_varobj.
157 Use mi_list_varobj_children for the immediate children of `array'.
158 Add "has_more" attribute for grandchildren test.
160 2013-07-26 Pedro Alves <palves@redhat.com>
162 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
165 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
167 * gdb.mi/mi-reg-undefined.exp: New file.
168 * gdb.mi/mi-reg-undefined.c: Likewise.
169 * gdb.mi/mi-reg-undefined.S: Likewise.
171 2013-07-25 Andrew Burgess <aburgess@broadcom.com>
173 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
174 z, o, and t output formats.
175 * gdb.base/display.exp: Use 'k' as an undefined format now that
178 2013-07-24 Doug Evans <dje@google.com>
180 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
183 2013-07-24 Yao Qi <yao@codesourcery.com>
185 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
187 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
188 Likewise. If host is remote, copy ${binfile} to host.
190 2013-07-23 Yao Qi <yao@codesourcery.com>
192 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
195 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
197 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
198 instructions and enable disp-step-syscall for arm targets.
200 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
202 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
203 assembler errors on arm.
204 * gdb.dwarf2/mac-fileno.S: Likewise.
205 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
206 * gdb.dwarf2/pr13961.S: Likewise.
208 2013-07-19 Hui Zhu <hui@codesourcery.com>
211 * gdb.mi/mi-dprintf.exp: Add double quotes test.
213 2013-07-19 Yao Qi <yao@codesourcery.com>
215 * gdb.trace/read-memory.exp (test_from_remote): Update test.
216 (teset_from_exec): Likewise.
218 2013-07-19 Yao Qi <yao@codesourcery.com>
220 * gdb.trace/read-memory.c: New.
221 * gdb.trace/read-memory.exp: New.
223 2013-07-19 Yao Qi <yao@codesourcery.com>
225 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
226 $dest to link options if host is remote. Move the
227 generated file to $dest.a on host if host is remote.
229 2013-07-18 Will Newton <will.newton@linaro.org>
231 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
232 to ensure the test is linked against pthreads.
233 * gdb.threads/tls-var-main.c: Likewise.
234 * gdb.threads/tls-shared.c: Likewise.
236 2013-07-18 Yao Qi <yao@codesourcery.com>
238 * lib/future.exp (gdb_default_target_compile): Use tail name
239 of $destfile as the output name of compile. Move the
240 generated file to $destfile on build.
242 2013-07-18 Yao Qi <yao@codesourcery.com>
244 * lib/gdb.exp (gdb_compile): Set
245 gdb_saved_set_unbuffered_mode_obj to
246 set_unbuffered_mode_saved.o if host is remote. Invoke
247 remote_download to copy $unbuf_obj to host.
249 2013-07-17 Doug Evans <dje@google.com>
251 * gdb.python/py-frame-args.c: New file.
252 * gdb.python/py-frame-args.py: New file.
253 * gdb.python/py-frame-args.exp New file.
255 2013-07-16 Andrew Burgess <aburgess@broadcom.com>
257 * gdb.base/printcmds.exp (test_printf): Add tests for format
258 strings with missing format specifier.
260 2013-07-16 Tom Tromey <tromey@redhat.com>
262 * gdb.ada/info_types.exp: Use standard_testfile.
264 2013-07-16 Tom Tromey <tromey@redhat.com>
266 * gdb.mi/mi-basics.exp: Use standard_output_file.
267 (test_dir_specification, test_cwd_specification)
268 (test_path_specification): Use testsubdir, not subdir and objdir.
270 2013-07-16 Tom Tromey <tromey@redhat.com>
272 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
274 2013-07-09 Joel Brobecker <brobecker@adacore.com>
276 * gdb.ada/small_reg_param.exp: Accept optional entry value
279 2013-07-09 Joel Brobecker <brobecker@adacore.com>
281 * gdb.ada/small_reg_param.exp: Remove trailing space.
283 2013-07-09 Doug Evans <dje@google.com>
285 * gdb.base/default.exp: Update expected output of "show print array"
286 and "show print pretty".
288 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
290 * gdb.threads/wp-replication.exp: Stop counting available hardware
291 watchpoints after NR_THREADS iterations.
293 2013-07-08 Andrew Burgess <aburgess@broadcom.com>
295 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
297 2013-07-07 Yao Qi <yao@codesourcery.com>
299 * boards/native-gdbserver.exp: Move invoke of
300 process_multilib_options to gdbserver-base.exp.
301 Move set_board_info 'compiler', 'gdb,noinferiorio',
302 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
304 Move proc ${board}_download, ${board}_upload and
305 ${board}_file to gdbserver-base.exp.
306 * boards/native-extended-gdbserver.exp: Likewise.
307 * boards/native-stdio-gdbserver.exp: Likewise.
308 * boards/gdbserver-base.exp: New file.
310 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
312 * gdb.base/dump.exp: Remove arch-specific tests and do a
313 generic data address check to set is64bitonly correctly.
315 2013-07-05 Luis Machado <lgustavo@codesourcery.com>
317 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
318 the register number instead of expecting only 0.
320 2013-07-05 Will Newton <will.newton@linaro.org>
322 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
323 in asm syntax to allow building on ARM.
325 2013-07-05 Yao Qi <yao@codesourcery.com>
327 * boards/local-remote-host.exp: Remove obsolete comments.
328 * boards/native-extended-gdbserver.exp: Likewise.
329 * boards/native-gdbserver.exp: Likewise.
330 * boards/native-stdio-gdbserver.exp: Likewise.
332 2013-07-04 Andrew Burgess <aburgess@broadcom.com>
334 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
335 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
336 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
338 2013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
340 * gdb.base/break-on-linker-gcd-function.exp: Replace
341 prepare_for_testing by build_executable_from_specs and clean_restart.
343 2013-06-27 Tom Tromey <tromey@redhat.com>
345 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
346 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
347 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
348 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
349 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
350 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
351 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
352 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
353 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
354 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
355 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
356 Use standard_testfile, standard_output_file, prepare_for_testing,
359 2013-06-27 Tom Tromey <tromey@redhat.com>
361 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
362 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
363 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
364 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
365 gdb.base/shreloc.exp, gdb.base/sigall.exp,
366 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
367 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
368 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
369 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
370 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
371 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
372 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
373 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
374 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
375 gdb.base/solib-weak.exp, gdb.base/source.exp,
376 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
377 gdb.base/stap-probe.exp, gdb.base/start.exp,
378 gdb.base/step-break.exp, gdb.base/step-bt.exp,
379 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
380 gdb.base/step-test.exp, gdb.base/structs.exp,
381 gdb.base/structs2.exp, gdb.base/structs3.exp,
382 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
383 standard_output_file, prepare_for_testing, clean_restart.
385 2013-06-27 Tom Tromey <tromey@redhat.com>
387 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
388 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
389 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
390 gdb.base/pending.exp, gdb.base/permissions.exp,
391 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
392 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
393 gdb.base/printcmds.exp, gdb.base/prologue.exp,
394 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
395 gdb.base/ptype.exp, gdb.base/randomize.exp,
396 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
397 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
398 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
399 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
400 standard_testfile, standard_output_file, prepare_for_testing,
403 2013-06-27 Tom Tromey <tromey@redhat.com>
405 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
406 gdb.base/huge.exp, gdb.base/included.exp,
407 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
408 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
409 gdb.base/info-os.exp, gdb.base/info-proc.exp,
410 gdb.base/info-target.exp, gdb.base/infoline.exp,
411 gdb.base/interp.exp, gdb.base/interrupt.exp,
412 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
413 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
414 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
415 gdb.base/logical.exp, gdb.base/long_long.exp,
416 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
417 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
418 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
419 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
420 standard_testfile, standard_output_file, prepare_for_testing,
423 2013-06-27 Tom Tromey <tromey@redhat.com>
425 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
426 gdb.base/enumval.exp, gdb.base/environ.exp,
427 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
428 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
429 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
430 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
431 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
432 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
433 gdb.base/fullname.exp, gdb.base/funcargs.exp,
434 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
435 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
436 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
437 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
438 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
439 gdb.base/gnu_vector.exp: Use standard_testfile,
440 standard_output_file, prepare_for_testing, clean_restart.
442 2013-06-27 Tom Tromey <tromey@redhat.com>
444 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
445 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
446 gdb.base/call-strs.exp, gdb.base/callexit.exp,
447 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
448 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
449 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
450 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
451 gdb.base/commands.exp, gdb.base/completion.exp,
452 gdb.base/complex.exp, gdb.base/cond-expr.exp,
453 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
454 gdb.base/constvars.exp, gdb.base/corefile.exp,
455 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
456 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
457 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
458 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
459 gdb.base/dup-sect.exp: Use standard_testfile,
460 standard_output_file, prepare_for_testing, clean_restart.
462 2013-06-27 Tom Tromey <tromey@redhat.com>
464 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
465 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
466 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
467 gdb.base/async-shell.exp, gdb.base/async.exp,
468 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
469 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
470 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
471 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
472 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
473 gdb.base/break-on-linker-gcd-function.exp,
474 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
475 standard_output_file, prepare_for_testing, clean_restart.
477 2013-06-26 Yao Qi <yao@codesourcery.com>
479 * gdb.trace/mi-trace-frame-collected.exp: New.
481 2013-06-25 Yao Qi <yao@codesourcery.com>
483 * boards/native-extended-gdbserver.exp: Set board_info
484 'gdb,predefined_tsv'.
485 * boards/native-gdbserver.exp: Likewise.
486 * boards/native-stdio-gdbserver.exp: Likewise.
487 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
488 uploaded TSVs if target supports tracing.
489 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
490 tracing and target has predefined tsv.
492 2013-06-25 Yao Qi <yao@codesourcery.com>
493 Hui Zhu <hui@codesourcery.com>
494 Pedro Alves <palves@redhat.com>
498 * gdb.base/dprintf-next.c: New file.
499 * gdb.base/dprintf-next.exp: New file.
500 * gdb.base/dprintf-non-stop.c: New file.
501 * gdb.base/dprintf-non-stop.exp: New file.
502 * gdb.base/dprintf.exp: Don't check "continue" in the output
503 of "info breakpoints".
504 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
505 Don't check "continue" in script field.
507 2013-06-21 Tom Tromey <tromey@redhat.com>
509 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
512 2013-06-20 Yao Qi <yao@codesourcery.com>
514 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
516 (test_trace_unavailable): Test command -data-list-register-values
517 in the context of traceframe and with option --skip-unavailable.
518 * gdb.trace/trace-unavailable.c (foo): New.
520 * gdb.mi/gdb2549.exp: Update matching pattern.
522 2013-06-19 Mike Frysinger <vapier@gentoo.org>
524 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
525 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
526 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
527 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
528 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
530 2013-06-19 Luis Machado <lgustavo@codesourcery.com>
532 * gdb.base/subst.exp: Delete default rules before further
535 2013-06-19 Yao Qi <yao@codesourcery.com>
537 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
538 unsupported if it is not registered.
540 2013-06-18 Tom Tromey <tromey@redhat.com>
542 * gdb.base/random-signal.c: New file.
543 * gdb.base/random-signal.exp: New file.
545 2013-06-18 Will Newton <will.newton@linaro.org>
547 * gdb.base/skip.c: Use comma to evaluate results of foo()
548 and bar() before passing to baz().
549 * gdb.base/skip.c: baz() now takes one argument instead of
552 2013-06-18 Tom Tromey <tromey@redhat.com>
554 * gdb.dwarf2/implptrpiece.exp: New file.
555 * gdb.dwarf2/implptrconst.exp (d): New variable.
557 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
559 2013-06-18 Tom Tromey <tromey@redhat.com>
561 * lib/selftest-support.exp (do_self_tests): Reject remote or
563 * gdb.gdb/complaints.exp: Remove check.
564 * gdb.gdb/observer.exp: Remove check.
565 * gdb.gdb/xfullpath.exp: Remove check.
566 * gdb.gdb/complaints.exp: Remove check.
568 2013-06-07 Pedro Alves <palves@redhat.com>
570 * boards/native-extended-gdbserver.exp: Remove semicolon.
571 * config/arm-ice.exp: Likewise.
572 * config/bfin.exp: Likewise.
573 * config/cygmon.exp: Likewise.
574 * config/h8300.exp: Likewise.
575 * config/monitor.exp: Likewise.
576 * config/sid.exp: Likewise.
577 * config/sim.exp: Likewise.
578 * config/slite.exp: Likewise.
579 * config/vx.exp: Likewise.
580 * gdb.arch/i386-bp_permanent.exp: Likewise.
581 * gdb.asm/asm-source.exp: Likewise.
582 * gdb.base/args.exp: Likewise.
583 * gdb.base/attach-pie-misread.exp: Likewise.
584 * gdb.base/auxv.exp: Likewise.
585 * gdb.base/bigcore.exp: Likewise.
586 * gdb.base/bitfields2.exp: Likewise.
587 * gdb.base/bitfields.exp: Likewise.
588 * gdb.base/break.exp: Likewise.
589 * gdb.base/break-interp.exp: Likewise.
590 * gdb.base/callfuncs.exp: Likewise.
591 * gdb.base/call-sc.exp: Likewise.
592 * gdb.base/commands.exp: Likewise.
593 * gdb.base/corefile.exp: Likewise.
594 * gdb.base/dbx.exp: Likewise.
595 * gdb.base/ending-run.exp: Likewise.
596 * gdb.base/exprs.exp: Likewise.
597 * gdb.base/funcargs.exp: Likewise.
598 * gdb.base/hbreak2.exp: Likewise.
599 * gdb.base/huge.exp: Likewise.
600 * gdb.base/list.exp: Likewise.
601 * gdb.base/memattr.exp: Likewise.
602 * gdb.base/overlays.exp: Likewise.
603 * gdb.base/printcmds.exp: Likewise.
604 * gdb.base/recurse.exp: Likewise.
605 * gdb.base/remotetimeout.exp: Likewise.
606 * gdb.base/reread.exp: Likewise.
607 * gdb.base/savedregs.exp: Likewise.
608 * gdb.base/scope.exp: Likewise.
609 * gdb.base/sepdebug.exp: Likewise.
610 * gdb.base/setshow.exp: Likewise.
611 * gdb.base/setvar.exp: Likewise.
612 * gdb.base/sigaltstack.exp: Likewise.
613 * gdb.base/siginfo-addr.exp: Likewise.
614 * gdb.base/siginfo.exp: Likewise.
615 * gdb.base/siginfo-obj.exp: Likewise.
616 * gdb.base/sigrepeat.exp: Likewise.
617 * gdb.base/sigstep.exp: Likewise.
618 * gdb.base/structs.exp: Likewise.
619 * gdb.base/testenv.exp: Likewise.
620 * gdb.base/twice.exp: Likewise.
621 * gdb.base/valgrind-db-attach.exp: Likewise.
622 * gdb.base/valgrind-infcall.exp: Likewise.
623 * gdb.base/varargs.exp: Likewise.
624 * gdb.base/watchpoint.exp: Likewise.
625 * gdb.cp/gdb1355.exp: Likewise.
626 * gdb.cp/misc.exp: Likewise.
627 * gdb.disasm/hppa.exp: Likewise.
628 * gdb.disasm/t01_mov.exp: Likewise.
629 * gdb.disasm/t02_mova.exp: Likewise.
630 * gdb.disasm/t03_add.exp: Likewise.
631 * gdb.disasm/t04_sub.exp: Likewise.
632 * gdb.disasm/t05_cmp.exp: Likewise.
633 * gdb.disasm/t06_ari2.exp: Likewise.
634 * gdb.disasm/t07_ari3.exp: Likewise.
635 * gdb.disasm/t08_or.exp: Likewise.
636 * gdb.disasm/t09_xor.exp: Likewise.
637 * gdb.disasm/t10_and.exp: Likewise.
638 * gdb.disasm/t11_logs.exp: Likewise.
639 * gdb.disasm/t12_bit.exp: Likewise.
640 * gdb.disasm/t13_otr.exp: Likewise.
641 * gdb.gdb/selftest.exp: Likewise.
642 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
643 * gdb.mi/mi-reverse.exp: Likewise.
644 * gdb.pascal/floats.exp: Likewise.
645 * gdb.python/py-inferior.exp: Likewise.
646 * gdb.threads/attach-into-signal.exp: Likewise.
647 * gdb.threads/pthreads.exp: Likewise.
648 * gdb.threads/thread_events.exp: Likewise.
649 * gdb.threads/watchthreads.exp: Likewise.
650 * gdb.trace/actions-changed.exp: Likewise.
651 * gdb.trace/actions.exp: Likewise.
652 * gdb.trace/ax.exp: Likewise.
653 * gdb.trace/backtrace.exp: Likewise.
654 * gdb.trace/change-loc.exp: Likewise.
655 * gdb.trace/deltrace.exp: Likewise.
656 * gdb.trace/disconnected-tracing.exp: Likewise.
657 * gdb.trace/ftrace.exp: Likewise.
658 * gdb.trace/infotrace.exp: Likewise.
659 * gdb.trace/passc-dyn.exp: Likewise.
660 * gdb.trace/passcount.exp: Likewise.
661 * gdb.trace/pending.exp: Likewise.
662 * gdb.trace/qtro.exp: Likewise.
663 * gdb.trace/range-stepping.exp: Likewise.
664 * gdb.trace/report.exp: Likewise.
665 * gdb.trace/save-trace.exp: Likewise.
666 * gdb.trace/status-stop.exp: Likewise.
667 * gdb.trace/strace.exp: Likewise.
668 * gdb.trace/tfile.exp: Likewise.
669 * gdb.trace/tfind.exp: Likewise.
670 * gdb.trace/trace-break.exp: Likewise.
671 * gdb.trace/tracecmd.exp: Likewise.
672 * gdb.trace/trace-mt.exp: Likewise.
673 * gdb.trace/tspeed.exp: Likewise.
674 * gdb.trace/tsv.exp: Likewise.
675 * gdb.trace/while-stepping.exp: Likewise.
676 * lib/gdb.exp: Likewise.
677 * lib/gdbserver-support.exp: Likewise.
678 * lib/java.exp: Likewise.
679 * lib/mi-support.exp: Likewise.
680 * lib/pascal.exp: Likewise.
681 * lib/prompt.exp: Likewise.
682 * lib/trace-support.exp: Likewise.
684 2013-06-07 Pedro Alves <palves@redhat.com>
686 * gdb.ada/info_types.c: Fix formating in copyright header.
687 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
688 * gdb.base/float.c: Likewise.
689 * gdb.base/inferior-died.c: Likewise.
690 * gdb.base/interp.c: Likewise.
691 * gdb.base/jit-main.c: Likewise.
692 * gdb.base/jit-solib.c: Likewise.
693 * gdb.base/long_long.c: Likewise.
694 * gdb.base/longjmp.c: Likewise.
695 * gdb.base/nextoverexit.c: Likewise.
696 * gdb.base/pr11022.c: Likewise.
697 * gdb.base/prelink-lib.c: Likewise.
698 * gdb.base/prelink.c: Likewise.
699 * gdb.base/prologue.c: Likewise.
700 * gdb.base/restore.c: Likewise.
701 * gdb.base/sigchld.c: Likewise.
702 * gdb.base/solib-search-lib1.c: Likewise.
703 * gdb.base/solib-search-lib2.c: Likewise.
704 * gdb.base/solib-search.c: Likewise.
705 * gdb.base/solib-search.h: Likewise.
706 * gdb.base/whatis.c: Likewise.
707 * gdb.cp/abstract-origin.cc: Likewise.
708 * gdb.cp/anon-struct.cc: Likewise.
709 * gdb.cp/baseenum.cc: Likewise.
710 * gdb.cp/bs15503.cc: Likewise.
711 * gdb.cp/call-c-1.c: Likewise.
712 * gdb.cp/call-c.cc: Likewise.
713 * gdb.cp/class2.cc: Likewise.
714 * gdb.cp/classes.cc: Likewise.
715 * gdb.cp/cttiadd.cc: Likewise.
716 * gdb.cp/cttiadd1.cc: Likewise.
717 * gdb.cp/cttiadd2.cc: Likewise.
718 * gdb.cp/cttiadd3.cc: Likewise.
719 * gdb.cp/derivation.cc: Likewise.
720 * gdb.cp/derivation2.cc: Likewise.
721 * gdb.cp/dispcxx.cc: Likewise.
722 * gdb.cp/exception.cc: Likewise.
723 * gdb.cp/gdb2384-base.cc: Likewise.
724 * gdb.cp/gdb2384-base.h: Likewise.
725 * gdb.cp/gdb2384.cc: Likewise.
726 * gdb.cp/gdb2495.cc: Likewise.
727 * gdb.cp/mb-inline.h: Likewise.
728 * gdb.cp/mb-inline1.cc: Likewise.
729 * gdb.cp/mb-inline2.cc: Likewise.
730 * gdb.cp/member-name.cc: Likewise.
731 * gdb.cp/member-ptr.cc: Likewise.
732 * gdb.cp/misc.cc: Likewise.
733 * gdb.cp/namespace1.cc: Likewise.
734 * gdb.cp/nextoverthrow.cc: Likewise.
735 * gdb.cp/pr-574.cc: Likewise.
736 * gdb.cp/pr9631.cc: Likewise.
737 * gdb.cp/printmethod.cc: Likewise.
738 * gdb.cp/psmang1.cc: Likewise.
739 * gdb.cp/psmang2.cc: Likewise.
740 * gdb.cp/psymtab-parameter.cc: Likewise.
741 * gdb.cp/ptype-flags.cc: Likewise.
742 * gdb.cp/ref-params.cc: Likewise.
743 * gdb.cp/ref-types.cc: Likewise.
744 * gdb.cp/smartp.cc: Likewise.
745 * gdb.cp/try_catch.cc: Likewise.
746 * gdb.cp/userdef.cc: Likewise.
747 * gdb.cp/using-crash.cc: Likewise.
748 * gdb.cp/virtfunc.cc: Likewise.
749 * gdb.cp/virtfunc2.cc: Likewise.
750 * gdb.dwarf2/callframecfa.S: Likewise.
751 * gdb.dwarf2/dw2-ranges.c: Likewise.
752 * gdb.dwarf2/dw2-ranges2.c: Likewise.
753 * gdb.dwarf2/dw2-ranges3.c: Likewise.
754 * gdb.dwarf2/dw2-restore.S: Likewise.
755 * gdb.dwarf2/pieces.S: Likewise.
756 * gdb.dwarf2/valop.S: Likewise.
757 * gdb.java/jnpe.java: Likewise.
758 * gdb.mi/mi-stepn.c: Likewise.
759 * gdb.mi/mi-var-cp.cc: Likewise.
760 * gdb.mi/mi-var-rtti.cc: Likewise.
761 * gdb.mi/ns-stale-regcache.c: Likewise.
762 * gdb.mi/pr11022.c: Likewise.
763 * gdb.mi/solib-lib.c: Likewise.
764 * gdb.mi/solib-main.c: Likewise.
765 * gdb.python/py-arch.c: Likewise.
766 * gdb.python/py-block.c: Likewise.
767 * gdb.python/py-breakpoint.c: Likewise.
768 * gdb.python/py-events.c: Likewise.
769 * gdb.python/py-evthreads.c: Likewise.
770 * gdb.python/py-explore.c: Likewise.
771 * gdb.python/py-explore.cc: Likewise.
772 * gdb.python/py-finish-breakpoint.c: Likewise.
773 * gdb.python/py-finish-breakpoint2.cc: Likewise.
774 * gdb.python/py-symbol.c: Likewise.
775 * gdb.threads/execl.c: Likewise.
776 * gdb.threads/execl1.c: Likewise.
778 2013-06-07 Will Newton <will.newton@linaro.org>
780 * gdb.base/long_long.exp: Fix ARM EABI target glob.
782 2013-06-07 Will Newton <will.newton@linaro.org>
784 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
787 2013-06-07 Will Newton <will.newton@linaro.org>
789 * gdb.cp/anon-struct.exp: Conditionalize constructor and
790 destructor prototypes for ARM ABI.
791 * gdb.cp/m-static.exp: Likewise.
793 2013-06-07 Yao Qi <yao@codesourcery.com>
795 * gdb.trace/mi-trace-unavailable.exp: New.
796 * gdb.trace/trace-unavailable.c: New.
798 2013-06-06 Doug Evans <dje@google.com>
800 * gdb.cp/derivation.exp: Make tests have unique names.
802 2013-06-06 Tom Tromey <tromey@redhat.com>
804 * gdb.base/dump.exp (capture_value): Don't put expression into
805 test name if arguments passed in.
806 Rename a couple more tests to make them unique.
808 2013-06-06 Tom Tromey <tromey@redhat.com>
810 * gdb.base/break-always.exp: Explicitly specify test name.
812 2013-06-05 Doug Evans <dje@google.com>
813 Keith Seitz <keiths@redhat.com>
815 * gdb.cp/derivation2.cc: New file.
816 * gdb.cp/derivation.cc (main): Call foo2.
817 * gdb.cp/derivation.exp: Add tests for typedefs in another
818 file, and when there's an active block.
820 2013-06-05 Luis Machado <lgustavo@codesourcery.com>
822 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
823 from targets that use function descriptors in the virtual tables.
824 Handle presence of dot symbols.
826 2013-06-04 Gary Benson <gbenson@redhat.com>
828 * gdb.base/break-probes.exp: New file.
829 * gdb.base/break-probes.c: Likewise.
830 * gdb.base/break-probes-solib.c: Likewise.
831 * gdb.base/info-shared.exp: New file.
832 * gdb.base/info-shared.c: Likewise.
833 * gdb.base/info-shared-solib1.c: Likewise.
834 * gdb.base/info-shared-solib2.c: Likewise.
836 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
837 Gary Benson <gbenson@redhat.com>
839 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
840 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
841 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
842 to be set to "no" to indicate that no ld.so copy should be made.
843 * gdb.base/break-interp.exp (solib_bp): New constant.
844 (reach_1): Use the above instead of "_dl_debug_state".
845 (test_attach): Likewise.
847 * gdb.threads/dlopen-libpthread.exp: New file.
848 * gdb.threads/dlopen-libpthread.c: Likewise.
849 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
850 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
852 2013-05-30 Yao Qi <yao@codesourcery.com>
854 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
855 Add a test that no MI notification is emitted when executing
858 2013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
861 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
862 $mi_gdb_prompt expectation by mi_expect_stop.
863 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
864 (mi info dprintf second time): Replace them by mi_send_resuming_command
867 2013-05-24 Gary Benson <gbenson@redhat.com>
869 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
871 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
873 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
876 2013-05-24 Yao Qi <yao@codesourcery.com>
878 * gdb.trace/tfile.exp: Test inferior and thread.
880 2013-05-24 Yao Qi <yao@codesourcery.com>
881 Pedro Alves <palves@redhat.com>
883 * gdb.base/range-stepping.exp: Skip the rest of tests if the
885 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
886 Return 0 if the test passes, otherwise return 1.
888 2013-05-23 Doug Evans <dje@google.com>
890 * boards/fission-dwp.exp: New file.
892 2013-05-23 Yao Qi <yao@codesourcery.com>
893 Pedro Alves <palves@redhat.com>
895 * gdb.base/range-stepping.c: New file.
896 * gdb.base/range-stepping.exp: New file.
897 * gdb.trace/range-stepping.c: New file.
898 * gdb.trace/range-stepping.exp: New file.
899 * lib/range-stepping-support.exp: New file.
901 2013-05-22 Tom Tromey <tromey@redhat.com>
903 * gdb.cp/class2.cc (main): New local 'aref'.
904 * gdb.cp/class2.exp: Check printing of 'aref'.
906 2013-05-22 Doug Evans <dje@google.com>
908 * gdb.threads/wp-replication.c (main): Insert some code at the start
909 to ensure the breakpoint on main is only hit once. Fix comment.
911 2013-05-21 Keith Seitz <keiths@redhat.com>
912 Pedro Alves <palves@redhat.com>
914 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
916 Add test to flush the remaining input buffer so that this
917 file passes testsuite/12649.
919 2013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
921 * gdb.base/catch-signal-fork.exp: New file.
922 * gdb.base/catch-signal-fork.c: New file.
924 2013-05-21 Sterling Augustine <saugustine@google.com>
926 * boards/remote-stdio-gdbserver.exp: New file.
928 2013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
931 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
934 2013-05-21 Christian Groessler <chris@groessler.org>
936 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
937 since it's not supported in all shells.
939 2013-05-21 Hui Zhu <hui@codesourcery.com>
941 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
942 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
944 2013-05-20 Doug Evans <dje@google.com>
946 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
947 (_handle_DW_TAG): Use it.
948 (cu, tu): Replace parameters is_64, version, addr_size with options.
949 All callers updated. Add Fission support.
950 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
951 * gdb.dwarf2/method-ptr.exp: Ditto.
952 * gdb.dwarf2/nostaticblock.exp: Ditto.
953 * gdb.dwarf2/subrange.exp: Ditto.
954 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
956 2013-05-20 Tom Tromey <tromey@redhat.com>
958 * gdb.gdb/python-selftest.exp: New file.
960 2013-05-20 Doug Evans <dje@google.com>
962 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
963 -fdebug-types-section.
965 2013-05-20 Joel Brobecker <brobecker@adacore.com>
967 * gdb.ada/float_param: New testcase.
969 2013-05-17 Doug Evans <dje@google.com>
971 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
972 Add tests for "maint check-symtabs", "maint expand-symtabs".
974 * gdb.base/maint.exp: Remove testing of individual maint command
977 2013-05-16 Pedro Alves <palves@redhat.com>
979 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
980 comment. Use gdb_test_no_output.
982 2013-05-16 Joel Brobecker <brobecker@adacore.com>
984 * gdb.ada/complete.exp: Add test verifying completion using
987 2013-05-15 Keith Seitz <keiths@redhat.com>
989 * gdb.base/filesym.exp: New completer test.
990 * gdb.base/filesym.c: New file.
992 2013-05-15 Pedro Alves <palves@redhat.com>
994 * gdb.base/fixsection.c: Remove attribution.
995 * gdb.base/watch-read.exp: Ditto.
997 2013-05-13 Tom Tromey <tromey@redhat.com>
999 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
1000 size and change type sizes to 4 bytes.
1002 2013-05-13 Tom Tromey <tromey@redhat.com>
1004 * gdb.base/exprs.exp (test_expr): Add regression test.
1005 * gdb.base/exprs.c (null_t_struct): New global.
1007 2013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
1009 * gdb.base/default.exp: Disable history saving.
1010 * gdb.base/setshow.exp: Likewise.
1012 2013-05-10 Pedro Alves <palves@redhat.com>
1016 * gdb.trace/qtro.c: New file.
1017 * gdb.trace/qtro.exp: New file.
1019 2013-05-10 Phil Muldoon <pmuldoon@redhat.com>
1021 * gdb.python/py-framefilter.py: New File.
1022 * gdb.python/py-framefilter-mi.exp: Ditto.
1023 * gdb.python/py-framefilter.c: Ditto.
1024 * gdb.python/py-framefilter-mi.exp: Ditto.
1025 * gdb.python/py-framefilter-mi.c: Ditto,
1026 * gdb.python/py-framefilter-gdb.py.in: Ditto.
1028 2013-05-08 Tom Tromey <tromey@redhat.com>
1030 * gdb.base/solib-search.exp: Set test name for "set
1031 solib-search-path" test.
1033 2013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
1035 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
1036 (set_a_tracepoint): Set tracepoint before prologue.
1037 (run_trace_experiment): Test setup_tracepoints and 'break end'
1039 (trace_buffer_normal): Remove.
1040 (gdb_trace_circular_tests): Remove. Move tests to...
1041 (top level): ...here. Call 'runto_main' before checking for
1042 trace support. Use commands to check the support for circular
1043 trace buffer and changing of trace buffer size. Add test
1044 to calculate size of single frame. Use this size to
1045 calculate the size of trace buffer. Use 'tfind pc func9'
1046 instead of 'tfind 9'. Use 'with_test_prefix'.
1048 2013-05-07 Tom Tromey <tromey@redhat.com>
1050 * lib/selftest-support.exp: New file.
1051 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1053 (setup_test, find_gdb): Remove.
1054 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1056 (setup_test, find_gdb): Remove.
1057 (test_observer): Don't call setup_test. Remove argument.
1058 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1060 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1062 (setup_test, find_gdb): Remove.
1063 (test_with_self): Don't call setup_test. Remove argument.
1065 2013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1067 * gdb.arch/system-gcore.exp: Remove.
1068 * gdb.arch/gcore.c: Remove.
1069 * gdb.base/gcore.exp: Add "info reg system".
1071 2013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1073 PR breakpoints/15413:
1074 * gdb.base/pending.exp: Add test for completion of the "condition"
1075 command for pending breakpoints.
1076 * gdb.linespec/linespec.ex: Add test for completion of the
1077 "condition" command when dealing with multiple locations.
1079 2013-05-07 Luis Machado <lgustavo@codesourcery.com>
1081 * gdb.threads/wp-replication.c: New file.
1082 * gdb.threads/wp-replication.exp: New file.
1084 2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1086 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1088 2013-05-06 Doug Evans <dje@google.com>
1090 * gdb.base/solib-search-lib1.c: New file.
1091 * gdb.base/solib-search-lib2.c: New file.
1092 * gdb.base/solib-search.c: New file.
1093 * gdb.base/solib-search.h: New file.
1094 * gdb.base/solib-search.exp: New file.
1096 * lib/gdb.exp (gdb_core_cmd): New function.
1097 * gdb.arch/system-gcore.exp: Use it.
1098 * gdb.arch/vsx-regs.exp: Ditto.
1099 * gdb.base/gcore.exp: Ditto.
1100 * gdb.threads/gcore-thread.exp: Ditto.
1102 * gdb.reverse/shr.h: New file.
1103 * gdb.reverse/shr1.c: New file.
1104 * gdb.reverse/shr2.c: #include "shr.h".
1105 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1106 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1107 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1108 Update tests using sleep/printf to use shr2.sl instead.
1109 * gdb.reverse/solib-reverse.exp: Ditto.
1111 2013-05-06 Tom Tromey <tromey@redhat.com>
1113 * gdb.dwarf2/implptrconst.c: New file.
1114 * gdb.dwarf2/implptrconst.exp: New file.
1115 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1116 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1117 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1119 2013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1121 * gdb.base/catch-sig.c (main): Raise SIGINT.
1122 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1124 2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1126 * status-stop.exp (test_tstart_tstart): Check for error
1127 returned by the second 'tstart' command.
1129 2013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1131 * gdb.xml/maint_print_struct.exp: New file.
1132 * gdb.xml/maint_print_struct.xml: New file.
1134 2013-04-25 Tom Tromey <tromey@redhat.com>
1136 * gdb.dwarf2/nostaticblock.exp: New file.
1138 2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1141 * gdb.base/setshow.exp: Add test case.
1143 2013-04-23 Hui Zhu <hui@codesourcery.com>
1146 * gdb.base/dprintf.exp: Add ignore command.
1148 2013-04-23 Hui Zhu <hui@codesourcery.com>
1151 * gdb.base/save-bp.exp: Add test for dprintf.
1153 2013-04-22 Tom Tromey <tromey@redhat.com>
1155 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1158 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1160 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1163 2013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1165 * gdb.arch/arm-bl-branch-dest.c: New file.
1166 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1168 2013-04-19 Vladimir Kargov <kargov@gmail.com>
1169 Pedro Alves <palves@redhat.com>
1171 * gdb.arch/i386-float.S: New file.
1172 * gdb.arch/i386-float.exp: New file.
1174 2013-04-18 Luis Machado <lgustavo@codesourcery.com>
1176 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1179 2013-04-17 Doug Evans <dje@google.com>
1181 * lib/dwarf.exp (Dwarf): New proc "tu".
1182 * gdb.dwarf2/missing-sig-type.exp: New file.
1184 2013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1186 Add option to link testcases with Pthreads library when
1187 using 'prepare_for_testing' in tests.
1189 * lib/gdb.exp (build_executable_from_specs): Use
1190 gdb_compile_pthreads to compile if option "pthreads" is
1193 2013-04-15 Tom Tromey <tromey@redhat.com>
1195 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1197 2013-04-15 Tom Tromey <tromey@redhat.com>
1199 * gdb.base/default.exp: Update for $_exception.
1200 * gdb.cp/exceptprint.cc: New file.
1201 * gdb.cp/exceptprint.exp: New file.
1202 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1204 2013-04-15 Tom Tromey <tromey@redhat.com>
1206 * gdb.cp/typeid.cc: New file.
1207 * gdb.cp/typeid.exp: New file.
1209 2013-04-15 Tom Tromey <tromey@redhat.com>
1211 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1213 2013-04-13 Yao Qi <yao@codesourcery.com>
1215 * gdb.base/completion.exp: Test completion of command
1216 'target ctf' if target ctf is supported.
1218 2013-04-10 Pedro Alves <palves@redhat.com>
1220 * gdb.base/completion.exp: Test "set height", "set listsize" and
1221 "set trace-buffer-size" completion.
1222 * gdb.base/setshow.exp: Test "set height unlimited".
1223 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1226 2013-04-10 Yao Qi <yao@codesourcery.com>
1228 * gdb.trace/actions.exp: Save trace data to CTF.
1229 Change to ctf target if GDB supports, read CTF data in ctf
1230 target, and check the actions of tracepoints.
1231 * gdb.trace/while-stepping.exp: Likewise.
1232 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1233 format and read CTF trace file if GDB supports.
1234 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1235 target is supported, change to ctf target, read trace data and
1236 check output of command "tstatus".
1237 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1238 read CTF data by target ctf and call check_tsv.
1240 2013-04-10 Yao Qi <yao@codesourcery.com>
1242 * gdb.trace/actions.exp (check_tracepoint): New.
1243 (top level): Start the tracing and check the actions of
1244 tracepoints. Save trace data to tfile format. Restart GDB
1245 and read trace file in tfile target. Check the actions of
1247 * gdb.trace/while-stepping.exp: Likewise.
1249 2013-04-10 Yao Qi <yao@codesourcery.com>
1251 * gdb.trace/report.exp: Use standard_output_file for saved
1254 2013-04-10 Hui Zhu <hui@codesourcery.com>
1256 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1257 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1258 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1260 2013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1262 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1265 2013-04-08 Pedro Alves <palves@redhat.com>
1267 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1270 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1272 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1273 for breakpoint location.
1275 2013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1277 * gdb.linespec/linespec.exp: Make dir/file:line tests
1278 conditional for non-remote hosts only.
1280 2013-04-04 Stan Shebs <stan@codesourcery.com>
1281 Pedro Alves <palves@redhat.com>
1283 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1284 * gdb.trace/actions-changed.c: New file.
1285 * gdb.trace/actions-changed.exp: New file.
1286 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1287 (gdb_trace_setactions_command): ... this. Add "actions_command"
1288 parameter, and handle it.
1289 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1291 2013-04-04 Yao Qi <yao@codesourcery.com>
1293 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1296 2013-04-03 Yao Qi <yao@codesourcery.com>
1298 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1300 (test_tfind_tfile): Likewise.
1302 2013-04-03 Yao Qi <yao@codesourcery.com>
1304 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1305 "tfile-basic.tf" instead of "basic.tf".
1306 (write_error_trace_file): Pass argument "tfile-error.tf"
1307 instead of "error.tf".
1308 * gdb.trace/tfile.exp: Update tfile names to
1309 "tfile-basic.tf" and "tfile-error.tf".
1311 2013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1313 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1314 empty directory in file for breakpoint hit.
1316 2013-03-29 Yao Qi <yao@codesourcery.com>
1318 * gdb.base/completion.exp: Test completion of commands
1319 "target core", "target tfile" and "target exec".
1320 * gdb.trace/tfile.exp: Test completion of command
1323 2013-03-28 Joel Brobecker <brobecker@adacore.com>
1325 * gdb.ada/win_fu_syms: New testcase.
1327 2013-03-28 Doug Evans <dje@google.com>
1329 * gdb.base/maint.exp (maint print statistics): Update expected output.
1331 2013-03-28 Pedro Alves <palves@redhat.com>
1335 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1336 mean unlimited instead of $arg < 0.
1337 (test_listsize): Remove "listsize of 0 suppresses output" test.
1338 Test that "set listsize 0" ends up with an unlimited listsize.
1340 2013-03-28 Pedro Alves <palves@redhat.com>
1342 * gdb.base/list.exp (last_line): New global.
1343 (last_line_re): New global.
1344 (test_listsize, test_list_function, test_list_forward)
1345 (test_repeat_list_command, test_list_range)
1346 (test_list_filename_and_function): Use them.
1347 * gdb.base/list0.c: Comment the last line of the file with "last
1350 2013-03-28 Pedro Alves <palves@redhat.com>
1352 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1353 list the whole file.
1355 2013-03-28 Pedro Alves <palves@redhat.com>
1357 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1360 2013-03-26 Keith Seitz <keiths@redhat.com>
1362 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1365 2013-03-26 Pedro Alves <palves@redhat.com>
1367 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1368 until after GDB has run.
1370 2013-03-26 Yao Qi <yao@codesourcery.com>
1372 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1373 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1375 2013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1377 * gdb.btrace/enable.exp: Add regression test.
1379 2013-03-25 Tom Tromey <tromey@redhat.com>
1381 * gdb.cp/m-static.exp: Add destructor-printing tests.
1383 2013-03-25 Tom Tromey <tromey@redhat.com>
1385 * gdb.cp/m-static.exp: Add constructor ptype tests.
1386 * gdb.cp/m-static.cc (single_constructor): New class.
1387 (main): Make instance of single_constructor.
1389 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1390 Pedro Alves <palves@redhat.com>
1392 * gdb.server/server-kill.c: New file.
1393 * gdb.server/server-kill.exp: New file.
1395 2013-03-21 Pedro Alves <palves@redhat.com>
1397 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1398 Expect $gdb_prompt in gdb_test_multiple.
1400 2013-03-21 Doug Evans <dje@google.com>
1402 * gdb.base/maint.exp: Update tests for per-command stats.
1404 2013-03-21 Tom Tromey <tromey@redhat.com>
1406 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1407 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1409 2013-03-20 Pedro Alves <palves@redhat.com>
1413 * gdb.base/remote.exp: Test
1414 "set remote hardware-watchpoint-limit -1",
1415 "set remote hardware-breakpoint-limit -1",
1416 "set remote hardware-watchpoint-limit 2147483647" and
1417 "set remote hardware-breakpoint-limit 2147483647".
1419 2013-03-20 Pedro Alves <palves@redhat.com>
1420 Yao Qi <yao@codesourcery.com>
1422 * gdb.trace/tfile.c: Add comments.
1423 (nonconstglob): New global.
1424 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1425 global that is not covered by the trace frame. Test
1428 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1430 * gdb.base/valgrind-infcall.exp
1431 (continue #$continue_count) <remote connection closed>
1432 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1435 2013-03-15 Tom Tromey <tromey@redhat.com>
1437 * gdb.cp/overload.cc (intintfunc): New.
1438 * gdb.cp/overload.exp: Add regression test.
1440 2013-03-15 Yao Qi <yao@codesourcery.com>
1442 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1443 using with_test_prefix.
1444 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1445 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1446 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1447 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1448 * gdb.base/break-interp.exp (test_core): Likewise.
1449 (test_attach_gdb): Likewise.
1450 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1451 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1453 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1454 * gdb.base/jit.exp (one_jit_test): Likewise.
1455 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1456 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1457 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1458 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1460 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1462 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1463 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1464 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1465 (tracepoint_change_loc_2): Likewise.
1466 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1468 (disconnected_tfind): Likewise.
1469 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1471 (test_tfind_remote): Likewise.
1472 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1474 (test_pending_resolved): Likewise.
1475 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1477 (test_upload_tsv): Likewise.
1478 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1480 (pending_tracepoint_works): Likewise.
1481 * gdb.trace/report.exp (use_collected_data): Likewise.
1482 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1484 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1485 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1486 (strace_trace_on_same_addr): Likewise.
1487 (strace_trace_on_diff_addr): Likewise.
1488 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1489 (gdb_collect_locals_test): Likewise.
1490 (gdb_unavailable_registers_test): Likewise.
1491 (gdb_collect_globals_test): Likewise.
1493 2013-03-15 Yao Qi <yao@codesourcery.com>
1495 * gdb.base/condbreak.exp: Add semicolon back which was removed
1496 by my previous commit.
1498 2013-03-14 Yao Qi <yao@codesourcery.com>
1500 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1502 (gdb_target_monitor, gdb_load): Likewise.
1503 * config/sid.exp (gdb_load): Likewise.
1504 * config/slite.exp (gdb_load): Likewise.
1505 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1506 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1507 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1508 (single_step_until): Likewise.
1509 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1510 * gdb.arch/system-gcore.exp: Likewise.
1511 * gdb.base/bigcore.exp (extract_heap): Likewise.
1512 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1513 * gdb.base/call-ar-st.exp: Likewise.
1514 * gdb.base/call-rt-st.exp: Likewise.
1515 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1516 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1517 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1518 * gdb.base/corefile.exp: Likewise.
1519 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1520 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1521 * gdb.base/fixsection.exp: Likewise.
1522 * gdb.base/funcargs.exp: Likewise.
1523 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1524 * gdb.base/gcore-relro.exp: Likewise.
1525 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1526 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1527 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1528 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1529 * gdb.base/list.exp: Likewise.
1530 (set_listsize): Likewise.
1531 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1532 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1533 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1534 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1535 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1536 * gdb.base/setvar.exp: Likewise.
1537 (test_set): Likewise.
1538 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1539 * gdb.base/solib-overlap.exp: Likewise.
1540 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1541 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1542 * gdb.base/watchpoint.exp (initialize): Likewise.
1543 (test_simple_watchpoint): Likewise.
1544 (test_disabling_watchpoints): Likewise.
1545 (test_watchpoint_triggered_in_syscall): Likewise.
1546 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1547 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1548 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1549 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1550 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1551 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1552 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1553 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1554 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1555 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1556 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1557 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1558 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1559 * gdb.mi/gdb792.exp: Likewise.
1560 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1561 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1562 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1563 * gdb.threads/gcore-thread.exp: Likewise.
1564 (load_core): Likewise.
1565 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1566 (test_startup, check_control_c): Likewise.
1567 * gdb.threads/sigstep-threads.exp: Likewise.
1568 * gdb.threads/thread_check.exp: Likewise.
1569 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1570 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1571 (set_a_tracepoint, trace_buffer_normal): Likewise.
1572 (gdb_trace_circular_tests): Likewise.
1573 * gdb.trace/collection.exp: Likewise.
1574 * gdb.trace/disconnected-tracing.exp: Likewise.
1575 * gdb.trace/infotrace.exp: Likewise.
1576 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1577 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1578 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1579 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1580 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1581 * gdb.trace/stap-trace.exp: Likewise.
1582 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1583 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1584 * gdb.trace/trace-buffer-size.exp: Likewise.
1585 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1586 * gdb.trace/unavailable.exp: Likewise.
1587 * gdb.trace/while-dyn.exp: Likewise.
1588 * lib/fortran.exp (set_lang_fortran): Likewise.
1589 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1590 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1591 (default_gdb_start, get_compiler_info): Likewise.
1592 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1593 (get_debug_format, setup_xfail_format): Likewise.
1594 (rerun_to_main, gdb_skip_float_test): Likewise.
1595 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1596 * lib/java.exp (set_lang_java): Likewise.
1597 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1598 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1599 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1600 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1601 * lib/objc.exp (set_lang_objc): Likewise.
1602 * lib/pascal.exp (set_lang_pascal): Likewise.
1603 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1604 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1605 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1607 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1611 * gdb.cp/m-static.cc (keepalive_int): New function.
1612 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1613 * gdb.cp/m-static.exp: New test for `sintvar'.
1615 2013-03-14 Yao Qi <yao@codesourcery.com>
1617 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1618 of 'tstatus' into tstatus_output.
1619 (top level): Save the trace data to tfile. Read trace file in
1620 tfile target. Check the trace status.
1622 2013-03-13 Yao Qi <yao@codesourcery.com>
1624 * gdb.trace/tsv.exp (check_tsv): New.
1625 (top level): Save a tfile on current trace session. Call
1626 check_tsv on live target. Load the tfile with target tfile
1627 and call check_tsv again.
1629 2013-03-13 Yao Qi <yao@codesourcery.com>
1631 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1632 Replace some "gdb_test" with "gdb_test_no_output".
1634 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1636 * gdb.ada/expr_delims.exp: New file.
1637 * gdb.ada/expr_delims/foo.adb: New file.
1638 * gdb.ada/expr_delims/pck.ads: New file.
1639 * gdb.ada/expr_delims/pck.adb: New file.
1641 2013-03-11 Keith Seitz <keiths@redhat.com>
1643 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1644 both condition and thread. Then delete the watchpoint.
1646 2013-03-11 Christian Himpel <christian.himpel@intel.com>
1648 * Makefile.in: Add btrace testsuite.
1649 * configure: Regenerated.
1650 * configure.ac: Add btrace testsuite.
1651 * gdb.btrace/Makefile.in: New file.
1652 * gdb.btrace/enable.c: New file.
1653 * gdb.btrace/enable.exp: New file.
1654 * gdb.btrace/function_call_history.c: New file.
1655 * gdb.btrace/function_call_history.exp: New file.
1656 * gdb.btrace/instruction_history.c: New file.
1657 * gdb.btrace/instruction_history.exp: New file.
1658 * gdb.btrace/instruction_history.S: New file.
1659 * lib/gdb.exp: Add btrace skip proc.
1661 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1663 Fix entry-values if the callee called a noreturn function.
1664 * gdb.arch/amd64-tailcall-noret.S: New file.
1665 * gdb.arch/amd64-tailcall-noret.c: New file.
1666 * gdb.arch/amd64-tailcall-noret.exp: New file.
1668 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1670 Fix entry-values in C++ across CUs.
1671 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1672 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1673 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1674 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1675 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1677 2013-03-08 Stan Shebs <stan@codesourcery.com>
1678 Hafiz Abid Qadeer <abidh@codesourcery.com>
1681 * gdb.trace/trace-buffer-size.exp: New file.
1682 * gdb.trace/trace-buffer-size.c: New file.
1684 2013-03-06 Pedro Alves <palves@redhat.com>
1686 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1687 doesn't support the tested optional feature, call "unsupported"
1688 with the same test message as the "pass" case, instead of calling
1689 "pass" with a different message. Use the same text for the "fail"
1692 2013-03-06 Yao Qi <yao@codesourcery.com>
1694 * gdb.trace/tstatus.exp: Remove the invocation of
1695 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1696 (test_tracepoints): Don't set fast tracepoint.
1697 (top level): Don't check agent library is loaded or not.
1699 2013-03-06 Yao Qi <yao@codesourcery.com>
1701 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1702 parentheses by "\\".
1704 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1706 * gdb.linespec/base/one/thefile.cc (twodup): New.
1708 * gdb.linespec/base/two/thefile.cc (dupname): New.
1710 * gdb.linespec/break-ask.exp: New file.
1711 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1713 2013-02-28 Yao Qi <yao@codesourcery.com>
1715 * gdb.trace/report.exp: Move some code to ...
1716 (use_collected_data): New.
1717 (top level): Call use_collected_data once on the live target.
1718 Save at file of the current trace session, load it with target
1719 tfile, and call use_collected_data again.
1721 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1723 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1725 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1727 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1728 Add final kill of ${valgrind_pid}.
1730 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1732 * gdb.python/py-arch.c: New test case
1733 * gdb.python/py-arch.exp: New tests to test
1734 gdb.Architecture.disassemble
1735 * gdb.python/Makefile.in: Add py-arch to the list of
1738 2013-02-18 Tom Tromey <tromey@redhat.com>
1740 * gdb.dwarf2/subrange.exp: New file.
1742 2013-02-15 Pedro Alves <pedro@codesourcery.com>
1743 Hafiz Abid Qadeer <abidh@codesourcery.com>
1745 * gdb.trace/tfile.exp: Add test for -trace-status command.
1747 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1752 2013-02-14 Pedro Alves <palves@redhat.com>
1754 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1756 2013-02-14 Pedro Alves <pedro@codesourcery.com>
1757 Hafiz Abid Qadeer <abidh@codesourcery.com>
1759 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1761 2013-02-12 Tom Tromey <tromey@redhat.com>
1763 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1764 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1766 2013-02-12 Pedro Alves <palves@redhat.com>
1768 * gdb.base/catch-signal.c: Update copyright years.
1769 * gdb.base/catch-signal.exp: Update copyright years.
1770 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1771 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1772 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1773 * gdb.dwarf2/dw2-error.S: Update copyright years.
1774 * gdb.dwarf2/dw2-error.c: Update copyright years.
1775 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1776 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1777 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1779 2013-02-12 Pedro Alves <palves@redhat.com>
1781 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1783 * gdb.base/sigaltstack.exp: Ditto.
1784 * gdb.base/siginfo.exp: Ditto.
1785 * gdb.base/sizeof.exp: Ditto.
1787 2013-02-12 Pedro Alves <palves@redhat.com>
1789 * gdb.mi/mi-basics.exp: Tweak intro comment.
1790 * gdb.mi/mi-break.exp: Tweak intro comment.
1791 * gdb.mi/mi-console.exp: Tweak intro comment.
1792 * gdb.mi/mi-file.exp: Tweak intro comment.
1793 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1794 * gdb.mi/mi-return.exp: Tweak intro comment.
1795 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1796 * gdb.mi/mi-until.exp: Tweak intro comment.
1797 * gdb.mi/mi-watch.exp: Tweak intro comment.
1799 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1801 * gdb.server/no-thread-db.exp: New file.
1802 * gdb.server/no-thread-db.c: New file.
1803 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1805 2013-02-11 Doug Evans <dje@google.com>
1807 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1810 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1812 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1813 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1815 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1817 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1819 2013-02-06 Yao Qi <yao@codesourcery.com>
1821 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1823 (test_create_delete_modify_tsv): ... here. New test on modifying
1824 the initial value of a tsv.
1826 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1828 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1829 (cd .../rdir): ... here.
1831 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1833 * gdb.linespec/base/one/header.h: New file.
1834 * gdb.linespec/base/two/header.h: New file.
1835 * gdb.linespec/macro-relative.c: New file.
1836 * gdb.linespec/macro-relative.exp: New file.
1838 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1840 * gdb.base/fullpath-expand-func.c: New file.
1841 * gdb.base/fullpath-expand.c: New file.
1842 * gdb.base/fullpath-expand.exp: New file.
1843 * gdb.base/realname-expand-real.c: New file.
1844 * gdb.base/realname-expand.c: New file.
1845 * gdb.base/realname-expand.exp: New file.
1847 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1849 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1850 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1852 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1854 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1855 (compare_filenames_for_search does not match)
1856 (compare_filenames_for_search does match): New tests.
1858 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1862 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1864 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1866 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1868 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1869 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1870 ${binfile}.mini_debuginfo-debuglink and
1871 ${binfile}.mini_debuginfo-debuglink.xz.
1873 2013-02-01 Tom Tromey <tromey@redhat.com>
1875 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1878 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1879 Tom Tromey <tromey@redhat.com>
1881 * gdb.dwarf2/method-ptr.exp: Link with c++.
1882 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1884 2013-01-31 Tom Tromey <tromey@redhat.com>
1886 * gdb.base/jit.exp (compile_jit_test): New proc.
1889 2013-01-31 Tom Tromey <tromey@redhat.com>
1891 * gdb.dwarf2/method-ptr.cc: New file.
1892 * gdb.dwarf2/method-ptr.exp: New file.
1894 2013-01-31 Tom Tromey <tromey@redhat.com>
1896 * lib/dwarf.exp (namespace Dwarf): New.
1898 2013-01-29 Tom Tromey <tromey@redhat.com>
1900 * gdb.dwarf2/fission-reread.exp: Add unload test.
1902 2013-01-28 Doug Evans <dje@google.com>
1904 * gdb.dwarf2/fission-loclists.exp: New file.
1905 * gdb.dwarf2/fission-loclists.S: New file.
1907 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1910 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1911 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1912 and prepare_for_testing.
1913 * gdb.base/store.exp: Likewise.
1915 2013-01-25 Tom Tromey <tromey@redhat.com>
1917 * gdb.python/py-explore.exp: Expect the gdb prompt.
1919 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1921 * gdb.base/gnu_vector.c: New variable for use in tests.
1922 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1923 changes in scalar to vector casting and widening.
1924 * gdb.python/py-type.c: New variables for use in tests.
1925 * gdb.python/py-type.exp: Update vector related tests to reflect
1926 changes in scalar to vector casting and widening.
1928 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1930 * gdb.base/prologue-include.c: New file.
1931 * gdb.base/prologue-include.exp: New file.
1932 * gdb.base/prologue-include.h: New file.
1934 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1937 * gdb.mi/mi-var-block.exp: Make test messages unique.
1939 2013-01-23 Tom Tromey <tromey@redhat.com>
1941 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1943 2013-01-23 Tom Tromey <tromey@redhat.com>
1945 * gdb.cp/converts.cc (main): Initialize 'a'.
1947 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1949 * testsuite/gdb.python/frame.exp: Add a test for
1950 gdb.Frame.architecture() method.
1952 2013-01-22 Pedro Alves <palves@redhat.com>
1954 * gdb.base/annota1.exp (signal sent): No longer expect
1955 breakpoints-invalid.
1956 * gdb.cp/annota2.exp (continue until exit)
1957 (watch triggered on a.x): Ditto.
1959 2013-01-22 Pedro Alves <palves@redhat.com>
1961 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1962 Adjust tests to breakpoints-invalid changes.
1963 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1965 Adjust tests to breakpoints-invalid changes.
1967 2013-01-22 Pedro Alves <palves@redhat.com>
1969 * gdb.base/annota1.exp (annotate ignore count change): Add
1970 expected output for failure case.
1972 2013-01-22 Tom Tromey <tromey@redhat.com>
1974 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1977 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1979 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
1980 * gdb.mi/mi-catch-load.exp: Ditto.
1981 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1982 Also handle 'thread' field.
1983 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1984 * gdb.mi/mi-watch.exp: Ditto.
1985 * lib/mi-support.exp: Ditto.
1987 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1989 * gdb.python/py-explore.exp: Improve a test
1991 2013-01-18  David Blaikie  <dblaikie@gmail.com>
1993 * gdb.base/label.c (main): Correct the type of the second
1996 2013-01-18 Tom Tromey <tromey@redhat.com>
1998 * gdb.dwarf2/trace-crash.s: New file.
1999 * gdb.dwarf2/trace-crash.exp: New file.
2001 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
2004 * gdb.base/checkpoint.exp: Update test messages to make them
2007 2013-01-18 Yao Qi <yao@codesourcery.com>
2009 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
2010 output of 'info tracepoints'.
2011 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
2013 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
2014 * gdb.trace/disconnected-tracing.c (struct foo): New.
2016 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 * gdb.dwarf2/dw2-dos-drive.S: New file.
2019 * gdb.dwarf2/dw2-dos-drive.exp: New file.
2021 2013-01-17 Doug Evans <dje@google.com>
2023 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
2026 * boards/cc-with-tweaks.exp: New file.
2028 2013-01-17 Tom Tromey <tromey@redhat.com>
2030 * gdb.base/completion.exp: Add "set cp-abi" completion test.
2032 2013-01-17 Pedro Alves <palves@redhat.com>
2034 Merge dg-extract-results.sh from upstream (svn 195224).
2036 2013-01-15 David Blaikie <dblaikie@gmail.com>
2037 * dg-extract-results.sh: Fix order of summary counts.
2039 2013-01-15 David Blaikie <dblaikie@gmail.com>
2040 * dg-extract-results.sh: Constrain the start-of-log pattern.
2042 2013-01-15 David Blaikie <dblaikie@gmail.com>
2043 * dg-extract-results.sh: Handle KPASSes.
2045 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2046 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2049 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2051 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2053 * gdb.base/jithost.c: New file.
2054 * gdb.base/jithost.h: New file.
2055 * gdb.base/jitreader.c : New file.
2056 * gdb.base/jit-protocol.h: New file.
2058 2013-01-16 Tom Tromey <tromey@redhat.com>
2060 * gdb.base/catch-signal.c: New file.
2061 * gdb.base/catch-signal.exp: New file.
2063 2013-01-16 Tom Tromey <tromey@redhat.com>
2065 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2067 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2069 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2071 2013-01-14 Tom Tromey <tromey@redhat.com>
2073 * gdb.base/completion.exp: Add "set gnutarget" test.
2075 2013-01-14 Tom Tromey <tromey@redhat.com>
2077 * gdb.dwarf2/dw2-restrict.S: New file.
2078 * gdb.dwarf2/dw2-restrict.c: New file.
2079 * gdb.dwarf2/dw2-restrict.exp: New file.
2081 2013-01-14 Tom Tromey <tromey@redhat.com>
2083 * gdb.dwarf2/dw2-error.exp: New file.
2084 * gdb.dwarf2/dw2-error.c: New file.
2085 * gdb.dwarf2/dw2-error.S: New file.
2087 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2089 * gdb.cp/parse-lang.cc: New file.
2090 * gdb.cp/parse-lang.exp: New file.
2092 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2094 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2095 (set substitute-path): New test.
2096 (fullname present): Remove content.
2097 (substituted fullname): New test.
2099 2013-01-13 Joel Brobecker <brobecker@adacore.com>
2101 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2102 check. Move $gdb_py_is_py24 value check right after.
2104 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2106 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2109 2013-01-11 Yao Qi <yao@codesourcery.com>
2111 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2113 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2114 Check the fields in "=breakpoint-created" for dprintf.
2116 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2118 * gdb.mi/mi-fullname-deleted.exp: New file.
2120 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2122 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2124 (info skip with pending file): Remove.
2125 (ignoring function in solib, info skip for function multiply): Update
2126 the expected output.
2127 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2128 (info skip (delete 1), info skip after disabling all)
2129 (info skip after enabling all, info skip after disabling 4 2-3)
2130 (info skip after enabling 2-3, info skip 2-3)
2131 (info skip after deleting 2 3): Update the expected output.
2132 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2133 statement to its initialization and return.
2134 * gdb.linespec/skip-two.exp: New file.
2136 2012-12-19 Doug Evans <dje@google.com>
2138 * gdb.base/maint.exp: Handle testing with .gdb_index.
2140 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2142 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2145 2012-12-19 Joel Brobecker <brobecker@adacore.com>
2147 * dg-extract-results.sh: Update contact info in copyright notice.
2148 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2149 GPL v3 or later. Update contact info.
2150 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2151 gdb.threads/watchpoint-fork-mt.c,
2152 gdb.threads/watchpoint-fork-parent.c,
2153 gdb.threads/watchpoint-fork-st.c,
2154 gdb.threads/watchpoint-fork.h: Likewise.
2156 2012-12-15 Yao Qi <yao@codesourcery.com>
2158 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2159 'installed' field in '=breakpoint-modified'.
2160 (test_reconnect): Check 'installed' field in
2161 '=breakpoint-modified' and '=breakpoint-created'.
2163 * gdb.trace/actions.exp: Update test for 'installed' field.
2164 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2165 (tracepoint_change_loc_2): Likewise.
2166 Check 'info tracepoint' display nothing else.
2167 * gdb.trace/deltrace.exp: Likewise.
2168 * gdb.trace/infotrace.exp: Likewise.
2169 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2171 * gdb.trace/passcount.exp: Likewise.
2172 * gdb.trace/tracecmd.exp: Likewise.
2173 * gdb.trace/while-stepping.exp: Likewise.
2175 2012-12-14 Tom Tromey <tromey@redhat.com>
2177 * gdb.cp/member-name.exp: New file.
2178 * gdb.cp/member-name.cc: New file.
2180 2012-12-14 Tom Tromey <tromey@redhat.com>
2182 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2184 2012-12-14 Doug Evans <dje@google.com>
2186 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2187 DW_OP_GNU_implicit_pointer is section-relative.
2189 2012-12-14 Tom Tromey <tromey@redhat.com>
2191 * gdb.base/info-proc.exp: Add core file tests.
2193 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2195 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
2197 2012-12-13 Doug Evans <dje@google.com>
2199 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2200 * gdb.multi/multi-arch.exp: Ditto.
2202 2012-12-12 Keven Boell <keven.boell@intel.com>
2204 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2205 catch load test library source file.
2206 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2207 load test source file.
2208 * gdb.mi/mi-catch-load.exp: New. Test file for
2209 basic MI -catch-load and -catch-unload tests.
2211 2012-12-11 Paul Koning <paul_koning@dell.com>
2213 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2215 (_iterator_except): New function.
2216 (ArrayPrinter): Use _iterator function instead of local _iterator
2217 class for Python 3 compatibility.
2218 (NoStringContainerPrinter): Use _iterator_except instead of
2220 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2221 execfile for Python 3 compatibility.
2222 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2223 format in error_prompt test.
2225 2012-12-10 Paul Koning <paul_koning@dell.com>
2227 * gdb.base/charset.exp: Change print syntax for Python 3
2229 * gdb.python/py-block.exp: Ditto.
2230 * gdb.python/py-breakpoint.exp: Ditto.
2231 * gdb.python/py-cmd.exp: Ditto.
2232 * gdb.python/py-events.py: Ditto.
2233 * gdb.python/py-finish-breakpoint.py: Ditto.
2234 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2235 * gdb.python/py-finish-breakpoint2.py: Ditto.
2236 * gdb.python/py-frame-inline.exp: Ditto.
2237 * gdb.python/py-frame.exp: Ditto.
2238 * gdb.python/py-infthread.exp: Ditto.
2239 * gdb.python/py-objfile.exp: Ditto.
2240 * gdb.python/py-parameter.exp: Ditto.
2241 * gdb.python/py-progspace.exp: Ditto.
2242 * gdb.python/py-prompt.exp: Ditto.
2243 * gdb.python/py-symbol.exp: Ditto.
2244 * gdb.python/py-symtab.exp: Ditto.
2245 * gdb.python/py-template.exp: Ditto.
2246 * gdb.python/py-value-cc.exp: Ditto.
2247 * gdb.python/python.exp: Ditto.
2248 * gdb.python/source2.py: Ditto.
2249 * gdb.python/lib-types.exp: Change print syntax for Python 3
2251 Use sorted() function rather than sort() method.
2252 Accept either int or long values for enum values.
2253 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2254 execfile for Python 3 compatibility.
2255 * gdb.python/py-evsignal.exp: Ditto.
2256 * gdb.python/py-evthreads.exp: Ditto.
2257 * gdb.python/py-mi.exp: Ditto.
2258 * gdb.python/py-pp-maint.exp: Ditto.
2259 * gdb.python/py-prettyprint.exp: Ditto.
2260 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
2261 Python 3 compatibility.
2262 Skip tests for Python 2.4.
2263 * gdb.python/py-inferior.exp: Change print syntax for
2264 Python 3 compatibility.
2265 Use byte string rather than character string in memory write test
2267 * gdb.python/py-pp-maint.py: Change class declarations to "new
2269 * gdb.python/py-prettyprint.py: Change iterator class to generator
2270 function for Python 3 compatibility.
2271 Make all classes "new style".
2272 Fix indentation issue and stray semicolon.
2273 * gdb.python/py-shared.expChange print syntax for Python 3
2275 Define "long" if Python 3.
2276 * gdb.python/py-type.exp: Change print syntax for Python 3
2278 Accept either int or long values for enum values.
2279 * gdb.python/py-value.exp: Change print syntax for Python 3
2281 Skip "long" and "unicode" tests if Python 3.
2282 Accept either "type" or "class" in type checks.
2283 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2284 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2286 2012-12-10 Tom Tromey <tromey@redhat.com>
2288 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2289 (test): Add "two_cu" argument.
2290 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2291 for types; allow two CUs.
2293 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2295 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2296 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2298 2012-12-08 Yao Qi <yao@codesourcery.com>
2299 Pedro Alves <palves@redhat.com>
2301 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2302 '=breakpoint-created' when GDB merges the tracepoints of both
2305 2012-12-07 Tom Tromey <tromey@redhat.com>
2307 * gdb.base/break1.c (enum some_enum, union some_union): New.
2308 (some_enum_global, some_union_global, some_value): New globals.
2309 * gdb.base/completion.exp: Add tag completion tests.
2311 2012-12-07 Tom Tromey <tromey@redhat.com>
2313 * gdb.base/completion.exp: Add tests for ptype and whatis
2316 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2318 * gdb.base/stale-infcall.exp: Fix copyright line.
2320 2012-12-07 Joel Brobecker <brobecker@adacore.com>
2322 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2324 2012-12-06 Pedro Alves <palves@redhat.com>
2325 Tom Tromey <tromey@redhat.com>
2327 * gdb.base/exprs.exp: Add tests for cast to void.
2329 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2331 * gdb.python/py-mi.exp: Correct expected results for attribute
2332 "dynamic" returned by -var-update.
2333 Add test case for correct handling of "diplayhint" for children
2335 * gdb.python/py-prettyprint.c (set_itme): New function.
2336 (bug_14741) New function.
2337 (main) Add call to bug_14741().
2338 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2340 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2342 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2343 ${binfile}.funcsyms list.
2345 2012-12-04 Yao Qi <yao@codesourcery.com>
2348 * gdb.trace/actions.exp: Make test messages unique.
2350 2012-11-29 Tom Tromey <tromey@redhat.com>
2352 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2354 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2356 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2357 * gdb.opencl/datatypes.exp: Likewise.
2358 * gdb.opencl/operators.exp: Likewise.
2359 * gdb.opencl/vec_comps.exp: Likewise.
2361 2012-11-29 Jerome Guitton <guitton@adacore.com>
2363 * gdb.ada/iwide: New testcase.
2365 2012-11-29 Jerome Guitton <guitton@adacore.com>
2367 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2370 2012-11-29 Jerome Guitton <guitton@adacore.com>
2372 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2373 form {VARIANT_TYPE}ADDRESS.
2375 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2377 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2378 (func): New function.
2379 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2380 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2381 pointers to members with pointer-to-function type.
2383 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2384 Tom Tromey <tromey@redhat.com>
2386 * gdb.base/gnu-debugdata.exp: New file.
2387 * gdb.base/gnu-debugdata.c: New file.
2388 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2389 (gdb_unload): Return 0 on success.
2391 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2393 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2395 2012-11-26 Joel Brobecker <brobecker@adacore.com>
2397 * gdb.base/empty_exe.exp: New testcase.
2399 2012-11-20 Mike Frysinger <vapier@gentoo.org>
2401 * gdb.base/completion.exp: Add test for help aliases completion.
2403 2012-11-20 Yao Qi <yao@codesourcery.com>
2405 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2406 Don't test 'maint set show-debug-regs'.
2407 Use command 'set remotecache' instead of
2408 'set circular-trace-buffer'.
2410 2012-11-16 Keith Seitz <keiths@redhat.com>
2413 * gdb.cp/baseenum.cc: New file.
2414 * gdb.cp/baseenum.exp: New file.
2415 * gdb.cp/derivation.cc (A): Add copyright.
2417 (B): Use A::value_type instead of int. Change all references.
2418 (D): Use value_type instead of int. Change all references.
2423 (N, Base, Derived): New namespace and classes.
2424 (main): Add instances of Z and ZZ.
2425 Make sure all symbols from N are kept.
2426 * gdb.cp/derivation.exp: Update typedef changes in tests.
2427 Add tests for class typedefs both before and after starting
2429 Add tests for searching for a typedef while stopped in a
2432 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2434 * gdb.mi/mi-var-create-rtti.c: New file.
2435 * gdb.mi/mi-var-create-rtti.exp: New file.
2437 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
2439 * gdb.base/structs3.exp: Run to main before doing any tests.
2441 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
2443 * gdb.python/py-type.exp: Uniquify test names.
2445 2012-11-14 Yao Qi <yao@codesourcery.com>
2447 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2448 (thread_function) [DEBUG]: Call 'printf'.
2449 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2450 command line if 'DEBUG=1' is passed to test.
2451 Remove a pattern to match inferior's output.
2453 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2455 * gdb.mi/mi-fill-memory.exp: New test.
2457 2012-11-12 Tom Tromey <tromey@redhat.com>
2459 * gdb.base/completion.exp: Update for "info type-printers".
2460 * gdb.python/py-typeprint.cc: New file.
2461 * gdb.python/py-typeprint.exp: New file.
2462 * gdb.python/py-typeprint.py: New file.
2464 2012-11-12 Tom Tromey <tromey@redhat.com>
2466 * gdb.base/call-sc.exp: Use "ptype/r".
2467 * gdb.base/volatile.exp: Don't expect "int".
2468 * gdb.cp/ptype-flags.cc: New file.
2469 * gdb.cp/ptype-flags.exp: New file.
2470 * gdb.cp/templates.exp: Use ptype/r.
2471 (test_ptype_of_templates, test_template_typedef): Likewise.
2472 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2473 argument. Handle template names and template parameters.
2474 * gdb.mi/mi-var-cmd.exp: Accept "long".
2475 * gdb.mi/mi-var-child.exp: Accept "long".
2476 * gdb.mi/mi-var-display.exp: Accept "long".
2477 * gdb.mi/mi2-var-child.exp: Accept "long".
2479 2012-11-12 Tom Tromey <tromey@redhat.com>
2481 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2482 "ptype" from calls to cp_test_ptype_class.
2483 (test_enums): Likewise.
2484 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2485 cp_test_ptype_class.
2486 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2487 calls to cp_test_ptype_class.
2488 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2489 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2490 from calls to cp_test_ptype_class.
2491 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2492 command here. Change "in_command" argument to "in_exp".
2494 2012-11-10 Keith Seitz <keiths@redhat.com>
2497 * gdb.base/printcmds.c: Add invalid_XXX globals
2498 for repeated byte tests.
2499 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2500 * gdb.base/wchar.c (main): Add and construct a wchar_t
2501 array with repeated characters.
2502 * gdb.base/wchar.exp: Add repeated character tests.
2504 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
2506 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2509 2012-11-09 Pedro Alves <palves@redhat.com>
2513 * gdb.multi/multi-arch-exec.c: New file.
2514 * gdb.multi/multi-arch-exec.exp: New file.
2516 2012-11-09 Yao Qi <yao@codesourcery.com>
2518 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2519 (top level): Call it.
2521 2012-11-09 Yao Qi <yao@codesourcery.com>
2523 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2526 2012-11-09 Pedro Alves <palves@redhat.com>
2528 * gdb.multi/multi-arch.exp: New.
2530 2012-11-08 Tom Tromey <tromey@redhat.com>
2532 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2533 core files, if possible.
2534 * gdb.base/siginfo-thread.c: New file
2535 * gdb.base/siginfo-thread.exp: New file
2537 2012-11-08 Tom Tromey <tromey@redhat.com>
2539 * gdb.base/comprdebug.exp: New file.
2541 2012-11-06 Pedro Alves <palves@redhat.com>
2545 * gdb.base/disabled-location.c: New file.
2546 * gdb.base/disabled-location.exp: New file.
2548 2012-11-06 Tom Tromey <tromey@redhat.com>
2550 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2551 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2553 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2554 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2555 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2556 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2557 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2558 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2559 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2560 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2561 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2563 2012-11-05 Pedro Alves <palves@redhat.com>
2565 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2567 (do_vfork_and_follow_child_tests_exec)
2568 (do_vfork_and_follow_child_tests_exit): Call it.
2570 2012-11-05 Pedro Alves <palves@redhat.com>
2572 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2575 2012-11-03 Yao Qi <yao@codesourcery.com>
2578 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2579 Remove setup_kfail, and update test.
2581 2012-11-02 Tom Tromey <tromey@redhat.com>
2583 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2586 2012-11-02 Pedro Alves <palves@redhat.com>
2590 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2592 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2595 2012-11-02 Pedro Alves <palves@redhat.com>
2597 * gdb.base/foll-vfork-exit.c: New file.
2598 * gdb.base/foll-vfork.exp (top level): New file-describing
2600 (vfork_child_follow_to_exit): New procedure.
2601 (tcatch_vfork_then_child_follow): Rename as ...
2602 (tcatch_vfork_then_child_follow_exec): ... this.
2603 (tcatch_vfork_then_child_follow_exit): New procedure.
2604 (do_vfork_and_follow_parent_tests): New procedure, factored out
2605 from do_vfork_and_exec_tests.
2606 (do_vfork_and_follow_child_tests_exec): Ditto.
2607 (do_vfork_and_exec_tests): Delete.
2608 (do_vfork_and_follow_child_tests_exit): New procedure.
2609 (top level): Run tests with both the program that has the vfork
2610 child execing, and the program has the vfork child exiting.
2612 2012-11-02 Pedro Alves <palves@redhat.com>
2614 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2615 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2616 (vfork_parent_follow_to_bp): Call it.
2617 (kill_child): Delete.
2618 (vfork_and_exec_child_follow_to_main_bp)
2619 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2620 longer call kill_child.
2621 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2622 (do_vfork_and_exec_tests): Don't runto_main before calling each
2624 (top level): Don't clean restart and set verbose before running
2625 each test procedure.
2627 2012-11-02 Pedro Alves <palves@redhat.com>
2629 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2630 (vfork_parent_follow_to_bp)
2631 (vfork_and_exec_child_follow_to_main_bp)
2632 (vfork_and_exec_child_follow_through_step)
2633 (tcatch_vfork_then_parent_follow)
2634 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2635 Use with_test_prefix.
2637 2012-11-02 Pedro Alves <palves@redhat.com>
2639 * gdb.base/foll-vfork.c: Add copyright header.
2640 * gdb.base/vforked-prog.c: Add copyright header.
2642 2012-11-02 Pedro Alves <palves@redhat.com>
2644 * gdb.base/foll-vfork.exp
2645 (vfork_and_exec_child_follow_through_step): Don't skip on
2646 non-HP/UX targets. Expect the next to only step one line on
2647 non-HP/UX targets, rather than stopping only after the exec.
2649 2012-11-02 Pedro Alves <palves@redhat.com>
2651 Don't hard code line numbers.
2653 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2654 Expect text from the sources instead of a line number.
2655 (vfork_parent_follow_to_bp)
2656 (vfork_and_exec_child_follow_to_main_bp)
2657 (vfork_and_exec_child_follow_through_step)
2658 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2659 Use gdb_get_line_number.
2661 2012-11-02 Pedro Alves <palves@redhat.com>
2665 * gdb.base/foll-vfork.exp: Use standard_testfile and
2666 build_executable. Pass descriptive string to untested.
2667 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2668 (vfork_and_exec_child_follow_to_main_bp)
2669 (vfork_and_exec_child_follow_through_step)
2670 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2671 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2672 of send_gdb/gdb_expect.
2674 (kill_child): New procedure.
2675 (vfork_and_exec_child_follow_to_main_bp)
2676 (vfork_and_exec_child_follow_through_step): Use it.
2678 2012-11-02 Yao Qi <yao@codesourcery.com>
2680 * gdb.base/setvar.exp: Test setting nested struct.
2681 * gdb.base/setvar.c (v_struct3): New.
2683 2012-11-01 Doug Evans <dje@google.com>
2685 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2686 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2689 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
2692 * gdb.base/gnu_vector.c (union_with_vector_1)
2693 (struct_with_vector_1): Add new struct and union for testing
2695 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2696 structs / unions containing vectors.
2698 2012-10-25 Yao Qi <yao@codesourcery.com>
2700 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2701 'setup_kfail' instead of 'setup_kfail_for_target'.
2702 * gdb.base/varargs.exp: Likewise.
2703 * lib/gdb.exp (setup_kfail_for_target): Remove.
2705 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2707 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2709 2012-10-25 Mark Kettenis <kettenis@gnu.org>
2711 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2713 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2715 * gdb.ada/set_wstr: New testcase.
2717 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2719 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2721 2012-10-24 Joel Brobecker <brobecker@adacore.com>
2723 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2725 2012-10-24 Mark Kettenis <kettenis@gnu.org>
2727 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2729 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2731 * gdb.base/callfuncs.exp (do_function_calls): Fix
2732 setup_kfail_for_target for -m32 mode.
2734 2012-10-23 Mark Kettenis <kettenis@gnu.org>
2736 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2739 2012-10-23 Yao Qi <yao@codesourcery.com>
2741 * gdb.base/info-os.exp: Resume the inferior until it exits.
2743 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2745 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2746 * gdb.base/print-file-var.exp: Likewise.
2747 * gdb.base/type-opaque.exp: Likewise.
2749 2012-10-17 Yao Qi <yao@codesourcery.com>
2751 * gdb.mi/mi-memory-changed.exp: New.
2753 2012-10-16 Yao Qi <yao@codesourcery.com>
2755 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2757 Call gdb_load_shlibs.
2758 * gdb.reverse/solib-reverse.exp: Likewise.
2760 2012-10-15 Keith Seitz <keiths@redhat.com>
2762 * lib/cp-support.exp (cp_test_ptype_class): Add support
2765 * gdb.cp/derivation.exp: Add tests for g_instance.
2767 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2769 Fix entry values resolving in inlined frames.
2770 * gdb.arch/amd64-entry-value-inline.S: New file.
2771 * gdb.arch/amd64-entry-value-inline.c: New file.
2772 * gdb.arch/amd64-entry-value-inline.exp: New file.
2774 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2775 Doug Evans <dje@google.com>
2777 Fix recent gdb_breakpoint regression.
2778 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2779 braces from the parameter.
2780 * gdb.java/jprint.exp: Likewise.
2782 2012-10-15 Doug Evans <dje@google.com>
2784 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2786 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2788 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2790 2012-10-15 Tom Tromey <tromey@redhat.com>
2792 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2794 2012-10-15 Tom Tromey <tromey@redhat.com>
2796 * gdb.python/py-symbol.exp: Test symbol destructor.
2798 2012-10-14 Yao Qi <yao@codesourcery.com>
2800 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2801 * gdb.mi/mi-cli.exp: New.
2803 * gdb.mi/mi2-basics.exp: Remove.
2804 * gdb.mi/mi2-break.exp: Remove.
2805 * gdb.mi/mi2-console.exp: Remove.
2806 * gdb.mi/mi2-disassemble.exp: Remove.
2807 * gdb.mi/mi2-eval.exp: Remove.
2808 * gdb.mi/mi2-file.exp: Remove.
2809 * gdb.mi/mi2-hack-cli.exp: Remove.
2810 * gdb.mi/mi2-pthreads.exp: Remove.
2811 * gdb.mi/mi2-read-memory.exp: Remove.
2812 * gdb.mi/mi2-regs.exp: Remove.
2813 * gdb.mi/mi2-return.exp: Remove.
2814 * gdb.mi/mi2-simplerun.exp: Remove.
2815 * gdb.mi/mi2-stack.exp: Remove.
2816 * gdb.mi/mi2-stepi.exp: Remove.
2817 * gdb.mi/mi2-syn-frame.exp: Remove.
2818 * gdb.mi/mi2-until.exp: Remove.
2819 * gdb.mi/mi2-watch.exp: Remove.
2820 * gdb.mi/mi2-var-block.exp: Remove.
2821 * gdb.mi/mi2-var-cmd.exp: Remove.
2822 * gdb.mi/mi2-var-display.exp: Remove.
2824 2012-10-12 Yao Qi <yao@codesourcery.com>
2826 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2827 trail '.*' on matching patterns.
2829 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2831 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2832 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2833 * gdb.arch/i386-disp-step.exp: Likewise.
2834 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2835 * gdb.arch/i386-prologue.exp: Likewise.
2836 * gdb.arch/i386-size-overlap.exp: Likewise.
2837 * gdb.arch/i386-size.exp: Likewise.
2838 * gdb.arch/i386-unwind.exp: Likewise.
2840 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2842 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2843 * gdb.arch/i386-word.exp: Likewise.
2845 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2847 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2848 is_ilp32_target to set nr_regs.
2849 * gdb.arch/i386-sse.exp: Likewise.
2851 2012-10-11 Doug Evans <dje@google.com>
2853 PR breakpoints/14643.
2854 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2855 * gdb.linespec/thread.c: New file.
2856 * gdb.linespec/thread.exp: New file.
2858 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2859 Recognize "message" -> print pass and fail. Add eof case.
2860 (runto): Recognize message, no-message. Print pass/fail if requested,
2861 with same treatment as gdb_breakpoint.
2862 (runto_main): Pass no-message to runto.
2863 (gdb_internal_error_resync): Add log message.
2864 (gdb_file_cmd): Tweak internal error fail text for consistency.
2866 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2868 Fix crash during stepping on ppc32.
2869 * gdb.base/step-symless.c: New file.
2870 * gdb.base/step-symless.exp: New file.
2872 2012-10-03 Doug Evans <dje@google.com>
2875 * gdb.cp/using-crash.exp: New file.
2876 * gdb.cp/using-crash.cc: New file.
2878 2012-10-02 Doug Evans <dje@google.com>
2880 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2882 (runto,gdb_debug_format): Ditto.
2883 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2884 Clean up logging and error messages.
2886 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
2888 Test find command on unmapped memory.
2889 * gdb.base/find-unmapped.c: New file.
2890 * gdb.base/find-unmapped.exp: New file.
2892 2012-09-29 Yao Qi <yao@codesourcery.com>
2894 * gdb.trace/mi-tracepoint-changed.exp: New.
2895 * gdb.mi/mi-breakpoint-changed.exp: New.
2896 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2897 * gdb.mi/pendshr2.c: New.
2899 2012-09-28 Yao Qi <yao@codesourcery.com>
2901 * gdb.mi/pr11022.exp: New.
2902 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2904 2012-09-27 Tom Tromey <tromey@redhat.com>
2906 * gdb.cp/derivation.exp: Add regression test.
2907 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2909 (vderived): New global.
2911 2012-09-26 Tom Tromey <tromey@redhat.com>
2913 * gdb.dwarf2/dw2-common-block.S: New file.
2914 * gdb.dwarf2/dw2-common-block.exp: New file.
2916 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2918 * gdb.fortran/common-block.exp: New file.
2919 * gdb.fortran/common-block.f90: New file.
2921 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
2923 * gdb.base/duplicate-bp.c: New file.
2924 * gdb.base/duplicate-bp.exp: New file.
2926 2012-09-26 Yao Qi <yao@codesourcery.com>
2928 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2931 2012-09-21 Yao Qi <yao@codesourcery.com>
2933 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2935 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2937 * gdb.base/longest-types.c: New test case.
2938 * gdb.base/longest-types.exp: New test case.
2940 2012-09-25 Yao Qi <yao@codesourcery.com>
2942 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2944 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2946 Fix internal error on canonicalization of clang types.
2947 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2948 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2949 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2951 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2953 Fix disassemble without parameters in tailcall frame.
2954 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2956 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
2958 * gdb.dwarf2/dw2-op-out-param.S: New file.
2959 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2961 2012-09-21 Yao Qi <yao@codesourcery.com>
2963 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2965 2012-09-21 Yao Qi <yao@codesourcery.com>
2967 * gdb.mi/mi-cli.exp: Remove.
2968 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2970 2012-09-21 Yao Qi <yao@codesourcery.com>
2972 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2973 "=record-started" notification.
2975 2012-09-21 Yao Qi <yao@codesourcery.com>
2977 * gdb.mi/mi-record-changed.exp: New.
2978 * gdb.mi/mi-reverse.exp: Adjust expected output.
2980 2012-09-20 Tom Tromey <tromey@redhat.com>
2982 * gdb.python/python.exp: Test atexit.register.
2984 2012-09-20 Doug Evans <dje@google.com>
2986 * boards/dwarf4-gdb-index.exp: New file.
2988 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2989 while running the tests.
2991 2012-09-18 Joel Brobecker <brobecker@adacore.com>
2993 * gdb.ada/bp_reset: New testcase.
2995 2012-09-18 Yao Qi <yao@codesourcery.com>
2997 * gdb.trace/mi-tsv-changed.exp: New.
2999 2012-09-18 Yao Qi <yao@codesourcery.com>
3001 * gdb.trace/mi-traceframe-changed.exp: New.
3003 2012-09-17 Yao Qi <yao@codesourcery.com>
3005 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
3006 when it is less than 0.
3008 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * gdb.arch/amd64-tailcall-ret.S: New file.
3012 * gdb.arch/amd64-tailcall-ret.c: New file.
3013 * gdb.arch/amd64-tailcall-ret.exp: New file.
3014 * gdb.reverse/amd64-tailcall-reverse.S: New file.
3015 * gdb.reverse/amd64-tailcall-reverse.c: New file.
3016 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
3018 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3021 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
3022 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
3023 * gdb.reverse/singlejmp-reverse.S: New file.
3024 * gdb.reverse/singlejmp-reverse.c: New file.
3025 * gdb.reverse/singlejmp-reverse.exp: New file.
3027 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3029 Fix compatibility with old GCC (~4.1).
3030 * gdb.cp/converts.cc (my_enum_var): New variable.
3032 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
3034 * gdb.xml/tdesc-regs.exp: Update expected output for new
3035 vector_size syntax of vector types.
3037 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3039 Refactor Python "gdb" module into a proper Python package, by
3040 introducing a new "_gdb" module for code implemented in C, and
3041 using reload/__import__ instead of exec.
3042 * gdb.python/python.exp (Test stderr location): Update module
3043 location of GDB-specific sys.stderr.
3044 (Test stdout location): Ditto for sys.stdout.
3046 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3048 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3050 2012-09-12 Keith Seitz <keiths@redhat.com>
3052 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3053 conversion statement.
3055 2012-09-12 Doug Evans <dje@google.com>
3057 * gdb.base/help.exp: Remove testing of individual command help text,
3058 too much of a maintenance burden. Instead, test the functionality
3061 2012-09-11 Doug Evans <dje@google.com>
3063 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3066 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3067 * gdb.dwarf2/fission-reread.S: Ditto.
3068 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3069 * gdb.dwarf2/fission-reread.exp: Ditto.
3071 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
3073 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3075 2012-09-10 Joel Brobecker <brobecker@adacore.com>
3077 * gdb.ada/optim_drec: New testcase.
3079 2012-09-10 Doug Evans <dje@google.com>
3081 * boards/fission.exp: Explicitly mark "board" as not remote.
3083 2012-09-10 Keith Seitz <keiths@redhat.com>
3086 * gdb.cp/converts.cc (A::A): Add ctor.
3087 (A::member_): Add member.
3088 (enum my_enum): New enumeration.
3089 (main): Add calls to foo1_7 with various
3090 permitted arguments.
3091 * gdb.cp/converts.exp: Add tests for boolean
3092 conversions permitted by the standard.
3094 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3096 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3097 avoid spurious results due to ~/.gdbinit.
3098 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3099 $INTERNAL_GDBFLAGS in run command.
3100 * gdb.gdb/observer.exp (setup_test): Ditto.
3101 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3102 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3104 2012-09-06 Doug Evans <dje@google.com>
3106 * boards/fission.exp: New file.
3108 * gdb.python/py-value.exp: Use clean_restart.
3110 2012-09-05 Doug Evans <dje@google.com>
3112 * gdb.base/info-macros.c: Fix whitespace.
3114 2012-08-28 Pedro Alves <palves@redhat.com>
3118 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3120 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3122 * gdb.base/break-caller-line.c: New file.
3123 * gdb.base/break-caller-line.exp: New file.
3125 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3127 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3128 * gdb.arch/i386-cfi-notcurrent.S: New file.
3129 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3131 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
3132 Yao Qi <yao@codesourcery.com>
3133 Pedro Alves <palves@redhat.com>
3135 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3137 (top level): Add overlap checking tests.
3139 2012-08-24 Tom Tromey <tromey@redhat.com>
3141 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3142 gdb_test_multiple fails for other reasons.
3144 2012-08-24 Yao Qi <yao@codesourcery.com>
3146 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3148 2012-08-23 Pedro Alves <palves@redhat.com>
3150 * gdb.base/help.exp: Adjust to "handle" help text change.
3152 2012-08-23 Yao Qi <yao@codesourcery.com>
3154 * gdb.trace/disconnected-tracing.c (start, end): New.
3155 (main): Call start and end.
3156 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3157 existing tests into this proc.
3158 (disconnected_tfind): New.
3160 2012-08-23 Yao Qi <yao@codesourcery.com>
3162 * boards/native-gdbserver.exp (${board}_upload): New.
3163 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3164 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3165 Execute tfile on remote target.
3166 Copy trace file from target to host.
3168 2012-08-22 Joseph Myers <joseph@codesourcery.com>
3170 * gdb.arch/thumb-bx-pc.S: New file.
3171 * gdb.arch/thumb-bx-pc.exp: New file.
3173 2012-08-22 Tom Tromey <tromey@redhat.com>
3175 * gdb.base/maint.exp: Update.
3177 2012-08-22 Tom Tromey <tromey@redhat.com>
3179 * lib/gdb.exp (skip_unwinder_tests): New proc.
3180 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3181 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3183 2012-08-21 Tom Tromey <tromey@redhat.com>
3185 * gdb.hp/gdb.aCC/exception.exp: Remove.
3187 012-08-19 Andrew Pinski <apinski@cavium.com>
3189 * gdb.arch/mips-octeon-bbit.c: New file.
3190 * gdb.arch/mips-octeon-bbit.exp: New Test.
3192 012-08-19 Keith Seitz <keiths@redhat.com>
3195 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3196 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3198 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3200 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3201 verbose -log by more specific untested call.
3203 2012-08-18 Yao Qi <yao@codesourcery.com>
3205 * gdb.trace/tfind.exp: Move tests on various command help before
3206 checking target supports trace.
3207 Fix the expected output of 'help tfind end'.
3209 2012-08-17 Keith Seitz <keiths@redhat.com>
3212 * gdb.base/default.exp: Update all "check type" tests.
3213 * gdb.base/help.exp: Likewise.
3214 * gdb.base/setshow.exp: Likewise.
3215 * gdb.cp/converts.cc (foo1_type_check): New function.
3216 (foo2_type_check): New function.
3217 (foo3_type_check): New function.
3218 (main): Call new functions.
3219 * converts.exp: Add tests for integer-to-pointer conversions
3220 with/without strict type-checking.
3222 2012-08-16 Mike Frysinger <vapier@gentoo.org>
3224 * gdb.base/help.exp: Update expected output.
3226 2012-08-16 Joel Brobecker <brobecker@adacore.com>
3228 * gdb.ada/rdv_wait: New testcase.
3230 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3232 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3234 2012-08-13 Doug Evans <dje@google.com>
3236 * gdb.base/help.exp: Update expected output.
3237 * gdb.base/default.exp: Update expected output of "show convenience".
3239 2012-08-10 Doug Evans <dje@google.com>
3241 * gdb.python/py-strfns.c: New file.
3242 * gdb.python/py-strfns.exp: New file.
3243 * gdb.python/py-type.exp (test_fields): Add vector tests.
3245 2012-08-10 Mike Frysinger <vapier@gentoo.org>
3248 * gdb.base/completion.exp: Add tests for handle completion.
3250 2012-08-09 Yao Qi <yao@codesourcery.com>
3252 * gdb.mi/mi-cmd-param-changed.exp: New.
3253 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3254 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3255 * gdb.mi/mi2-prompt.exp: Likewise.
3257 2012-08-08 Doug Evans <dje@google.com>
3259 * gdb.base/debug-expr.c: New file.
3260 * gdb.base/debug-expr.exp: New file.
3261 * gdb.base/exprs.exp: Test {type} casts.
3262 * gdb.cp/debug-expr.exp: New file.
3264 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3266 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3267 global variable loop, not a 'break'. Add loop count limit to 100.
3268 Add new fail case for terminated vgdb.
3270 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3271 Jean-Marc Saffroy <saffroy@gmail.com>
3274 * gdb.base/gcore-relro.exp: New file.
3275 * gdb.base/gcore-relro-main.c: New file.
3276 * gdb.base/gcore-relro-lib.c: New file.
3278 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3280 Do not false FAIL with old GCCs.
3281 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3282 GCC < 4.5 in $no_hw mode.
3284 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3286 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3288 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 * gdb.base/list.exp (test_only_end): New function.
3293 2012-08-06 Tom Tromey <tromey@redhat.com>
3295 * gdb.python/py-mi.exp: Add test for printer whose children
3297 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3298 (main): New variable children_as_list.
3299 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3301 (register_pretty_printers): Register new printer.
3303 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3305 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3306 symbols. Abort if vgdb remote connection is closed.
3308 2012-08-02 Doug Evans <dje@google.com>
3310 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3312 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3314 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3315 s390x, PowerPC 64 and m68k-linux.
3317 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3319 * gdb.base/annota1.exp: Accept no frames-invalid notification
3320 when starting up the program.
3321 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3322 show a symbolic value as well.
3323 * gdb.server/server-exec-info.exp: Skip test when skipping
3324 gdbserver test and/or when skipping shared library tests.
3325 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3326 avoid name conflicts with other tests.
3328 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3330 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3331 Fix wrong output on big-endian systems.
3332 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3333 4-byte pointer types on 64-bit s390x.
3335 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3337 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3338 marker comment at the beginning (after intialization).
3339 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3340 breakpoint on marker comment instead of function begin.
3341 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3343 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3345 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3346 gdb,no_hardware_watchpoints flag is set.
3347 (initialize): Remove now redundant can-use-hw-watchpoints change.
3349 2012-08-02 Yao Qi <yao@codesourcery.com>
3350 Pedro Alves <palves@redhat.com>
3352 * boards/local-remote-host.exp: New.
3354 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3356 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3357 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3358 * gdb.base/print-file-var.exp: Likewise.
3359 * gdb.server/solib-list.exp: Skip on remote targets.
3361 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3363 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3364 watchpoints on ARM. When expecting software watchpoints, tolerate
3365 (remote) targets that report unsupported hardware watchpoint only
3367 (test_wide_location_2): Likewise.
3369 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3371 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3374 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3376 * gdb.base/valgrind-infcall.c: New file.
3377 * gdb.base/valgrind-infcall.exp: New file.
3379 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3381 2012-07-30 Keith Seitz <keiths@redhat.com>
3383 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3386 2012-07-30 Doug Evans <dje@google.com>
3388 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3389 * gdb.dwarf2/pr13961.S: Ditto.
3391 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3393 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
3395 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3396 change its format immediately after reloading the binary.
3398 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3400 Fix testsuite regression after --use-deprecated-index-sections removal.
3401 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3403 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3405 2012-07-27 Yao Qi <yao@codesourcery.com>
3407 KFAIL for PR remote/14161.
3408 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3409 Cleanup socket files.
3410 (strace_info_marker): Detach inferior.
3412 2012-07-26 Tom Tromey <tromey@redhat.com>
3414 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
3416 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3418 * gdb.python/py-inferior.c (thread): New function.
3419 (check_threads): New function.
3420 (test_threads): New function.
3421 * gdb.python/py-inferior.exp: Added test.
3422 Replaced runto with continue to breakpoint.
3424 2012-07-26 Tom Tromey <tromey@redhat.com>
3426 * lib/ada.exp (standard_ada_testfile): New proc.
3427 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3428 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3429 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3430 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3431 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3432 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3433 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3434 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3435 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3436 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3437 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3438 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3439 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3440 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3441 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3442 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3443 * gdb.ada/complete.exp: Use standard_ada_testfile.
3444 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3445 standard_output_file.
3446 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3447 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3448 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3449 standard_output_file.
3450 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3451 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3452 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3453 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3454 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3455 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3456 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3457 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3458 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3459 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3460 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3461 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3462 * gdb.ada/interface.exp: Use standard_ada_testfile.
3463 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3464 standard_output_file
3465 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3466 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3467 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3468 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3469 * gdb.ada/nested.exp: Use standard_ada_testfile.
3470 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3471 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3472 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3473 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3474 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3475 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3476 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3477 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3478 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3479 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3480 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3481 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3482 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3483 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3484 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3485 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3486 * gdb.ada/start.exp: Use standard_ada_testfile.
3487 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3488 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3489 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3490 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3491 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3492 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3493 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3494 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3495 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3496 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3497 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3498 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3499 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3500 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3502 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3504 Fix testsuite regression after --use-deprecated-index-sections removal.
3505 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3507 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3509 Fix compatibility with Tcl before 7.5.
3510 * lib/future.exp (lreverse): New function if it does not exist.
3512 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3514 * gdb.mi/mi-pending.c: New method to set a second pending
3516 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3519 2012-07-20 Pedro Alves <palves@redhat.com>
3524 * gdb.threads/create-fail.c: New file.
3525 * gdb.threads/create-fail.exp: New file.
3527 2012-07-19 Pedro Alves <palves@redhat.com>
3529 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3530 * config/vx.exp (gdb_start): Likewise.
3531 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3532 * gdb.base/setvar.exp (test_set): Likewise.
3533 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3534 * gdb.reverse/sigall-precsave.exp: Likewise.
3535 * gdb.reverse/sigall-reverse.exp: Likewise.
3537 2012-07-19 Pedro Alves <palves@redhat.com>
3539 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3540 handler before recording.
3542 2012-07-19 Tom Tromey <tromey@redhat.com>
3544 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3545 * gdb.cp/casts.cc (decltype): New function.
3548 2012-07-19 Pedro Alves <palves@redhat.com>
3550 * gdb.base/sigall.exp (signals): New list.
3551 <top level>: Loop over signals in the $signals list instead of
3552 calling a test function once per signal.
3553 * gdb.reverse/sigall-precsave.exp (signals): New list.
3554 <top level>: Loop over signals in the $signals list instead of
3555 calling a test function once per signal.
3556 * gdb.reverse/sigall-reverse.exp (signals): New list.
3557 <top level>: Loop over signals in the $signals list instead of
3558 calling a test function once per signal.
3560 2012-07-19 Yao Qi <yao@codesourcery.com>
3562 * gdb.base/setshow.exp: Test 'set args ~'.
3564 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3566 * gdb.base/store.exp (check_set): Import gdb_prompt.
3567 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3568 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3570 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3573 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3574 (main): Call eval_sub.
3575 * gdb.python/py-prettyprint.exp:
3576 (python execfile ('py-prettyprint.py')): Move it earlier.
3577 New breakpoint for eval-break.
3578 (continue to breakpoint: eval-break, info locals): New test.
3579 (python execfile ('py-prettyprint.py')): Move it from here.
3580 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3581 (register_pretty_printers): Register pp_eval_type.
3583 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3585 Fix a testcase regression by me.
3586 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3589 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3590 Doug Evans <dje@google.com>
3592 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3593 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3595 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3597 Fix gdbserver run regression.
3598 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3600 2012-07-12 Tom Tromey <tromey@redhat.com>
3602 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3603 (clean_restart): Likewise.
3604 (core_find): Use standard_output_file.
3606 2012-07-12 Tom Tromey <tromey@redhat.com>
3608 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3609 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3610 prepare_for_testing_full.
3611 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3612 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3613 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3614 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3615 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3616 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3617 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3618 prepare_for_testing_full.
3619 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3620 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3621 prepare_for_testing_full.
3622 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3623 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3624 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3626 2012-07-12 Tom Tromey <tromey@redhat.com>
3628 * lib/gdb.exp (build_executable_from_specs): New proc, from
3630 (build_executable): Use it.
3631 (prepare_for_testing_full): New proc.
3633 2012-07-11 Tom Tromey <tromey@redhat.com>
3635 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3636 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3637 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3638 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3639 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3640 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3641 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3642 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3643 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3644 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3646 2012-07-10 Tom Tromey <tromey@redhat.com>
3648 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3649 standard_output_file.
3650 * gdb.mi/gdb2549.exp: Use standard_testfile.
3651 * gdb.mi/gdb669.exp: Use standard_testfile.
3652 * gdb.mi/gdb701.exp: Use standard_testfile.
3653 * gdb.mi/gdb792.exp: Use standard_testfile.
3654 * gdb.mi/mi-async.exp: Use standard_testfile.
3655 * gdb.mi/mi-basics.exp: Use standard_testfile.
3656 * gdb.mi/mi-break.exp: Use standard_testfile.
3657 * gdb.mi/mi-cli.exp: Use standard_testfile.
3658 * gdb.mi/mi-console.exp: Use standard_testfile.
3659 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3660 * gdb.mi/mi-eval.exp: Use standard_testfile.
3661 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3662 * gdb.mi/mi-file.exp: Use standard_testfile.
3663 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3664 * gdb.mi/mi-logging.exp: Use standard_testfile.
3665 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3666 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3667 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3668 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3669 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3670 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3671 * gdb.mi/mi-pending.exp: Use standard_testfile,
3672 standard_output_file.
3673 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3674 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3675 * gdb.mi/mi-regs.exp: Use standard_testfile.
3676 * gdb.mi/mi-return.exp: Use standard_testfile.
3677 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3678 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3679 * gdb.mi/mi-solib.exp: Use standard_testfile,
3680 standard_output_file.
3681 * gdb.mi/mi-stack.exp: Use standard_testfile.
3682 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3683 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3684 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3685 * gdb.mi/mi-until.exp: Use standard_testfile.
3686 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3687 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3688 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3689 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3690 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3691 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3692 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3693 standard_output_file.
3694 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3695 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3696 * gdb.mi/mi-watch.exp: Use standard_testfile.
3697 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3698 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3699 * gdb.mi/mi2-break.exp: Use standard_testfile.
3700 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3701 * gdb.mi/mi2-console.exp: Use standard_testfile.
3702 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3703 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3704 * gdb.mi/mi2-file.exp: Use standard_testfile.
3705 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3706 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3707 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3708 * gdb.mi/mi2-return.exp: Use standard_testfile.
3709 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3710 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3711 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3712 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3713 * gdb.mi/mi2-until.exp: Use standard_testfile.
3714 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3715 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3716 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3717 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3718 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3720 2012-07-10 Tom Tromey <tromey@redhat.com>
3722 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3723 * gdb.cp/ambiguous.exp: Use standard_testfile,
3724 prepare_for_testing.
3725 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3726 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3727 * gdb.cp/anon-ns.exp: Use standard_testfile.
3728 * gdb.cp/anon-struct.exp: Use standard_testfile.
3729 * gdb.cp/anon-union.exp: Use standard_testfile,
3730 prepare_for_testing.
3731 * gdb.cp/arg-reference.exp: Use standard_testfile,
3732 prepare_for_testing.
3733 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3734 * gdb.cp/breakpoint.exp: Use standard_testfile,
3735 prepare_for_testing.
3736 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3737 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3738 standard_output_file.
3739 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3740 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3741 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3742 (test_static_members): Update.
3743 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3744 * gdb.cp/converts.exp: Use standard_testfile.
3745 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3746 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3747 prepare_for_testing.
3748 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3749 * gdb.cp/cplabel.exp: Use standard_testfile.
3750 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3751 prepare_for_testing.
3752 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3753 * gdb.cp/derivation.exp: Use standard_testfile,
3754 prepare_for_testing.
3755 * gdb.cp/destrprint.exp: Use standard_testfile.
3756 * gdb.cp/dispcxx.exp: Use standard_testfile.
3757 * gdb.cp/exception.exp: Use standard_testfile,
3758 prepare_for_testing.
3759 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3760 * gdb.cp/extern-c.exp: Use standard_testfile,
3761 prepare_for_testing.
3762 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3763 prepare_for_testing.
3764 * gdb.cp/fpointer.exp: Use standard_testfile.
3765 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3766 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3767 standard_output_file.
3768 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3769 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3770 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3771 standard_output_file.
3772 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3774 * gdb.cp/koenig.exp: Use standard_testfile.
3775 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3776 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3777 * gdb.cp/m-static.exp: Use standard_testfile,
3778 prepare_for_testing.
3779 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3780 * gdb.cp/mb-inline.exp: Use standard_testfile,
3781 prepare_for_testing.
3782 * gdb.cp/mb-templates.exp: Use standard_testfile,
3783 prepare_for_testing.
3784 * gdb.cp/member-ptr.exp: Use standard_testfile,
3785 prepare_for_testing.
3786 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3787 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3788 * gdb.cp/method2.exp: Use standard_testfile.
3789 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3790 standard_output_file.
3791 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3793 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3794 prepare_for_testing.
3795 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3796 prepare_for_testing.
3797 * gdb.cp/namespace.exp: Use standard_testfile,
3798 prepare_for_testing.
3799 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3800 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3801 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3802 * gdb.cp/nsimport.exp: Use standard_testfile,
3803 prepare_for_testing.
3804 * gdb.cp/nsnested.exp: Use standard_testfile.
3805 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3806 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3807 prepare_for_testing.
3808 * gdb.cp/nsstress.exp: Use standard_testfile,
3809 prepare_for_testing.
3810 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3811 * gdb.cp/operator.exp: Use standard_testfile.
3812 * gdb.cp/oranking.exp: Use standard_testfile.
3813 * gdb.cp/overload-const.exp: Use standard_testfile.
3814 * gdb.cp/overload.exp: Use standard_testfile,
3815 prepare_for_testing.
3816 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3817 * gdb.cp/ovsrch.exp: Use standard_testfile.
3818 * gdb.cp/paren-type.exp: Use standard_testfile.
3819 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3820 prepare_for_testing.
3821 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3822 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3823 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3824 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3825 * gdb.cp/pr10728.exp: Use standard_testfile,
3826 standard_output_file.
3827 * gdb.cp/pr12028.exp: Use standard_testfile.
3828 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3829 * gdb.cp/pr9167.exp: Use standard_testfile.
3830 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3831 * gdb.cp/printmethod.exp: Use standard_testfile,
3832 prepare_for_testing.
3833 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3834 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3835 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3836 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3837 standard_output_file.
3838 * gdb.cp/readnow-language.exp: Use standard_testfile.
3839 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3840 (gdb_start_again): Use clean_restart.
3841 * gdb.cp/ref-types.exp: Use standard_testfile,
3842 prepare_for_testing.
3843 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3844 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3845 * gdb.cp/smartp.exp: Use standard_testfile.
3846 * gdb.cp/static-method.exp: Use standard_testfile.
3847 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3848 * gdb.cp/temargs.exp: Use standard_testfile.
3849 * gdb.cp/templates.exp: Use standard_testfile,
3850 prepare_for_testing.
3852 * gdb.cp/try_catch.exp: Use standard_testfile,
3853 prepare_for_testing.
3854 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3855 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3856 * gdb.cp/virtbase.exp: Use standard_testfile,
3857 prepare_for_testing.
3858 * gdb.cp/virtfunc.exp: Use standard_testfile,
3859 prepare_for_testing.
3861 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3862 prepare_for_testing.
3864 2012-07-10 Tom Tromey <tromey@redhat.com>
3866 * lib/gdb.exp (standard_testfile): Unset output variables from
3867 earlier invocations.
3869 2012-07-10 Yao Qi <yao@codesourcery.com>
3871 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3872 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3873 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3874 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3875 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3876 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3877 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3878 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3879 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3880 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3881 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3882 * gdb.mi/mi-var-display.exp: Likewise.
3883 * gdb.mi/mi-var-invalidate.exp: Likewise.
3884 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3885 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3886 * gdb.mi/mi2-console.exp: Likewise.
3887 * gdb.mi/mi2-disassemble.exp: Likewise.
3888 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3889 * gdb.mi/mi2-read-memory.exp: Likewise.
3890 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3891 * gdb.mi/mi2-simplerun.exp: Likewise.
3892 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3893 * gdb.mi/mi2-syn-frame.exp: Likewise.
3894 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3895 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3896 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3898 2012-07-09 Tom Tromey <tromey@redhat.com>
3900 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3901 * gdb.base/callfuncs.exp: Add cast-based test.
3902 * gdb.base/callfuncs.c (voidfunc): New function.
3904 2012-07-08 Doug Evans <dje@google.com>
3906 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3908 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3910 Fix XFAIL compatibility with old i386 systems.
3911 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3912 Check also 'Cannot insert breakpoint 0'.
3914 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3918 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3920 2012-07-06 Tom Tromey <tromey@redhat.com>
3922 * gdb.base/whatis.exp: Add test.
3924 2012-07-06 Tom Tromey <tromey@redhat.com>
3926 * gdb.base/whatis.exp: Add regression test.
3928 2012-07-06 Tom Tromey <tromey@redhat.com>
3930 * gdb.base/whatis.exp: Add tests.
3932 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3935 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3936 gdb_test_multiple $gdb_prompt terminator.
3938 2012-07-04 Pedro Alves <palves@redhat.com>
3940 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3941 supports_process_record.
3943 2012-07-04 Pedro Alves <palves@redhat.com>
3945 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3947 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3949 2012-07-03 Stan Shebs <stan@codesourcery.com>
3951 * gdb.base/info-os.c (main): Retry resource acquisition until an
3952 available one is found.
3953 * gdb.base/info-os.exp: Collect resource keys from the program
3954 and use them in matching.
3956 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3958 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3959 Wrap the test into loop for corefile and core0file.
3961 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3963 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3964 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3967 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3969 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3971 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3972 break): Include help message for the new `-probe' and `-probe-stap'
3975 2012-07-02 Stan Shebs <stan@codesourcery.com>
3977 * gdb.base/dprintf.exp: Add agent style tests.
3979 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3981 * gdb.base/stale-infcall.c (infcall): New label test-next.
3982 (main): New labels test-pass and test-fail.
3983 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3984 $test_fail_bpnum to test-fail.
3985 (test system longjmp tracking support): New test.
3986 Delete $test_fail_bpnum.
3987 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3990 2012-06-30 Doug Evans <dje@google.com>
3992 * gdb.dwarf2/fission-reread.S: New file.
3993 * gdb.dwarf2/fission-reread.exp: New file.
3995 2012-06-28 Stan Shebs <stan@codesourcery.com>
3997 * gdb.mi/mi-logging.exp: New file.
3999 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4000 Pedro Alves <palves@redhat.com>
4002 * gdb.threads/siginfo-threads.exp: New file.
4003 * gdb.threads/siginfo-threads.c: New file.
4004 * gdb.threads/sigstep-threads.exp: New file.
4005 * gdb.threads/sigstep-threads.c: New file.
4007 2012-06-28 Tom Tromey <tromey@redhat.com>
4009 * gdb.go/package.exp: Partially revert earlier patch; use
4010 gdb_compile again. Use standard_output_file.
4012 2012-06-27 Doug Evans <dje@google.com>
4014 * gdb.dwarf2/fission-base.c: New file.
4015 * gdb.dwarf2/fission-base.S: New file.
4016 * gdb.dwarf2/fission-base.exp: New file.
4018 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4020 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
4022 2012-06-27 Tom Tromey <tromey@redhat.com>
4024 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
4025 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
4027 2012-06-27 Tom Tromey <tromey@redhat.com>
4029 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
4030 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
4031 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
4032 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
4033 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
4034 prepare_for_testing.
4035 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
4036 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
4037 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4039 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4040 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4041 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4042 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4043 prepare_for_testing.
4044 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4045 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4046 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4047 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4048 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4049 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4050 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4051 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4052 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4053 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4054 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4055 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4056 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4057 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4058 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4059 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4060 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4061 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4062 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4063 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4064 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4065 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4066 standard_output_file.
4067 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4068 standard_output_file.
4069 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4070 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4071 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4072 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4073 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4074 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4075 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4076 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4077 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4078 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4079 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4080 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4081 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4082 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4083 * gdb.dwarf2/valop.exp: Use standard_testfile,
4084 prepare_for_testing.
4086 2012-06-27 Tom Tromey <tromey@redhat.com>
4088 * gdb.python/python.exp: Fix regexps in pagination tests.
4090 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4092 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4093 'last' of gdb.Symtab_and_line.
4094 * gdb.python/py-symbol.c: Move break point comment to enable
4095 testing of gdb.Symtab_and_line.last.
4097 2012-06-26 Tom Tromey <tromey@redhat.com>
4099 * gdb.threads/step.c: Remove.
4100 * gdb.threads/step.exp: Remove.
4101 * gdb.threads/step2.exp: Remove.
4103 2012-06-26 Tom Tromey <tromey@redhat.com>
4105 * gdb.threads/watchpoint-fork.exp (test): Use
4106 standard_output_file. Don't declare objdir.
4107 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4108 standard_output_file.
4109 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4110 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4111 clean_restart. Remove incdir.
4112 * gdb.threads/corethreads.exp: Use standard_testfile.
4113 * gdb.threads/execl.exp: Use standard_testfile,
4114 standard_output_file, clean_restart.
4115 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4117 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4119 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4121 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4122 clean_restart. Remove incdir.
4123 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4124 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4125 clean_restart. Remove incdir.
4126 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4128 * gdb.threads/leader-exit.exp: Use standard_testfile.
4129 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4130 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4132 * gdb.threads/manythreads.exp: Use standard_testfile,
4133 clean_restart. Remove incdir.
4134 * gdb.threads/multi-create.exp: Use standard_testfile,
4136 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4137 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4138 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4139 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4140 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4141 * gdb.threads/pending-step.exp: Use standard_testfile,
4142 clean_restart. Remove incdir.
4143 * gdb.threads/print-threads.exp: Use standard_testfile,
4144 clean_restart. Remove incdir.
4145 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4146 clean_restart. Remove incdir.
4147 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4149 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4151 * gdb.threads/sigthread.exp: Use standard_testfile,
4153 * gdb.threads/staticthreads.exp: Use standard_testfile,
4154 clean_restart. Remove incdir.
4155 * gdb.threads/switch-threads.exp: Use standard_testfile,
4156 clean_restart. Remove incdir.
4157 * gdb.threads/thread-execl.exp: Use standard_testfile,
4158 clean_restart. Remove incdir.
4159 * gdb.threads/thread-find.exp: Use standard_testfile,
4161 * gdb.threads/thread-specific.exp: Use standard_testfile,
4162 clean_restart. Remove incdir.
4163 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4164 clean_restart. Remove incdir.
4165 * gdb.threads/thread_check.exp: Use standard_testfile,
4166 clean_restart. Remove incdir.
4167 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4169 * gdb.threads/threadapply.exp: Use standard_testfile,
4170 clean_restart. Remove incdir.
4171 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4172 clean_restart. Remove incdir.
4173 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4175 * gdb.threads/tls-shared.exp: Use standard_testfile,
4176 clean_restart, standard_output_file.
4177 * gdb.threads/tls-var.exp: Use standard_testfile,
4178 standard_output_file.
4179 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4181 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4182 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4184 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4185 clean_restart. Remove incdir.
4187 2012-06-26 Tom Tromey <tromey@redhat.com>
4189 * gdb.trace/actions.exp: Use standard_testfile.
4190 * gdb.trace/ax.exp: Use standard_testfile.
4191 * gdb.trace/backtrace.exp: Use standard_testfile.
4192 * gdb.trace/change-loc.exp: Use standard_testfile.
4193 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4194 * gdb.trace/collection.exp: Use standard_testfile,
4195 prepare_for_testing.
4196 * gdb.trace/deltrace.exp: Use standard_testfile.
4197 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4198 * gdb.trace/ftrace.exp: Use standard_testfile.
4199 * gdb.trace/infotrace.exp: Use standard_testfile.
4200 * gdb.trace/packetlen.exp: Use standard_testfile.
4201 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4202 * gdb.trace/passcount.exp: Use standard_testfile.
4203 * gdb.trace/pending.exp: Use standard_testfile.
4204 * gdb.trace/report.exp: Use standard_testfile.
4205 * gdb.trace/save-trace.exp: Use standard_testfile.
4206 * gdb.trace/stap-trace.exp: Use standard_testfile.
4207 * gdb.trace/status-stop.exp: Use standard_testfile.
4208 * gdb.trace/strace.exp: Use standard_testfile.
4209 * gdb.trace/tfile.exp: Use standard_testfile.
4210 * gdb.trace/tfind.exp: Use standard_testfile.
4211 * gdb.trace/trace-break.exp: Use standard_testfile.
4212 * gdb.trace/trace-mt.exp: Use standard_testfile.
4213 * gdb.trace/tracecmd.exp: Use standard_testfile.
4214 * gdb.trace/tspeed.exp: Use standard_testfile.
4215 * gdb.trace/tstatus.exp: Use standard_testfile.
4216 * gdb.trace/tsv.exp: Use standard_testfile.
4217 * gdb.trace/unavailable.exp: Use standard_testfile,
4218 prepare_for_testing.
4219 * gdb.trace/while-dyn.exp: Use standard_testfile.
4220 * gdb.trace/while-stepping.exp: Use standard_testfile.
4222 2012-06-26 Tom Tromey <tromey@redhat.com>
4224 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4225 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4226 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4227 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4228 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4229 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4230 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4231 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4232 prepare_for_testing.
4233 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4234 prepare_for_testing.
4235 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4236 prepare_for_testing.
4237 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4238 prepare_for_testing.
4239 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4241 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4242 * gdb.reverse/machinestate.exp: Use standard_testfile.
4243 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4244 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4246 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4248 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4249 standard_output_file.
4250 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4251 standard_output_file.
4252 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4253 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4254 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4255 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4256 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4257 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4259 2012-06-26 Tom Tromey <tromey@redhat.com>
4261 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4262 standard_output_file.
4263 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4264 prepare_for_testing. Remove directory-checking code.
4266 2012-06-25 Tom Tromey <tromey@redhat.com>
4268 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4269 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4270 build_executable, not prepare_for_testing.
4271 * gdb.multi/base.exp: Use standard_output_file. Use
4272 build_executable, not prepare_for_testing.
4274 2012-06-25 Tom Tromey <tromey@redhat.com>
4276 * gdb.fortran/subarray.exp: Use standard_testfile,
4277 prepare_for_testing.
4278 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4279 * gdb.fortran/module.exp: Use standard_testfile.
4280 * gdb.fortran/logical.exp: Use standard_testfile.
4281 * gdb.fortran/library-module.exp: Use standard_testfile,
4282 standard_output_file.
4283 * gdb.fortran/derived-type.exp: Use standard_testfile,
4284 prepare_for_testing.
4285 * gdb.fortran/complex.exp: Use standard_testfile,
4286 prepare_for_testing.
4287 * gdb.fortran/charset.exp: Use standard_testfile.
4288 * gdb.fortran/array-element.exp: Use standard_testfile,
4289 prepare_for_testing.
4291 2012-06-25 Keith Seitz <keiths@redhat.com>
4293 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4294 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4296 2012-06-25 Tom Tromey <tromey@redhat.com>
4298 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4299 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4300 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4301 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4303 2012-06-25 Tom Tromey <tromey@redhat.com>
4305 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4306 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4307 * gdb.linespec/linespec.exp: Use standard_testfile.
4309 2012-06-25 Tom Tromey <tromey@redhat.com>
4311 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4312 prepare_for_testing.
4314 2012-06-25 Tom Tromey <tromey@redhat.com>
4316 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4317 prepare_for_testing.
4318 * gdb.opt/inline-break.exp: Use standard_testfile,
4319 prepare_for_testing.
4320 * gdb.opt/inline-bt.exp: Use standard_testfile,
4321 prepare_for_testing.
4322 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4323 prepare_for_testing.
4324 * gdb.opt/inline-locals.exp: Use standard_testfile,
4325 prepare_for_testing.
4327 2012-06-25 Tom Tromey <tromey@redhat.com>
4329 * gdb.asm/asm-source.exp: Use standard_output_file,
4330 standard_testfile. Construct .o files in proper subdir.
4332 2012-06-25 Tom Tromey <tromey@redhat.com>
4334 * gdb.server/ext-attach.exp: Use standard_testfile,
4335 prepare_for_testing.
4336 * gdb.server/ext-run.exp: Use standard_testfile,
4338 * gdb.server/file-transfer.exp: Use standard_testfile,
4339 prepare_for_testing.
4340 * gdb.server/server-exec-info.exp: Use standard_testfile.
4341 * gdb.server/server-mon.exp: Use standard_testfile,
4342 prepare_for_testing.
4343 * gdb.server/server-run.exp: Use standard_testfile,
4345 * gdb.server/solib-list.exp: Use standard_testfile,
4346 standard_output_file.
4348 2012-06-25 Tom Tromey <tromey@redhat.com>
4350 * lib/gdb.exp (standard_output_file): Use "file join".
4351 * gdb.go/chan.exp: Use standard_testfile.
4352 * gdb.go/handcall.exp: Use standard_testfile.
4353 * gdb.go/hello.exp: Use standard_testfile.
4354 * gdb.integers/chan.exp: Use standard_testfile.
4355 * gdb.go/methods.exp: Use standard_testfile.
4356 * gdb.go/package.exp: Use standard_testfile.
4357 * gdb.go/strings.exp: Use standard_testfile.
4358 * gdb.go/types.exp: Use standard_testfile.
4359 * gdb.go/unsafe.exp: Use standard_testfile.
4361 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4363 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4365 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4367 Fix regression by the previous commit.
4368 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4370 2012-06-22 Tom Tromey <tromey@redhat.com>
4372 * gdb.python/lib-types.exp: Use standard_testfile,
4373 prepare_for_testing.
4374 * gdb.python/py-block.exp: Use standard_testfile.
4375 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4376 * gdb.python/py-events.exp: Use standard_testfile,
4377 standard_output_file.
4378 * gdb.python/py-evsignal.exp: Use standard_testfile.
4379 * gdb.python/py-evethreads.exp: Use standard_testfile.
4380 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4381 * gdb.python/py-explore.exp: Use standard_testfile.
4382 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4383 standard_output_file.
4384 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4385 prepare_for_testing.
4386 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4387 * gdb.python/py-frame.exp: Use standard_testfile.
4388 * gdb.python/py-inferior.exp: Use standard_testfile.
4389 * gdb.python/py-infthread.exp: Use standard_testfile.
4390 * gdb.python/py-mi.exp: Use standard_testfile.
4391 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4393 * gdb.python/py-objfile.exp: Use standard_testfile.
4394 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4395 prepare_for_testing.
4396 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4397 * gdb.python/py-progspace.exp: Use standard_testfile,
4399 * gdb.python/py-prompt.exp: Use standard_testfile,
4401 * gdb.python/py-section-script.exp: Use standard_testfile,
4403 * gdb.python/py-shared.exp: Use standard_testfile,
4404 standard_output_file, clean_restart.
4405 * gdb.python/py-symbol.exp: Use standard_output_file,
4406 prepare_for_testing.
4407 * gdb.python/py-symtab.exp: Use standard_output_file,
4409 * gdb.python/py-template.exp: Use standard_testfile.
4410 * gdb.python/py-type.exp: Use standard_testfile.
4411 * gdb.python/py-value-cc.exp: Use standard_testfile.
4412 * gdb.python/py-value.exp: Use standard_testfile.
4413 * gdb.python/python.exp: Use standard_testfile, build_executable.
4415 2012-06-22 Tom Tromey <tromey@redhat.com>
4417 * gdb.objc/basicclass.exp: Use standard_testfile.
4418 (do_objc_tests): Don't declare objdir.
4419 * gdb.objc/nondebug.exp: Use standard_testfile.
4420 (do_objc_tests): Don't declare objdir.
4421 * gdb.objc/objcdecode.exp: Use standard_testfile.
4422 (do_objc_tests): Don't declare objdir.
4424 2012-06-22 Tom Tromey <tromey@redhat.com>
4426 * gdb.java/jmain.exp: Use standard_testfile.
4427 * gdb.java/jmisc.exp: Use standard_testfile.
4428 * gdb.java/jnpe.exp: Use standard_testfile.
4429 * gdb.java/jprint.exp: Use standard_testfile.
4431 2012-06-22 Tom Tromey <tromey@redhat.com>
4433 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4434 (standard_output_file, standard_testfile): New procs.
4435 (build_executable, clean_restart): Use standard_output_file.
4437 2012-06-22 Yao Qi <yao@codesourcery.com>
4439 * boards/native-gdbserver.exp: New proc ${board}_exec.
4440 * boards/native-stdio-gdbserver.exp: Likewise.
4442 2012-06-21 Tom Tromey <tromey@redhat.com>
4444 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4445 (build_executable): Update.
4446 (get_compiler_info): Remove 'binfile' argument.
4447 * gdb.ada/arrayidx.exp: Update.
4448 * gdb.ada/null_array.exp: Update.
4449 * gdb.arch/altivec-abi.exp: Update.
4450 * gdb.arch/altivec-regs.exp: Update.
4451 * gdb.arch/amd64-byte.exp: Update.
4452 * gdb.arch/amd64-dword.exp: Update.
4453 * gdb.arch/amd64-word.exp: Update.
4454 * gdb.arch/i386-avx.exp: Update.
4455 * gdb.arch/i386-byte.exp: Update.
4456 * gdb.arch/i386-sse.exp: Update.
4457 * gdb.arch/i386-word.exp: Update.
4458 * gdb.arch/ppc-dfp.exp: Update.
4459 * gdb.arch/ppc-fp.exp: Update.
4460 * gdb.arch/vsx-regs.exp: Update.
4461 * gdb.base/all-bin.exp: Update.
4462 * gdb.base/annota1.exp: Update.
4463 * gdb.base/async.exp: Update.
4464 * gdb.base/attach.exp: Update.
4465 * gdb.base/break-interp.exp: Update.
4466 * gdb.base/call-ar-st.exp: Update.
4467 * gdb.base/call-rt-st.exp: Update.
4468 * gdb.base/call-sc.exp: Update.
4469 * gdb.base/callfuncs.exp: Update.
4470 * gdb.base/catch-load.exp: Update.
4471 * gdb.base/completion.exp: Update.
4472 * gdb.base/complex.exp: Update.
4473 * gdb.base/condbreak.exp: Update.
4474 * gdb.base/consecutive.exp: Update.
4475 * gdb.base/constvars.exp: Update.
4476 * gdb.base/corefile.exp: Update.
4477 * gdb.base/eval-skip.exp: Update.
4478 * gdb.base/expand-psymtabs.exp: Update.
4479 * gdb.base/exprs.exp: Update.
4480 * gdb.base/fileio.exp: Update.
4481 * gdb.base/fixsection.exp: Update.
4482 * gdb.base/funcargs.exp: Update.
4483 * gdb.base/gdb11530.exp: Update.
4484 * gdb.base/gdb1555.exp: Update.
4485 * gdb.base/gnu-ifunc.exp: Update.
4486 * gdb.base/gnu_vector.exp: Update.
4487 * gdb.base/info-macros.exp: Update.
4488 * gdb.base/jit-simple.exp: Update.
4489 * gdb.base/jit-so.exp: Update.
4490 * gdb.base/jit.exp: Update.
4491 * gdb.base/langs.exp: Update.
4492 * gdb.base/list.exp: Update.
4493 * gdb.base/logical.exp: Update.
4494 * gdb.base/long_long.exp: Update.
4495 * gdb.base/longjmp.exp: Update.
4496 * gdb.base/macscp.exp: Update.
4497 * gdb.base/mips_pro.exp: Update.
4498 * gdb.base/miscexprs.exp: Update.
4499 * gdb.base/morestack.exp: Update.
4500 * gdb.base/nodebug.exp: Update.
4501 * gdb.base/opaque.exp: Update.
4502 * gdb.base/pc-fp.exp: Update.
4503 * gdb.base/pending.exp: Update.
4504 * gdb.base/permissions.exp: Update.
4505 * gdb.base/pointers.exp: Update.
4506 * gdb.base/prelink.exp: Update.
4507 * gdb.base/printcmds.exp: Update.
4508 * gdb.base/psymtab.exp: Update.
4509 * gdb.base/ptype.exp: Update.
4510 * gdb.base/relational.exp: Update.
4511 * gdb.base/scope.exp: Update.
4512 * gdb.base/setvar.exp: Update.
4513 * gdb.base/shlib-call.exp: Update.
4514 * gdb.base/shreloc.exp: Update.
4515 * gdb.base/signals.exp: Update.
4516 * gdb.base/sizeof.exp: Update.
4517 * gdb.base/so-impl-ld.exp: Update.
4518 * gdb.base/so-indr-cl.exp: Update.
4519 * gdb.base/solib-disc.exp: Update.
4520 * gdb.base/solib-display.exp: Update.
4521 * gdb.base/solib-nodir.exp: Update.
4522 * gdb.base/solib-overlap.exp: Update.
4523 * gdb.base/solib-symbol.exp: Update.
4524 * gdb.base/solib-weak.exp: Update.
4525 * gdb.base/solib.exp: Update.
4526 * gdb.base/store.exp: Update.
4527 * gdb.base/structs.exp: Update.
4528 * gdb.base/structs2.exp: Update.
4529 * gdb.base/type-opaque.exp: Update.
4530 * gdb.base/unload.exp: Update.
4531 * gdb.base/varargs.exp: Update.
4532 * gdb.base/volatile.exp: Update.
4533 * gdb.base/watch_thread_num.exp: Update.
4534 * gdb.base/watchpoint-solib.exp: Update.
4535 * gdb.base/watchpoint.exp: Update.
4536 * gdb.base/watchpoints.exp: Update.
4537 * gdb.base/whatis.exp: Update.
4538 * gdb.cell/arch.exp: Update.
4539 * gdb.cell/break.exp: Update.
4540 * gdb.cell/bt.exp: Update.
4541 * gdb.cell/core.exp: Update.
4542 * gdb.cell/data.exp: Update.
4543 * gdb.cell/ea-cache.exp: Update.
4544 * gdb.cell/f-regs.exp: Update.
4545 * gdb.cell/fork.exp: Update.
4546 * gdb.cell/gcore.exp: Update.
4547 * gdb.cell/mem-access.exp: Update.
4548 * gdb.cell/ptype.exp: Update.
4549 * gdb.cell/registers.exp: Update.
4550 * gdb.cell/sizeof.exp: Update.
4551 * gdb.cell/solib-symbol.exp: Update.
4552 * gdb.cell/solib.exp: Update.
4553 * gdb.cp/ambiguous.exp: Update.
4554 * gdb.cp/breakpoint.exp: Update.
4555 * gdb.cp/bs15503.exp: Update.
4556 * gdb.cp/casts.exp: Update.
4557 * gdb.cp/class2.exp: Update.
4558 * gdb.cp/cpexprs.exp: Update.
4559 * gdb.cp/cplusfuncs.exp: Update.
4560 * gdb.cp/ctti.exp: Update.
4561 * gdb.cp/dispcxx.exp: Update.
4562 * gdb.cp/gdb1355.exp: Update.
4563 * gdb.cp/gdb2384.exp: Update.
4564 * gdb.cp/gdb2495.exp: Update.
4565 * gdb.cp/infcall-dlopen.exp: Update.
4566 * gdb.cp/local.exp: Update.
4567 * gdb.cp/m-data.exp: Update.
4568 * gdb.cp/m-static.exp: Update.
4569 * gdb.cp/mb-ctor.exp: Update.
4570 * gdb.cp/mb-inline.exp: Update.
4571 * gdb.cp/mb-templates.exp: Update.
4572 * gdb.cp/member-ptr.exp: Update.
4573 * gdb.cp/method.exp: Update.
4574 * gdb.cp/namespace.exp: Update.
4575 * gdb.cp/nextoverthrow.exp: Update.
4576 * gdb.cp/nsdecl.exp: Update.
4577 * gdb.cp/nsrecurs.exp: Update.
4578 * gdb.cp/nsstress.exp: Update.
4579 * gdb.cp/nsusing.exp: Update.
4580 * gdb.cp/pr-1023.exp: Update.
4581 * gdb.cp/pr-1210.exp: Update.
4582 * gdb.cp/pr-574.exp: Update.
4583 * gdb.cp/pr9631.exp: Update.
4584 * gdb.cp/printmethod.exp: Update.
4585 * gdb.cp/psmang.exp: Update.
4586 * gdb.cp/re-set-overloaded.exp: Update.
4587 * gdb.cp/rtti.exp: Update.
4588 * gdb.cp/shadow.exp: Update.
4589 * gdb.cp/templates.exp: Update.
4590 * gdb.cp/try_catch.exp: Update.
4591 * gdb.dwarf2/dw2-ranges.exp: Update.
4592 * gdb.dwarf2/pr10770.exp: Update.
4593 * gdb.fortran/library-module.exp: Update.
4594 * gdb.hp/gdb.aCC/optimize.exp: Update.
4595 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4596 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4597 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4598 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4599 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4600 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4601 * gdb.hp/gdb.compat/xdb1.exp: Update.
4602 * gdb.hp/gdb.compat/xdb2.exp: Update.
4603 * gdb.hp/gdb.compat/xdb3.exp: Update.
4604 * gdb.hp/gdb.defects/bs14602.exp: Update.
4605 * gdb.hp/gdb.defects/solib-d.exp: Update.
4606 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4607 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4608 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4609 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4610 * gdb.mi/gdb792.exp: Update.
4611 * gdb.mi/mi-pending.exp: Update.
4612 * gdb.mi/mi-solib.exp: Update.
4613 * gdb.mi/mi-var-cp.exp: Update.
4614 * gdb.opt/clobbered-registers-O2.exp: Update.
4615 * gdb.opt/inline-bt.exp: Update.
4616 * gdb.opt/inline-cmds.exp: Update.
4617 * gdb.opt/inline-locals.exp: Update.
4618 * gdb.python/py-events.exp: Update.
4619 * gdb.python/py-finish-breakpoint.exp: Update.
4620 * gdb.python/py-type.exp: Update.
4621 * gdb.reverse/solib-precsave.exp: Update.
4622 * gdb.reverse/solib-reverse.exp: Update.
4623 * gdb.server/solib-list.exp: Update.
4624 * gdb.stabs/weird.exp: Update.
4625 * gdb.threads/attach-into-signal.exp: Update.
4626 * gdb.threads/attach-stopped.exp: Update.
4627 * gdb.threads/tls-shared.exp: Update.
4628 * gdb.trace/change-loc.exp: Update.
4629 * gdb.trace/strace.exp: Update.
4631 2012-06-19 Tom Tromey <tromey@redhat.com>
4633 * gdb.base/whatis.exp: Add tests.
4635 2012-06-19 Tom Tromey <tromey@redhat.com>
4637 * gdb.cp/m-static.cc (keepalive): New function.
4638 (gnu_obj_1::method): Use it.
4640 2012-06-18 Doug Evans <dje@google.com>
4642 * gdb.base/info-fun.exp: New file.
4643 * gdb.base/info-fun.c: New file.
4644 * gdb.base/info-fun-solib.c: New file.
4646 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4648 Remove stale dummy frames.
4649 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4650 (maintenance info breakpoints): New tests.
4651 * gdb.base/stale-infcall.c: New file.
4652 * gdb.base/stale-infcall.exp: New file.
4654 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4656 * gdb.arch/amd64-entry-value-param.S: New file.
4657 * gdb.arch/amd64-entry-value-param.c: New file.
4658 * gdb.arch/amd64-entry-value-param.exp: New file.
4660 2012-06-15 Tom Tromey <tromey@redhat.com>
4662 * gdb.cp/namespace.exp: Add "show lang" test.
4664 2012-06-15 Iain Sandoe <iain@codesourcery.com>
4666 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4667 case. (top level): Use gdb_file_cmd instead of gdb_load.
4669 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4672 * gdb.arch/i386-sse-stack-align.S: New file.
4673 * gdb.arch/i386-sse-stack-align.c: New file.
4674 * gdb.arch/i386-sse-stack-align.exp: New file.
4676 2012-06-13 Keith Seitz <keiths@redhat.com>
4678 PR breakpoints/13798 and mi/11541
4679 * gdb.linespec/ls-errs.exp: Add a few more tests for
4680 filenames with spaces and colons.
4682 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4684 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4685 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4686 (test_function): Call CV_f.
4687 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4688 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4689 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4690 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4691 (p CV_f(CV::i)): New tests.
4693 2012-06-13 Tom Tromey <tromey@redhat.com>
4695 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4697 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4699 Fix regression by the "ambiguous linespec" series.
4700 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4703 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4705 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4708 2012-06-11 Tom Tromey <tromey@redhat.com>
4710 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4714 2012-06-07 Yao Qi <yao@codesourcery.com>
4716 * gdb.trace/strace.exp: Shorten some too-long lines.
4718 2012-06-06 Pedro Alves <palves@redhat.com>
4720 * gdb.threads/clone-new-thread-event.c: New file.
4721 * gdb.threads/clone-new-thread-event.exp: New file.
4723 2012-06-06 Yao Qi <yao@codesourcery.com>
4725 * gdb.base/dprintf.c (main): Add extra parameter when calling
4727 (bar): New function. It is a dead function, but to ensure
4728 'malloc' is linked explicitly.
4730 2012-06-06 Yao Qi <yao@codesourcery.com>
4732 * gdb.base/info-proc.exp: Return if target doesn't support
4735 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4737 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4738 (run program with breakpoint commands): XFAIl if it is not.
4740 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4742 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4744 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4745 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4746 "STOP" marker. Adjust testing strategy to make it work on
4749 * gdb.base/print-file-var-main.c (main): Rewrite using local
4750 variables and adjust get_version_2's return value check.
4752 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4753 marker. Adjust testing strategy to make it work on all targets.
4755 2012-06-05 Joel Brobecker <brobecker@adacore.com>
4757 * gdb.ada/bad-task-bp-keyword: New testcase.
4759 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4761 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4763 (symbol-file ${testfile1}): ... here.
4764 (test eliminated var my_global_symbol)
4765 (test eliminated var my_static_symbol)
4766 (test eliminated var my_global_func, get address of main): Wrap them to
4767 'single psymtabs' and 'single symtabs'
4768 (get address of my_global_symbol, get address of my_static_symbol)
4769 (get address of my_global_func, get address of main): Wrap them to
4770 'order1' and 'order2'.
4772 * gdb.base/code_elim.exp
4773 (add-symbol-file ${testfile1} 0x100000)
4774 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4776 (order1: add-symbol-file ${testfile1} 0x100000)
4777 (order1: add-symbol-file ${testfile2} 0x200000)
4778 (order2: add-symbol-file ${testfile2} 0x200000)
4779 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4780 .bss as appropriate.
4782 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4784 * gdb.server/solib-list-lib.c: New file.
4785 * gdb.server/solib-list-main.c: New file.
4786 * gdb.server/solib-list.exp: New file.
4788 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4790 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4791 for 'set print symbol' change.
4793 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4795 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4798 2012-05-24 John Steele Scott <toojays@toojays.net>
4800 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4801 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4802 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4804 2012-05-23 Stan Shebs <stan@codesourcery.com>
4806 * gdb.mi/mi-info-os.exp: New file.
4808 2012-05-23 Keith Seitz <keiths@redhat.com>
4810 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4811 return -1 to suppress the rest of the tests.
4812 (compile_stap_bin): Return boolean success value.
4814 2012-05-21 Tom Tromey <tromey@redhat.com>
4816 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4818 (test_print_mi_member_types): Likewise.
4820 2012-05-21 Tom Tromey <tromey@redhat.com>
4822 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4823 print symbol' change.
4825 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4827 * gdb.python/py-prompt.exp: Quit if the target is remote.
4829 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4831 Fix ERROR: internal buffer is full.
4832 * gdb.base/info-os.exp (expect_multiline): New function.
4833 (get process list, get process groups, get threads)
4834 (get file descriptors, get internet-domain sockets)
4835 (get shared-memory regions, get semaphores, get message queues): Use
4838 2012-05-18 Tom Tromey <tromey@redhat.com>
4840 * gdb.mi/mi-var-cmd.exp: Update.
4841 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4842 * gdb.cp/virtbase.exp: Update.
4843 * gdb.cp/classes.exp (test_static_members): Update.
4844 * gdb.cp/casts.exp: Update.
4845 * gdb.base/pointers.exp: Update.
4846 * gdb.base/funcargs.exp (pointer_args): Update.
4847 (structs_by_reference): Update.
4848 * gdb.base/find.exp: Update.
4849 * gdb.base/call-strs.exp: Send "set print symbol off".
4850 * gdb.base/call-ar-st.exp: Update.
4851 * gdb.ada/fun_addr.exp: Update.
4852 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4854 (test_print_repeats_10, test_print_strings)
4855 (test_print_char_arrays): Update.
4857 2012-05-18 Tom Tromey <tromey@redhat.com>
4859 * gdb.base/charset.exp (string_display): Update.
4861 2012-05-18 Tom Tromey <tromey@redhat.com>
4863 * gdb.mi/mi2-var-display.exp: Update.
4864 * gdb.mi/mi-var-display.exp: Update.
4865 * gdb.mi/mi-var-child.exp: Update.
4866 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4867 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4869 2012-05-17 Doug Evans <dje@google.com>
4871 * info-macros.exp: Pass "debug" to prepare_for_testing.
4873 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4874 * gdb.ada/Makefile.in (clean): Ditto.
4875 * gdb.arch/Makefile.in (clean): Ditto.
4876 * gdb.asm/Makefile.in (clean): Ditto.
4877 * gdb.base/Makefile.in (clean): Ditto.
4878 * gdb.cell/Makefile.in (clean): Ditto.
4879 * gdb.cp/Makefile.in (clean): Ditto.
4880 * gdb.disasm/Makefile.in (clean): Ditto.
4881 * gdb.dwarf2/Makefile.in (clean): Ditto.
4882 * gdb.fortran/Makefile.in (clean): Ditto.
4883 * gdb.go/Makefile.in (clean): Ditto.
4884 * gdb.hp/Makefile.in (clean): Ditto.
4885 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4886 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4887 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4888 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4889 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4890 * gdb.java/Makefile.in (clean): Ditto.
4891 * gdb.linespec/Makefile.in (clean): Ditto.
4892 * gdb.mi/Makefile.in (clean): Ditto.
4893 * gdb.modula2/Makefile.in (clean): Ditto.
4894 * gdb.multi/Makefile.in (clean): Ditto.
4895 * gdb.objc/Makefile.in (clean): Ditto.
4896 * gdb.opencl/Makefile.in (clean): Ditto.
4897 * gdb.opt/Makefile.in (clean): Ditto.
4898 * gdb.pascal/Makefile.in (clean): Ditto.
4899 * gdb.python/Makefile.in (clean): Ditto.
4900 * gdb.reverse/Makefile.in (clean): Ditto.
4901 * gdb.server/Makefile.in (clean): Ditto.
4902 * gdb.stabs/Makefile.in (clean): Ditto.
4903 * gdb.threads/Makefile.in (clean): Ditto.
4904 * gdb.trace/Makefile.in (clean): Ditto.
4905 * gdb.xml/Makefile.in (clean): Ditto.
4907 2012-05-16 Tom Tromey <tromey@redhat.com>
4909 * gdb.base/macscp1.c (macscp_expr): Add comment.
4910 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4912 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4914 * gdb.base/return-nodebug.exp: Also test float and double types.
4916 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4919 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4921 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4923 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4925 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4927 (stap_test_no_debuginfo): Likewise.
4929 2012-05-14 Stan Shebs <stan@codesourcery.com>
4931 * gdb.base/dprintf.c: New file.
4932 * gdb.base/dprintf.exp: New file.
4934 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
4936 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4937 * gdb.trace/disconnected-tracing.c: New file.
4938 * gdb.trace/disconnected-tracing.exp: New file.
4940 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4942 * gdb.python/python.c: Add a new breakpoint comment.
4943 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4945 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4947 * gdb.base/info-os.exp: New file.
4948 * gdb.base/info-os.c: New file.
4950 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4952 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4953 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4956 2012-05-10 Joel Brobecker <brobecker@adacore.com>
4958 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4959 gdb.base/ctxobj.exp: New files.
4961 2012-05-09 Tom Tromey <tromey@redhat.com>
4963 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4965 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4967 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4969 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4971 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4974 2012-05-04 Tristan Gingold <gingold@adacore.com>
4976 * gdb.base/set-noassign.exp: New test.
4978 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4980 * gdb.python/py-symbol.exp: Add tests to test the new methods
4981 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4982 * gdb.python/py-symbol.c: Add new struct to help test
4983 gdb.Symtab.static_block().
4985 2012-05-03 Doug Evans <dje@google.com>
4987 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4990 2012-05-03 Yao Qi <yao@codesourcery.com>
4992 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4994 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4995 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4997 2012-05-03 Yao Qi <yao@codesourcery.com>
4999 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
5001 2012-04-30 Doug Evans <dje@google.com>
5004 * gdb.dwarf2/pr13961.S: New file.
5005 * gdb.dwarf2/pr13961.exp: New file.
5007 2012-04-29 Yao Qi <yao@codesourcery.com>
5009 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
5011 2012-04-28 Doug Evans <dje@google.com>
5013 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
5014 .Ltype_int_in_cu2. Use name "int2" instead of "int".
5016 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
5017 "ptype func_cu1" to expand cu2 before cu1.
5019 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
5020 Tom Tromey <tromey@redhat.com>
5022 * gdb.base/default.exp: Add `$_probe_arg*' convenience
5024 * gdb.base/stap-probe.c: New file.
5025 * gdb.base/stap-probe.exp: New file.
5026 * gdb.trace/stap-trace.c: New file.
5027 * gdb.trace/stap-trace.exp: New file.
5028 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
5031 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
5033 * gdb.arch/mips16-thunks-inmain.c: New file.
5034 * gdb.arch/mips16-thunks-main.c: New file.
5035 * gdb.arch/mips16-thunks-sin.c: New file.
5036 * gdb.arch/mips16-thunks-sinfrob.c: New file.
5037 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5038 * gdb.arch/mips16-thunks-sinmain.c: New file.
5039 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5040 * gdb.arch/mips16-thunks.exp: New file.
5042 2012-04-25 Doug Evans <dje@google.com>
5044 * configure.ac: Create gdb.go/Makefile.
5045 * configure: Regenerate.
5046 * gdb.base/default.exp: Add "go" to "set language" testing.
5047 * gdb.go/Makefile.in: New file.
5048 * gdb.go/basic-types.exp: New file.
5049 * gdb.go/chan.exp: New file.
5050 * gdb.go/chan.go: New file.
5051 * gdb.go/handcall.exp: New file.
5052 * gdb.go/handcall.go: New file.
5053 * gdb.go/hello.exp: New file.
5054 * gdb.go/hello.go: New file.
5055 * gdb.go/integers.exp: New file.
5056 * gdb.go/integers.go: New file.
5057 * gdb.go/methods.exp: New file.
5058 * gdb.go/methods.go: New file.
5059 * gdb.go/package.exp: New file.
5060 * gdb.go/package1.go: New file.
5061 * gdb.go/package2.go: New file.
5062 * gdb.go/print.exp: New file.
5063 * gdb.go/strings.exp: New file.
5064 * gdb.go/strings.go: New file.
5065 * gdb.go/types.exp: New file.
5066 * gdb.go/types.go: New file.
5067 * gdb.go/unsafe.exp: New file.
5068 * gdb.go/unsafe.go: New file.
5069 * lib/future.exp: Add Go support.
5070 (gdb_find_go, gdb_find_go_linker): New procs.
5071 (gdb_default_target_compile): Add Go support.
5072 * lib/gdb.exp (skip_go_tests): New proc.
5073 * lib/go.exp: New file.
5075 2012-04-25 Tom Tromey <tromey@redhat.com>
5077 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5079 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5080 Jan Kratochvil <jan.kratochvil@redhat.com>
5083 * gdb.base/enumval.c: New test case.
5084 * gdb.base/enumval.exp: New test case.
5085 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5088 2012-04-17 Pedro Alves <palves@redhat.com>
5090 * Makefile.in (site.exp): Make site.exp source
5091 $srcdir/lib/append_gdb_boards_dir.exp.
5092 * lib/append_gdb_boards_dir.exp: New file.
5094 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5096 New option "set auto-load safe-path".
5097 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5098 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5100 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5102 auto-load: Implementation.
5103 * gdb.base/help.exp (test set height): Increase the height.
5104 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5106 (info auto-load python-scripts): ... here.
5107 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5109 (info auto-load python-scripts *): ... here.
5111 2012-04-16 Yao Qi <yao@codesourcery.com>
5113 * lib/trace-support.exp (get_in_proc_agent): New.
5114 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5115 of in process trace agent.
5116 * gdb.trace/ftrace.exp: Likewise.
5117 * gdb.trace/pending.exp: Likewise.
5118 * gdb.trace/trace-break.exp: Likewise.
5119 * gdb.trace/trace-mt.exp
5120 * gdb.trace/tspeed.exp: Likewise.
5121 * gdb.trace/tstatus.exp
5122 * gdb.trace/strace.exp: Likewise.
5124 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5126 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5127 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5129 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5131 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5134 * gdb.mi/mi-var-rtti.cc: New file.
5135 * gdb.mi/mi-var-rtti.exp: New file.
5136 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5138 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5140 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
5142 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5144 * gdb.python/py-explore.c: C program used for testing the new
5145 'explore' command on C constructs.
5146 * gdb.python/py-explore.cc: C++ program used for testing the new
5147 'explore' command on C++ constructs.
5148 * gdb-python/py-explore.exp: Tests for the new 'explore'
5149 command on C constructs.
5150 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5151 command on C++ constructs.
5153 2012-04-07 Mark Kettenis <kettenis@gnu.org>
5155 * gdb.base/funcargs.exp (complex_args): Fix typo.
5157 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5159 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5160 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5162 2012-04-05 Keith Seitz <keiths@redhat.com>
5164 * gdb.base/advance.exp: Update error message for
5165 "advance malformed" test.
5166 * gdb.base/break.exp: Likewise for "breakpoint with
5167 trailing garbage" test.
5168 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5169 with trailing garbage" test.
5170 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5171 trailng garbage" test.
5172 * gdb.base/until.exp: Likewise for "malformed until" test.
5173 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5174 for "breakpoint info (after setting on all)".
5175 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5177 * gdb.cp/cplabel.cc: New file.
5178 * gdb.cp/cplabel.exp: New test.
5179 * gdb.linespec/ls-errs.c: New file.
5180 * gdb.linespec/ls-errs.exp: New test.
5182 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5184 * gdb.trace/unavailable.exp
5185 (collect globals: print object on: print derived_partial)
5186 (collect globals: print object on: print derived_whole)
5187 (collect globals: print object off: print derived_partial)
5188 (collect globals: print object off: print derived_whole): Update
5191 2012-03-30 Keith Seitz <keiths@redhat.com>
5193 * gdb.python: Add test for linespecs with commas.
5195 2012-03-28 Keith Seitz <keiths@redhat.com>
5197 * gdb.linespec/ls-dollar.cc: New file.
5198 * gdb.linespec/ls-dollar.exp: New test.
5200 2012-03-28 Keith Seitz <keiths@redhat.com>
5202 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5203 starting with the global namespace.
5205 2012-03-23 Doug Evans <dje@google.com>
5207 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5209 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5211 * gdb.python/py-value.cc: Add test case for testing the
5212 methodology exposing C++ values to Python.
5213 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5214 exposing C++ values to Python.
5215 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5217 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5218 Siddhesh Poyarekar <siddhesh@redhat.com>
5220 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5221 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5222 (generate native core dump): Make the test unsupported if core cannot
5225 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5227 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5228 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5229 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5231 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5233 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5235 2012-03-17 Doug Evans <dje@google.com>
5237 * dg-extract-results.sh: Handle KFAILs.
5239 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5242 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5244 2012-03-16 Joel Brobecker <brobecker@adacore.com>
5246 * gdb.ada/set_pckd_arr_elt: New testcase.
5248 2012-03-16 Gary Benson <gbenson@redhat.com>
5250 PR breakpoints/10738
5251 * gdb.opt/inline-break.exp: New file.
5252 * gdb.opt/inline-break.c: Likewise.
5253 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5254 * gdb.dwarf2/dw2-inline-break.S: Likewise.
5255 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5256 * gdb.base/async-shell.exp: Likewise.
5257 * lib/mi-support.exp (library_loaded_re): Likewise.
5259 2012-03-15 Tom Tromey <tromey@redhat.com>
5261 * gdb.cp/virtfunc2.exp: Update expected output.
5262 * gdb.cp/pr9631.exp: Update expected output.
5263 * gdb.cp/member-ptr.exp: Update expected output.
5264 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5266 * gdb.cp/casts.exp: Update expected output.
5268 2012-03-15 Tom Tromey <tromey@redhat.com>
5270 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5271 (test_info_vtbl): Likewise.
5272 (do_tests): Call test_info_vtbl.
5273 * gdb.cp/virtfunc.cc (va): New global.
5275 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5277 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5278 describing DWARF data structures.
5279 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5280 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5281 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5282 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5283 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5284 * gdb.dwarf2/dw2-param-error.S: Likewise.
5285 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5286 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5287 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5288 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5289 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5290 * gdb.dwarf2/pr11465.S: Likewise.
5292 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5294 * gdb.mi/mi2-prompt.exp: New file.
5296 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5298 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5300 2012-03-13 Joel Brobecker <brobecker@adacore.com>
5302 * gdb.ada/bp_range_type: New testcase.
5304 2012-03-13 Doug Evans <dje@google.com>
5306 * gdb.base/default.exp: Delete tests for symbol-reloading.
5307 * gdb.base/help.exp: Ditto.
5308 * gdb.base/setshow.exp: Ditto.
5309 * gdb.base/gdb_history: Delete references to symbol-reloading.
5311 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5313 * gdb.base/attach-twice.c: New files.
5314 * gdb.base/attach-twice.exp: New files.
5316 2012-03-08 Keith Seitz <keiths@redhat.com>
5318 * lib/gdb.exp (gdb_get_line_number): Throw an
5319 error instead of returning -1.
5320 * gdb.base/break.exp: Remove unused variable
5322 * gdb.base/hbreak2.exp: Likewise.
5323 * gdb.base/sepdebug.exp: Likewise.
5325 2012-03-08 Yao Qi <yao@codesourcery.com>
5326 Pedro Alves <palves@redhat.com>
5328 Fix PR server/13392.
5329 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5330 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5331 download tracepoints.
5332 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5333 (pending_tracepoint_resolved_during_trace): Likewise.
5334 (pending_tracepoint_installed_during_trace): Likewise.
5335 (pending_tracepoint_with_action_resolved): Likewise.
5337 2012-03-08 Keith Seitz <keiths@redhat.com>
5339 * gdb.ada/array_bounds.exp: Get breakpoint for line
5340 with "START", not "STOP".
5341 * gdb.python/py-infthread.exp: Do not continue to
5342 line marked "Break here.", which is undefined.
5344 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
5348 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5350 Implement testsuite workaround for PR breakpoints/13781.
5351 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5352 (set breakpoint condition-evaluation host): New conditional command.
5354 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5356 Fix CU relative vs. absolute DIE offsets.
5357 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5360 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5362 Fix false FAIL on distros with relro linkage as default.
5363 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5364 -Wl,-z,norelro first.
5366 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5368 * gdb.ada/bp_on_var: New testcase.
5370 2012-03-06 Joel Brobecker <brobecker@adacore.com>
5372 * gdb.ada/bp_enum_homonym: New testcase.
5374 2012-03-06 Yao Qi <yao@codesourcery.com>
5376 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5377 x86_64-*-* and i?86-*-*.
5378 Set up KFAIL for gdb/13808.
5380 2012-03-05 Tom Tromey <tromey@redhat.com>
5382 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5383 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5385 2012-03-05 Tom Tromey <tromey@redhat.com>
5387 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5389 2012-03-04 Yao Qi <yao@codesourcery.com>
5391 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5394 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5396 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5397 (print one_two_three, indexes off, print few_reps, indexes off)
5398 (print many_reps, indexes off, print empty, indexes off)
5399 (print one_two_three, print few_reps, print many_reps, print empty):
5400 Call setup_xfail if $gcc_old.
5402 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5404 Implement testsuite workaround for PR breakpoints/13781.
5405 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5406 (set breakpoint condition-evaluation host): New conditional command.
5408 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5412 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5413 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5414 number 1 by $bpnum. Four times.
5416 2012-03-03 Yao Qi <yao@codesourcery.com>
5418 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5420 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5422 Setup KFAIL for PR server/13796.
5423 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5425 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5427 * gdb.ada/operator_bp: New testcase.
5429 2012-03-02 Joel Brobecker <brobecker@adacore.com>
5431 * gdb.ada/info_locals_renaming: New testcase.
5433 2012-03-02 Tom Tromey <tromey@redhat.com>
5435 * gdb.base/nextoverexit.c: New file.
5436 * gdb.base/nextoverexit.exp: New file.
5438 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5440 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5443 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5445 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5448 2012-03-01 Maciej W. Rozycki <macro@mips.com>
5449 Maciej W. Rozycki <macro@codesourcery.com>
5450 Daniel Jacobowitz <dan@codesourcery.com>
5452 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5454 2012-03-01 Pedro Alves <palves@redhat.com>
5458 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5459 (gdb_collect_globals_test): Call it.
5461 2012-03-01 Keith Seitz <keiths@redhat.com>
5463 * gdb.cp/method2.exp: Output of overload menu is now
5464 alphabetized. Update tests for "break A::method".
5465 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5466 of hard-coding them.
5467 Overload menu is alphabetized: rewrite to accommodate.
5468 Unset variables LINE and TYPES which are used in other tests.
5469 Compute the output of "info break".
5470 Update the breakpoint table after all breakpoints are deleted.
5471 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5472 compute ACTUALS and the method body based on parameters.
5473 Update expected output accordingly.
5474 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5475 unique comments to allow the use of gdb_get_line_number.
5477 2012-03-01 Keith Seitz <keiths@redhat.com>
5479 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5481 * gdb.cp/ovldbreak.exp: Likewise.
5483 2012-03-01 Keith Seitz <keiths@redhat.com>
5485 * gdb.base/help.exp (help show user): Update expected result
5486 for new doc string changes (add "non-python").
5488 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
5490 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5491 be put in the user-defined category and that the commands appear in
5492 "help user-defined".
5494 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5496 * gdb.ada/tagged_not_init: New testcase.
5498 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5500 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5501 * gdb.ada/enum_idx_packed: New testcase.
5503 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5505 * gdb.ada/aliased_array: New testcase.
5507 2012-02-29 Joel Brobecker <brobecker@adacore.com>
5509 * gdb.ada/whatis_array_val: New testcase.
5511 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5513 Fix disp-step-syscall.exp: fork: single step over fork.
5514 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5516 (single step over $syscall): Remove its check.
5517 (single step over $syscall final pc): New check.
5519 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5521 Support processors without SSSE3.
5522 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5524 (ssse3_test): ... a new function.
5525 (main): Call ssse3_test.
5526 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5527 Update expected values everywhere.
5528 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5529 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5530 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5531 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5532 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5533 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5534 Move these tests lower.
5535 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5536 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5537 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5540 2012-02-29 Yao Qi <yao@codesourcery.com>
5541 Pedro Alves <palves@redhat.com>
5543 * gdb.trace/trace-mt.c: New.
5544 * gdb.trace/trace-mt.exp: New.
5546 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5548 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5549 numbers instead of hardcoding them.
5550 * gdb.base/annota1.c: Provide suitable markers.
5551 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5552 numbers instead of hardcoding them.
5553 * gdb.base/annota3.c: Provide suitable markers.
5555 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5556 * gdb.base/annota3.c: Likewise.
5557 * gdb.base/sigall.c: Likewise.
5558 * gdb.base/signals.c: Likewise.
5559 * gdb.reverse/sigall-reverse.c: Likewise.
5561 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5563 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5564 failure return path.
5566 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
5568 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5570 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
5572 * gdb.base/cond-eval-mode.exp: New file.
5574 2012-02-24 Pedro Alves <palves@redhat.com>
5576 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5577 (top level): Use with_test_prefix.
5579 2012-02-24 Pedro Alves <palves@redhat.com>
5581 * gdb.threads/attach-into-signal.exp (corefunc): Use
5584 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5586 Fix false FAILs on old CPUs without SSE.
5587 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5588 Return untested for Illegal instruction.
5590 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5592 Fix false FAILs with glibc debug infos installed.
5593 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5594 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5596 2012-02-22 Sterling Augustine <saugustine@google.com>
5598 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5601 2012-02-21 Pedro Alves <palves@redhat.com>
5603 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5605 2012-02-21 Pedro Alves <palves@redhat.com>
5607 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5609 2012-02-21 Pedro Alves <palves@redhat.com>
5611 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5614 2012-02-21 Pedro Alves <palves@redhat.com>
5616 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5617 with_test_prefix here.
5618 (top level): Do it here instead. Remove `:' from the
5619 with_test_prefix string.
5620 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5621 the suffix `:' from the with_test_prefix prefix string.
5622 * gdb.base/break-interp.exp: Ditto.
5623 * gdb.base/catch-load.exp: Ditto.
5624 * gdb.base/disp-step-syscall.exp: Ditto.
5625 * gdb.base/jit-so.exp: Ditto.
5626 * gdb.base/jit.exp: Ditto.
5627 * gdb.base/sepdebug.exp: Ditto.
5628 * gdb.base/solib-display.exp: Ditto.
5629 * gdb.base/solib-overlap.exp: Ditto.
5630 * gdb.base/watch-cond-infcall.exp: Ditto.
5631 * gdb.base/watchpoint.exp: Ditto.
5632 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5633 * gdb.mi/mi-watch.exp: Ditto.
5634 * gdb.mi/mi2-watch.exp: Ditto.
5635 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5636 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5637 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5638 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5639 * gdb.threads/watchpoint-fork.exp: Ditto.
5640 * gdb.threads/watchthreads-reorder.exp: Ditto.
5641 * gdb.trace/change-loc.exp: Ditto.
5642 * gdb.trace/pending.exp: Ditto.
5643 * gdb.trace/status-stop.exp: Ditto.
5644 * gdb.trace/strace.exp: Ditto.
5645 * gdb.trace/trace-break.exp: Ditto.
5646 * gdb.trace/unavailable.exp: Ditto.
5647 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5648 suffix with colon. Adjust leading comments.
5650 2012-02-21 Pedro Alves <palves@redhat.com>
5651 Tom Tromey <tromey@redhat.com>
5653 * lib/gdb.exp: Add description of test prefixes.
5654 (with_test_prefix): New procedure.
5655 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5656 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5657 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5658 instead of lappend to append to pf_prefix.
5659 * gdb.base/catch-load.exp: Use with_test_prefix.
5660 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5661 * gdb.base/jit-so.exp: Use with_test_prefix.
5662 * gdb.base/jit.exp: Use with_test_prefix.
5663 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5664 lappend to append to pf_prefix.
5665 * gdb.base/sepdebug.exp: Use with_test_prefix.
5666 * gdb.base/solib-display.exp: Use with_test_prefix.
5667 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5668 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5669 * gdb.base/watchpoint.exp: Use with_test_prefix.
5670 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5671 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5672 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5673 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5674 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5675 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5676 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5677 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5678 append instead of lappend to append to pf_prefix.
5679 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5680 * gdb.trace/change-loc.exp: Use with_test_prefix.
5681 * gdb.trace/pending.exp: Use with_test_prefix.
5682 * gdb.trace/status-stop.exp: Use with_test_prefix.
5683 * gdb.trace/strace.exp: Use with_test_prefix.
5684 * gdb.trace/trace-break.exp: Use with_test_prefix.
5685 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5686 instead of lappend to append to pf_prefix.
5688 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5691 * gdb.base/inferior-died.c (main): Add return of 0.
5692 * gdb.base/inferior-died.exp (continue): Fix expectation of
5693 asynchronous events.
5696 2012-02-20 Pedro Alves <palves@redhat.com>
5698 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5699 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5700 gdb's internal debug output. For the non-threaded case, look for
5701 "Program received signal SIGLARM", for the threaded case, peek at
5702 the thread's siginfo.
5704 2012-02-20 Pedro Alves <palves@redhat.com>
5706 General cleanup, make output test messages unique, and build
5707 different executable files for the non-threaded and threaded
5710 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5712 (executable_nothr, executable_thr): New globals.
5713 (top level): Adjust to delete both executables.
5714 (corefunc): New parameter $executable. Set $pf_prefix instead of
5715 hand writing a prefix in tests. Issue a clean_restart and enable
5716 lin-lwp debug output here.
5717 (top level): Adjust. Use build_executable. Don't start gdb here,
5718 and don't enable lin-lwp debug output here.
5719 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5721 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5724 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5727 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5729 Fix for gdbserver non-extended mode.
5730 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5733 2012-02-17 Tom Tromey <tromey@redhat.com>
5735 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5736 * gdb.python/py-events.exp: Check 'dir' output.
5737 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5739 2012-02-17 Yao Qi <yao@codesourcery.com>
5741 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5743 2012-02-16 Tom Tromey <tromey@redhat.com>
5745 * gdb.base/inferior-died.c: Don't include stdio.h.
5747 2012-02-16 Tom Tromey <tromey@redhat.com>
5749 * gdb.base/inferior-died.c: New file.
5750 * gdb.base/inferior-died.exp: New file.
5752 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5754 * gdb.base/break-inline.exp: New file.
5755 * gdb.base/break-inline.c: New file.
5757 2012-02-15 Tom Tromey <tromey@redhat.com>
5759 * gdb.base/pc-fp.exp: Add "info register" tests.
5761 2012-02-15 Tom Tromey <tromey@redhat.com>
5763 * gdb.base/regs.exp: Remove.
5765 2012-02-15 Pedro Alves <palves@redhat.com>
5767 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5768 the target doesn't support tracepoints.
5769 * gdb.trace/circ.exp: Ditto.
5770 * gdb.trace/collection.exp: Ditto.
5771 * gdb.trace/packetlen.exp: Ditto.
5772 * gdb.trace/passc-dyn.exp: Ditto.
5773 * gdb.trace/report.exp: Ditto.
5774 * gdb.trace/tfind.exp: Ditto.
5775 * gdb.trace/tspeed.exp: Ditto.
5776 * gdb.trace/tsv.exp: Ditto.
5777 * gdb.trace/unavailable.exp: Ditto.
5778 * gdb.trace/while-dyn.exp: Ditto.
5780 2012-02-15 Pedro Alves <palves@redhat.com>
5782 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5783 gdb_test_multiple, and call unsupported instead of fail, if the
5784 remote side does not support the request.
5786 2012-02-15 Pedro Alves <palves@redhat.com>
5788 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5789 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5790 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5791 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5792 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5793 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5794 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5795 doesn't start with "extended-" already.
5797 2012-02-15 Pedro Alves <palves@redhat.com>
5799 Support extended-remote. Avoid cascading timeouts.
5801 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5802 the extended-remote target. If attaching with no file fails, load
5804 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5806 2012-02-14 Stan Shebs <stan@codesourcery.com>
5808 * gdb.base/ena-dis-br.exp: Add enable count test.
5810 2012-02-13 Pedro Alves <palves@redhat.com>
5812 * config/mips-idt.exp: Delete.
5813 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5814 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5815 * gdb.base/break.exp: Remove mips-idt references.
5816 * gdb.base/chng-syms.exp: Ditto.
5817 * gdb.base/default.exp: Ditto.
5818 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5819 (top level): Don't call it.
5820 * gdb.base/opaque.exp: Remove mips-idt restarts.
5821 * gdb.base/ptype.exp: Remove mips-idt xfails.
5822 * gdb.base/scope.exp: Remove mips-idt restarts.
5823 * gdb.base/sepdebug.exp: Remove mips-idt references.
5824 * gdb.base/watchpoint.exp (maybe_clean_restart)
5825 (maybe_reinitialize): Delete.
5826 (test_disabling_watchpoints, test_disabling_watchpoints)
5827 (test_watchpoint_triggered_in_syscall)
5828 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5831 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5833 * gdb.server/server-exec-info.exp: New file.
5835 2012-02-10 Pedro Alves <palves@redhat.com>
5837 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5839 (test_attach): Always pass $exec to test_attach_gdb.
5841 2012-02-08 Tom Tromey <tromey@redhat.com>
5843 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5844 before inferior is started.
5846 2012-02-07 Tom Tromey <tromey@redhat.com>
5848 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5850 * gdb.python/py-symbol.c (qq): Set default value.
5852 2012-02-07 Tom Tromey <tromey@redhat.com>
5854 * gdb.python/py-symbol.c (qq): New global.
5855 * gdb.python/py-symbol.exp: Add test for frame-less
5857 * gdb.python/py-symtab.exp: Fix line number.
5859 2012-02-03 Joel Brobecker <brobecker@adacore.com>
5861 * gdb.ada/mi_task_arg: New testcase.
5863 2012-02-02 Pedro Alves <palves@redhat.com>
5865 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5868 2012-02-02 Pedro Alves <palves@redhat.com>
5870 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5871 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5873 2012-02-02 Pedro Alves <palves@redhat.com>
5875 * gdb.base/term.exp: Rewrite.
5876 * gdb.base/term.c: New.
5878 2012-02-02 Pedro Alves <palves@redhat.com>
5880 * gdb.base/default.exp (run "r" abbreviation, run): Add
5881 extended-remote expected output.
5883 2012-02-02 Tom Tromey <tromey@redhat.com>
5885 * gdb.cp/dispcxx.exp: New file.
5886 * gdb.cp/dispcxx.cc: New file.
5888 2012-02-01 Tom Tromey <tromey@redhat.com>
5890 * gdb.base/jit-simple.exp: New file.
5891 * gdb.base/jit-simple.c: New file.
5893 2012-01-30 Yao Qi <yao@codesourcery.com>
5895 * gdb.base/skip.exp: Make test result unique.
5897 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5899 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5900 compatibility with valgrind-3.7.0.
5902 2012-01-27 Pedro Alves <palves@redhat.com>
5904 * gdb.base/watchpoint.exp (no_hw): New global.
5905 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5906 disable hw watchpoints.
5907 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5908 don't expect hw watchpoints.
5909 (no_hw_watchpoints): Always clean restart.
5910 (do_tests): New procedure, factored out from the top level.
5911 (top level): Run tests twice. Once with hw watchpoints enabled,
5912 another time with hw watchpoints disabled.
5914 2012-01-27 Pedro Alves <palves@redhat.com>
5916 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5917 out from the top level.
5918 (top level): Call it instead.
5920 2012-01-27 Pedro Alves <palves@redhat.com>
5922 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5925 2012-01-27 Pedro Alves <palves@redhat.com>
5927 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5929 2012-01-27 Pedro Alves <palves@redhat.com>
5931 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5932 "You may have requested too many hardware
5933 breakpoints/watchpoints".
5935 2012-01-27 Pedro Alves <palves@redhat.com>
5937 * gdb.base/watchpoint.exp (maybe_clean_restart)
5938 (maybe_reinitialize): New.
5939 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5940 expect "hit N times".
5941 (test_disabling_watchpoints, test_complex_watchpoint)
5942 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5943 Call maybe_clean_restart.
5944 (top level): Use clean_restart. Remove "mips-idt-*"
5947 2012-01-27 Pedro Alves <palves@redhat.com>
5949 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5951 2012-01-27 Pedro Alves <palves@redhat.com>
5953 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5954 require `initialize' anymore. Remove unnecessary `initialize'
5957 2012-01-27 Pedro Alves <palves@redhat.com>
5959 * gdb.base/watchpoint.exp (wp_set): Delete.
5960 (initialize, test_simple_watchpoint, top level): Remove dead code.
5962 2012-01-27 Pedro Alves <palves@redhat.com>
5964 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5967 2012-01-27 Pedro Alves <palves@redhat.com>
5969 * config/extended-gdbserver.exp: New file.
5970 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5972 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5973 * boards/native-extended-gdbserver.exp: New file.
5975 2012-01-26 Pedro Alves <palves@redhat.com>
5977 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5978 and gdb_test_multiple.
5980 2012-01-26 Pedro Alves <palves@redhat.com>
5982 Make test messages unique, and more identifiable.
5983 * gdb.multi/watchpoint-multi.exp: Change test messages.
5985 2012-01-25 Tom Tromey <tromey@redhat.com>
5987 * gdb.base/solib-disc.exp: Fix regexps.
5989 2012-01-24 Tom Tromey <tromey@redhat.com>
5991 * lib/mi-support.exp (mi_expect_stop): Add special case for
5993 * gdb.base/catch-load-so.c: New file.
5994 * gdb.base/catch-load.exp: New file.
5995 * gdb.base/catch-load.c: New file.
5996 * gdb.base/break-interp.exp (reach_1): Update regexp.
5998 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6001 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
6004 2012-01-24 Gary Benson <gbenson@redhat.com>
6006 Delete #if 0'd out code.
6007 * gdb.base/default.exp (info catch): Remove.
6008 * gdb.base/gdb_history (info catch): Likewise.
6009 * gdb.base/help.exp (info catch): Likewise.
6011 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6013 Fix watchpoints to be specific for each inferior.
6014 * gdb.multi/watchpoint-multi.c: New file.
6015 * gdb.multi/watchpoint-multi.exp: New file.
6017 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6019 Fix watchpoints across inferior fork.
6020 * gdb.threads/watchpoint-fork-child.c: New file.
6021 * gdb.threads/watchpoint-fork-mt.c: New file.
6022 * gdb.threads/watchpoint-fork-parent.c: New file.
6023 * gdb.threads/watchpoint-fork-st.c: New file.
6024 * gdb.threads/watchpoint-fork.exp: New file.
6025 * gdb.threads/watchpoint-fork.h: New file.
6027 2012-01-23 Pedro Alves <palves@redhat.com>
6029 * gdb.base/call-signal-resume.exp: Allow output after "return".
6031 2012-01-20 Pedro Alves <palves@redhat.com>
6033 * gdb.python/py-finish-breakpoint.py: Fix typo.
6035 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
6037 * gdb.base/info-proc.exp: Also run on remote targets. Main
6038 "info proc" command is now always present; whether target supports
6039 actual info proc operation is detected when attempting to issue
6042 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6046 2012-01-19 Pedro Alves <palves@redhat.com>
6048 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6049 look at the funtions' returns.
6050 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6051 (jprint.print(int, int)): Change return type to int. Adjust.
6053 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6056 * gdb.base/sepdebug.exp: New test.
6058 2012-01-18 Pedro Alves <palves@redhat.com>
6060 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6061 Allow output before ^done.
6063 2012-01-16 Tom Tromey <tromey@redhat.com>
6065 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6066 Add tests for relative directory.
6068 2012-01-16 Tom Tromey <tromey@redhat.com>
6070 * gdb.base/printcmds.c (enum flag_enum): New.
6071 (three): New global.
6072 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6074 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6075 FlagEnumerationPrinter.
6076 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6077 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6080 2012-01-16 Pedro Alves <palves@redhat.com>
6082 * lib/gdb.exp (banned_procedures): New variable.
6083 (banned_variables_traced): Rename to ...
6084 (banned_traced): ... this.
6085 (gdb_init): Also trace banned procedures.
6086 (gdb_finish): Also untrace banned procedures.
6088 2012-01-16 Pedro Alves <palves@redhat.com>
6090 Remove all calls to strace.
6092 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6094 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6095 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6097 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6099 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6100 * gdb.base/pie-execl.exp: Likewise.
6102 2012-01-12 Keith Seitz <keiths@redhat.com>
6105 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6106 (do_anonymous_type_tests): New function.
6107 (main): Call do_anonymous_type_tests.
6108 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6109 (verify_everything): New procedure.
6110 * gdb.mi/mi-var-cp.cc (class A): New class.
6111 (anonymous_structs_and_unions): New function.
6112 (main): Call anonymous_structs_and_unions.
6113 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6114 (verify_everything): New procedure.
6116 2012-01-12 Keith Seitz <keiths@redhat.com>
6118 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6119 (varobj_tree::get_path_expr): Assume that all varobjs are
6120 compound unless they are known simple types.
6121 Adjust path expressions based on parent type, path parent type,
6123 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6125 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6127 2012-01-11 Pedro Alves <palves@redhat.com>
6129 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6130 core files on this machine" anymore.
6132 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6134 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6135 (main): Repeat recurser call.
6136 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6137 equivalent to 'local_x'.
6139 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6140 Joel Brobecker <brobecker@adacore.com>
6142 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6144 2012-01-05 Pedro Alves <alves.ped@gmail.com>
6146 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6147 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6148 * gdb.python/py-events.exp: Test that "step N" tripping on a
6149 breakpoint emits a breakpoint event.
6151 2012-01-03 Joel Brobecker <brobecker@adacore.com>
6153 * gdb.base/auxv.exp: Reformat the copyright notice.
6155 2012-01-03 Yao Qi <yao@codesourcery.com>
6157 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6158 (strace_trace_on_diff_addr): New.
6159 * gdb.trace/strace.c: (main): Add two local variables.
6161 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6163 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6164 * gdb.cell/gcore.exp: Likewise.
6165 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6166 to verify the correct instance of main is selected.
6168 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6170 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6171 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6172 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6173 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6174 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6175 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6176 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6177 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6178 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6179 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6180 gdb.threads/thread_check.c: Reformat copyright header.
6182 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6184 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
6185 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6188 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6190 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6191 parameter to self_exec, adjust the function.
6192 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6193 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6194 (set var do_exit = 0): Remove test.
6195 (newline at end of file): Add one.
6197 2011-12-27 Joel Brobecker <brobecker@adacore.com>
6199 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6202 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6205 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6206 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6207 (main): Call pthread_barrier_init for it.
6209 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6211 Fix double send_gdb leading to racy FAILs.
6212 * gdb.base/break.exp (set silent break bp_location1): Replace
6213 3x send_gdb and gdb_expect by gdb_test.
6214 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6215 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6216 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6217 instead of send_gdb. Twice.
6218 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6219 3x send_gdb and gdb_expect by gdb_test.
6220 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6222 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6224 * gdb.linespec/linespec.exp: Compile using {c++}.
6226 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6228 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6229 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6230 (verify GCC PR debug/51668): New test.
6232 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
6234 Introduce gdb.FinishBreakpoint in Python.
6235 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6236 py-finish-breakpoint2
6237 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6238 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6239 instead of line number.
6240 * gdb.python/py-finish-breakpoint.c: New file.
6241 * gdb.python/py-finish-breakpoint.exp: New file.
6242 * gdb.python/py-finish-breakpoint.py: New file.
6243 * gdb.python/py-finish-breakpoint2.cc: New file.
6244 * gdb.python/py-finish-breakpoint2.exp: New file.
6245 * gdb.python/py-finish-breakpoint2.py: New file.
6247 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6249 Partial fix of compatibility with gcc-4.7.
6250 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6251 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6252 Add comment to add a PASS case in the future.
6254 Fix compatibility with gcc-4.7.
6255 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6257 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6260 * gdb.base/callfuncs.exp: Remove KFAIL.
6262 2011-12-21 Joel Brobecker <brobecker@adacore.com>
6264 * gdb.ada/task_bp: New testcase.
6266 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6268 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6270 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6272 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6274 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6275 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6276 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6277 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6278 conditional for gcc <= 4.5.
6280 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6282 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6284 * gdb.cp/static-method.exp (info addr A::func())
6285 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6286 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6287 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6288 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6289 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6290 (test value of F in k3_m): Likewise.
6291 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6294 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6296 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6297 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6299 * gdb.threads/attachstop-mt.c: Remove.
6300 * gdb.threads/attachstop-mt.exp: Remove.
6302 2011-12-17 Mark Kettenis <kettenis@gnu.org>
6304 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6306 2011-12-16 Doug Evans <dje@google.com>
6308 * boards/native-stdio-gdbserver.exp: New file.
6309 * boards/native-gdbserver.exp: New file.
6311 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6313 (gdbserver_default_get_remote_address): New function.
6314 (gdbserver_start): Call gdb,get_remote_address to compute argument
6315 to "target remote" command.
6317 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6319 * gdb.python/py-function.exp: Change "on" to "full" for
6320 python print-stack. Add set/show python print-stack
6321 off|full|message tests.
6323 2011-12-15 Yao Qi <yao@codesourcery.com>
6325 * gdb.trace/strace.c: New
6326 * gdb.trace/strace.exp: New.
6328 2011-12-14 Tom Tromey <tromey@redhat.com>
6330 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6332 2011-12-14 Doug Evans <dje@google.com>
6334 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6336 2011-12-14 Pedro Alves <pedro@codesourcery.com>
6340 * gdb.mi/watch-nonstop.c: New file.
6341 * gdb.mi/mi-watch-nonstop.exp: New file.
6343 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6344 Doug Evans <dje@google.com>
6346 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6347 (clean_restart): Remove references to the gdb_stub target board
6349 (gdb_step_for_stub): Delete.
6351 * gdb.base/annota1.exp: Remove all references to [target_info
6352 exists gdb_stub], gdb_step_for_stub and usestubs.
6353 * gdb.base/annota3.exp: Ditto.
6354 * gdb.base/async.exp: Ditto.
6355 * gdb.base/break.exp: Ditto.
6356 * gdb.base/code-expr.exp: Ditto.
6357 * gdb.base/commands.exp: Ditto.
6358 * gdb.base/completion.exp: Ditto.
6359 * gdb.base/condbreak.exp: Ditto.
6360 * gdb.base/consecutive.exp: Ditto.
6361 * gdb.base/cvexpr.exp: Ditto.
6362 * gdb.base/define.exp: Ditto.
6363 * gdb.base/display.exp: Ditto.
6364 * gdb.base/ena-dis-br.exp: Ditto.
6365 * gdb.base/environ.exp: Ditto.
6366 * gdb.base/gnu-ifunc.exp: Ditto.
6367 * gdb.base/maint.exp: Ditto.
6368 * gdb.base/pending.exp: Ditto.
6369 * gdb.base/sect-cmd.exp: Ditto.
6370 * gdb.base/sepdebug.exp: Ditto.
6371 * gdb.base/unload.exp: Ditto.
6372 * gdb.base/watchpoint-solib.exp: Ditto.
6373 * gdb.cp/annota2.exp: Ditto.
6374 * gdb.cp/annota3.exp: Ditto.
6375 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6376 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6377 * gdb.mi/mi-pending.exp: Ditto.
6378 * gdb.trace/circ.exp: Ditto.
6379 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6380 * gdb.base/list.exp: Ditto.
6382 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6383 breakpoint function and all references to the usestubs macro.
6384 * gdb.base/exprs.c: Ditto.
6385 * gdb.base/freebpcmd.c: Ditto.
6386 * gdb.base/bitfields.c: Ditto.
6387 * gdb.base/bitfields2.c: Ditto.
6388 * gdb.base/break.c: Ditto.
6389 * gdb.base/call-sc.c: Ditto.
6390 * gdb.base/call-signals.c: Ditto.
6391 * gdb.base/callfuncs.c: Ditto.
6392 * gdb.base/charset.c: Ditto.
6393 * gdb.base/consecutive.c: Ditto.
6394 * gdb.base/constvars.c: Ditto.
6395 * gdb.base/funcargs.c: Ditto.
6396 * gdb.base/int-type.c: Ditto.
6397 * gdb.base/interrupt.c: Ditto.
6398 * gdb.base/langs0.c: Ditto.
6399 * gdb.base/list0.c: Ditto.
6400 * gdb.base/mips_pro.c: Ditto.
6401 * gdb.base/miscexprs.c: Ditto.
6402 * gdb.base/nodebug.c: Ditto.
6403 * gdb.base/opaque0.c: Ditto.
6404 * gdb.base/pointers.c: Ditto.
6405 * gdb.base/printcmds.c: Ditto.
6406 * gdb.base/ptype.c: Ditto.
6407 * gdb.base/recurse.c: Ditto.
6408 * gdb.base/reread1.c: Ditto.
6409 * gdb.base/reread2.c: Ditto.
6410 * gdb.base/restore.c: Ditto.
6411 * gdb.base/return.c: Ditto.
6412 * gdb.base/run.c: Ditto.
6413 * gdb.base/scope0.c: Ditto.
6414 * gdb.base/sepdebug.c: Ditto.
6415 * gdb.base/setshow.c: Ditto.
6416 * gdb.base/setvar.c: Ditto.
6417 * gdb.base/sigall.c: Ditto.
6418 * gdb.base/signals.c: Ditto.
6419 * gdb.base/structs.c: Ditto.
6420 * gdb.base/structs2.c: Ditto.
6421 * gdb.base/testenv.c: Ditto.
6422 * gdb.base/twice.c: Ditto.
6423 * gdb.base/unwindonsignal.c: Ditto.
6424 * gdb.base/watchpoint.c: Ditto.
6425 * gdb.base/watchpoints.c: Ditto.
6426 * gdb.base/whatis.c: Ditto.
6427 * gdb.cp/classes.cc: Ditto.
6428 * gdb.cp/cplusfuncs.cc: Ditto.
6429 * gdb.cp/derivation.cc: Ditto.
6430 * gdb.cp/formatted-ref.cc: Ditto.
6431 * gdb.cp/misc.cc: Ditto.
6432 * gdb.cp/overload.cc: Ditto.
6433 * gdb.cp/ovldbreak.cc: Ditto.
6434 * gdb.cp/ref-params.cc: Ditto.
6435 * gdb.cp/ref-types.cc: Ditto.
6436 * gdb.cp/templates.cc: Ditto.
6437 * gdb.cp/virtfunc.cc: Ditto.
6438 * gdb.hp/gdb.aCC/run.c: Ditto.
6439 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6440 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6441 * gdb.reverse/consecutive-reverse.c: Ditto.
6442 * gdb.reverse/sigall-reverse.c: Ditto.
6443 * gdb.reverse/until-reverse.c: Ditto.
6444 * gdb.reverse/watch-reverse.c: Ditto.
6445 * gdb.trace/actions.c: Ditto.
6446 * gdb.trace/circ.c: Ditto.
6447 * gdb.trace/collection.c: Ditto.
6449 2011-12-13 Pedro Alves <pedro@codesourcery.com>
6451 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6452 (func6, func7): New.
6453 (main): Call func6 and func7.
6454 * gdb.base/watchpoint.exp (test_wide_location_1)
6455 (test_wide_location_2): New.
6456 (top level): Re-enable hardware watchpoints if necessary. Call
6457 test_wide_location_1 and test_wide_location_2.
6459 2011-12-11 Yao Qi <yao@codesourcery.com>
6461 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6463 2011-12-11 Joel Brobecker <brobecker@adacore.com>
6465 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6466 expected output for unsupported case.
6468 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6471 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6472 Protect gdb_test_multiple by final $gdb_prompt match.
6474 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6476 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6477 New variable, new test.
6478 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6479 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6480 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6481 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6482 them if HAVE_GCC_45682_FIXED is not set.
6484 2011-12-10 Yao Qi <yao@codesourcery.com>
6486 * gdb.trace/status-stop.exp: New.
6487 * gdb.trace/status-stop.c: New.
6489 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6491 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6494 2011-12-08 Tom Tromey <tromey@redhat.com>
6496 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6499 2011-12-07 Stan Shebs <stan@codesourcery.com>
6501 * gdb.trace/tfind.exp: Update for output changes.
6503 2011-12-07 Pedro Alves <pedro@codesourcery.com>
6505 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6506 throws "Cannot insert catchpoints in this configuration".
6507 * gdb.ada/mi_catch_ex.exp: Likewise.
6509 2011-12-06 Pedro Alves <pedro@codesourcery.com>
6511 * gdb.base/break-always.exp: Test changing memory at addresses
6512 with breakpoints inserted.
6514 2011-12-06 Joel Brobecker <brobecker@acacore.com>
6516 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6517 involving a fully qualified function name.
6519 2011-12-06 Tom Tromey <tromey@redhat.com>
6521 * gdb.ada/homonym.exp: Add three breakpoint tests.
6523 2011-12-06 Tom Tromey <tromey@redhat.com>
6525 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6526 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6527 * gdb.objc/objcdecode.exp: Update for output changes.
6528 * gdb.linespec/linespec.exp: New file.
6529 * gdb.linespec/lspec.cc: New file.
6530 * gdb.linespec/lspec.h: New file.
6531 * gdb.linespec/body.h: New file.
6532 * gdb.linespec/base/two/thefile.cc: New file.
6533 * gdb.linespec/base/one/thefile.cc: New file.
6534 * gdb.linespec/Makefile.in: New file.
6535 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6537 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6538 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6539 makes one breakpoint.
6540 * gdb.cp/method2.exp (test_break): Update for output changes.
6541 * gdb.cp/mb-templates.exp: Update for output changes.
6542 * gdb.cp/mb-inline.exp: Update for output changes.
6543 * gdb.cp/mb-ctor.exp: Update for output changes.
6544 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6545 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6546 has multiple matches.
6547 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6548 error message change.
6549 * gdb.base/list.exp (test_list_filename_and_number): Update for
6550 error message change.
6551 * gdb.base/break.exp: Disable pending breakpoints. Update for
6553 * configure.ac: Add gdb.linespec.
6554 * configure: Rebuild.
6555 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6557 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6559 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6560 last_break register on s390*-*-* targets.
6562 2011-12-06 Joel Brobecker <brobecker@adacore.com>
6564 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6565 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6566 of parameter X in procedure Foo.
6568 2011-12-05 Stan Shebs <stan@codesourcery.com>
6570 * gdb.trace/tfind.exp: Update help string matches.
6572 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6574 * gdb.server/ext-run.exp (get process list): Accept also systemd
6577 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6578 Pedro Alves <pedro@codesourcery.com>
6580 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6582 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6584 * gdb.base/display.exp: Likewise.
6585 * gdb.base/ending-run.exp: Likewise.
6586 * gdb.base/list.exp (test_listsize): Likewise.
6587 * gdb.base/setshow.exp: Likewise.
6588 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6589 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6590 check by global $use_gdb_stub.
6591 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6592 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6593 (default_gdb_init): Unset global $use_gdb_stub.
6594 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6595 by global $use_gdb_stub.
6596 * lib/gdbserver-support.exp: Extend comments for set_board_info
6597 gdb_protocol and gdb,socketport.
6598 (gdbserver_start_extended): Set global gdbserver_protocol and
6599 gdbserver_gdbport. Clear global use_gdb_stub.
6600 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6601 from target use_gdb_stub.
6602 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6604 2011-12-03 Doug Evans <dje@google.com>
6606 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6607 (gdb_step_for_stub): Add comments.
6609 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6611 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6613 (gdb_test_multiple): Likewise.
6615 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6617 Fix gdb.mi/mi-solib.exp without system debug info installed.
6618 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6619 expect attribute, return 0 for it. Update comments.
6621 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6623 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6624 (corrupted list): Adjust the expectation.
6626 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6629 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6630 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6631 * gdb.threads/tls-var-main.c: New file.
6632 * gdb.threads/tls-var.c: New file.
6633 * gdb.threads/tls-var.exp: New file.
6635 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6638 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6639 Protect gdb_test_multiple by final $gdb_prompt match.
6640 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6641 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6642 (test_tracepoints): Likewise.
6644 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6646 PR breakpoints/13346
6647 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6648 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6649 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6651 2011-12-01 Joel Brobecker <brobecker@adacore.com>
6653 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6654 * gdb.ada/homonym/homonym.adb: For use of all types defined
6655 locally inside both Get_Value subprograms.
6657 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6660 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6663 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6665 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6666 environment variable after test completed.
6668 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6670 * gdb.base/solib-nodir.exp: Skip if remote target.
6671 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6672 application. Call gdb_load_shlibs.
6673 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6675 2011-11-29 Joel Brobecker <brobecker@adacore.com>
6677 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6679 2011-11-28 Joel Brobecker <brobecker@adacore.com>
6681 * gdb.ada/fullname_bp: New testcase.
6683 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6686 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6687 Wrap send_gdb into a new gdb_test.
6690 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6691 Convert send_gdb and gdb_expect to gdb_test_multiple.
6693 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6695 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6697 2011-11-23 Keith Seitz <keiths@redhat.com>
6699 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6700 (mi_varobj_tree_test_children_callback): New proc.
6701 (mi_walk_varobj_tree): New proc.
6703 2011-11-22 Tom Tromey <tromey@redhat.com>
6705 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6706 Add "use_mi_command" argument.
6707 (mi_run_cmd, mi_run_with_cli): New procs.
6708 * gdb.mi/solib-lib.c: New file.
6709 * gdb.mi/solib-main.c: New file.
6710 * gdb.mi/mi-solib.exp: New file.
6712 2011-11-21 Doug Evans <dje@google.com>
6714 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6715 _Unwind_DebugHook is missing.
6717 2011-11-20 Stan Shebs <stan@codesourcery.com>
6719 * gdb.trace/tstatus.exp: New.
6720 * gdb.trace/actions.c: Include string.h.
6722 2011-11-18 Yao Qi <yao@codesourcery.com>
6724 * gdb.trace/pending.exp: New.
6725 * gdb.trace/pending.c: New.
6726 * gdb.trace/pendshr1.c: New.
6727 * gdb.trace/pendshr2.c: New.
6728 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6729 tracepoint location becomes pending.
6730 (tracepoint_change_loc_2): New.
6732 2011-11-16 David S. Miller <davem@davemloft.net>
6734 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6735 target is sparc*-*-linux*
6737 2011-11-15 Paul Koning <paul_koning@dell.com>
6739 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6742 2011-11-14 Doug Evans <dje@google.com>
6744 * gdb.base/shell.exp: New file.
6746 2011-11-14 Stan Shebs <stan@codesourcery.com>
6748 * gdb.trace/ftrace.c: New.
6749 * gdb.trace/ftrace.exp: New.
6751 2011-11-14 Yao Qi <yao@codesourcery.com>
6753 * gdb.trace/change-loc-1.c: New.
6754 * gdb.trace/change-loc-2.c: New.
6755 * gdb.trace/change-loc.c: New.
6756 * gdb.trace/change-loc.exp: New.
6757 * gdb.trace/change-loc.h: New.
6758 * gdb.trace/trace-break.c (marker): Define new symbol.
6759 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6761 (break_trace_same_addr_6): New.
6763 2011-11-12 Matt Rice <ratmice@gmail.com>
6765 * gdb.base/info-macros.exp: Make tests for info definitions
6766 test info macro. Add tests for info macro argument processing.
6769 2011-11-11 Keith Seitz <keiths@redhat.com>
6772 * gdb.base/linespecs.exp: New file.
6774 2011-11-11 Doug Evans <dje@google.com>
6776 * gdb.threads/print-threads.exp: Extend timeout for slower
6779 2011-11-10 Doug Evans <dje@google.com>
6781 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6782 "record to end of main" test.
6784 * gdb.python/py-type.c (TS): New typedef.
6786 * gdb.python/py-type.exp: Test field list of typedef.
6788 2011-11-10 Joel Brobecker <brobecker@adacore.com>
6790 * gdb.ada/small_reg_param: New testcase.
6792 2011-11-09 Tom Tromey <tromey@redhat.com>
6794 * gdb.cp/destrprint.exp: New file.
6795 * gdb.cp/destrprint.cc: New file.
6797 2011-11-08 Meador Inge <meadori@codesourcery.com>
6799 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6800 (switch_stack_to_other): New test function.
6801 * gdb.arch/thumb-prologue.exp: New test cases.
6803 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
6805 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6807 2011-11-08 Yao Qi <yao@codesourcery.com>
6809 * gdb.exp (supports_process_record): New.
6810 (supports_reverse): New.
6811 * gdb.reverse/break-precsave.exp: Call support_process_record
6812 to run test conditionally.
6813 * gdb.reverse/consecutive-precsave.exp: Likewise.
6814 * gdb.reverse/i386-precsave.exp: Likewise.
6815 * gdb.reverse/machinestate-precsave.exp: Likewise.
6816 * gdb.reverse/solib-precsave.exp: Likewise.
6817 * gdb.reverse/step-precsave.exp: Likewise.
6818 * gdb.reverse/until-precsave.exp: Likewise.
6819 * gdb.reverse/watch-precsave.exp: Likewise.
6820 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6822 * gdb.reverse/consecutive-reverse.exp: Likewise.
6823 * gdb.reverse/finish-precsave.exp: Likewise.
6824 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6825 * gdb.reverse/finish-reverse.exp: Likewise.
6826 * gdb.reverse/i386-reverse.exp: Likewise.
6827 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6828 * gdb.reverse/machinestate.exp: Likewise.
6829 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6830 * gdb.reverse/sigall-precsave.exp: Likewise.
6831 * gdb.reverse/sigall-reverse.exp: Likewise.
6832 * gdb.reverse/solib-reverse.exp: Likewise.
6833 * gdb.reverse/step-reverse.exp: Likewise.
6834 * gdb.reverse/until-reverse.exp: Likewise.
6835 * gdb.reverse/watch-reverse.exp: Likewise.
6837 2011-11-05 Yao Qi <yao@codesourcery.com>
6839 * gdb.trace/trace-break.exp: Add test on setting two
6840 fast tracepoints at the same address.
6842 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6844 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6846 2011-11-02 Stan Shebs <stan@codesourcery.com>
6848 * gdb.trace/collection.c: Add code using strings.
6849 * gdb.trace/collection.exp: Add tests of string collection.
6851 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6853 * gdb.base/skip-solib.exp (executable_main): New variable.
6854 (binfile_main): Base it on that.
6855 Use $executable_main in clean_restart calls. Drop gdb_exit and
6858 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6861 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6862 breakpoint_re globals import by async. Set string_regex to .* for
6863 async. Remove the optional thread_selected_re and breakpoint_re
6864 globals expectations.
6866 2011-11-01 Joseph Myers <joseph@codesourcery.com>
6868 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6871 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
6873 Add tests for skip command.
6874 * gdb.base/skip-solib-lib.c: New
6875 * gdb.base/skip-solib-main.c: New
6876 * gdb.base/skip-solib.exp: New
6877 * gdb.base/skip.c: New
6878 * gdb.base/skip.exp: New
6879 * gdb.base/skip1.c: New
6880 * gdb.base/Makefile.in: Adding new files.
6882 2011-10-31 Yao Qi <yao@codesourcery.com>
6883 Pedro Alves <pedro@codesourcery.com>
6885 * gdb.trace/trace-break.c: New.
6886 * gdb.trace/trace-break.exp: New.
6888 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6890 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6893 2011-10-28 Pedro Alves <pedro@codesourcery.com>
6895 * gdb.threads/no-unwaited-for-left.c: New.
6896 * gdb.threads/no-unwaited-for-left.exp: New.
6897 * gdb.threads/non-ldr-exc-1.c: New.
6898 * gdb.threads/non-ldr-exc-1.exp: New.
6899 * gdb.threads/non-ldr-exc-2.c: New.
6900 * gdb.threads/non-ldr-exc-2.exp: New.
6901 * gdb.threads/non-ldr-exc-3.c: New.
6902 * gdb.threads/non-ldr-exc-3.exp: New.
6903 * gdb.threads/non-ldr-exc-4.c: New.
6904 * gdb.threads/non-ldr-exc-4.exp: New.
6906 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6908 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6909 * gdb.base/attach-pie-misread.exp: Likewise.
6910 * gdb.base/break-interp.exp: Likewise.
6911 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6912 testcases for use_gdb_stub.
6913 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6914 (continue): New testcase.
6915 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6916 * gdb.threads/attach-into-signal.exp: Likewise.
6917 * gdb.threads/attach-stopped.exp: Likewise.
6918 * gdb.threads/attachstop-mt.exp: Likewise.
6920 2011-10-28 Paul Koning <paul_koning@dell.com>
6922 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6924 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6926 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6927 (mi_gdb_test): Import globals thread_selected_re
6928 and breakpoint_re. Expect them optionally at the regex start.
6930 2011-10-27 Doug Evans <dje@google.com>
6932 * gdb.python/python.exp: Test source -s.
6934 2011-10-26 Paul Koning <paul_koning@dell.com>
6936 * gdb.python/lib-types.cc (struct A): New structure.
6937 * gdb.python/lib-types.exp (deepitems): New tests.
6939 2011-10-25 Paul Koning <paul_koning@dell.com>
6943 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6946 2011-10-24 Yao Qi <yao@codesourcery.com>
6948 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6949 target is tic6x-*-*.
6951 2011-10-21 Joel Brobecker <brobecker@adacore.com>
6953 * gdb.ada/mi_task_info/task_switch.adb: New file.
6954 * gdb.ada/mi_task_info.exp: New file.
6956 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6958 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6959 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6961 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6965 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6968 2011-10-18 Tom Tromey <tromey@redhat.com>
6970 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6972 2011-10-18 Tom Tromey <tromey@redhat.com>
6974 * gdb.base/source.exp: Don't include full file name in test name.
6975 * gdb.python/python.exp: Don't include full file name in test
6978 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6980 * gdb.base/attach-pie-noexec.c: New files.
6981 * gdb.base/attach-pie-noexec.exp: New files.
6983 2011-10-17 Joseph Myers <joseph@codesourcery.com>
6985 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6986 prompt for each extra line in command.
6988 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6990 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6992 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6993 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6994 Change the expected string.
6996 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6998 Fix results with system glibc debug info installed.
6999 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
7000 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
7001 Accept also __libc_ symbol prefix and no prefix.
7003 2011-10-14 Keith Seitz <keiths@redhat.com>
7006 * gdb.cp/converts.cc (foo3_1): New function.
7007 (foo3_2): New functions.
7008 * gdb.cp/converts.exp: Add tests for int to pointer conversion
7009 and null pointer conversions of integer constant zero.
7010 Add test to check if all arguments are checked for incompatible
7013 2011-10-14 Tom Tromey <tromey@redhat.com>
7015 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
7016 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
7019 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7021 Fix internal error regression.
7022 * gdb.dwarf2/implptr-optimized-out.S: New file.
7023 * gdb.dwarf2/implptr-optimized-out.exp: New file.
7025 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7027 Fix empty DWARF expressions DATA vs. SIZE conditionals.
7028 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
7031 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
7032 Use prepare_for_testing, remove clean_restart.
7033 (p arraynoloc, p arraycallnoloc): New tests.
7035 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7037 * gdb.cp/namespace-enum.exp (executable): New variable.
7038 (binfile): Use ${objdir}/${subdir}/ prefix.
7039 Use ${executable} for clean_restart.
7041 2011-10-11 Sterling Augustine <saugustine@google.com>
7043 * gdb.cp/Makefile.in: Add namespace-enum test.
7044 * gdb.cp/namespace-enum.exp: New file.
7045 * gdb.cp/namespace-enum.c: New file.
7046 * gdb.cp/namespace-enum-main.c: New file.
7048 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7050 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7053 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7055 Reimplement @entry in input expressions.
7056 * gdb.base/exprs.c (v_int_array_init): New variable.
7057 * gdb.base/exprs.exp (print v_int_array_init)
7058 (print *v_int_array_init@1, print *v_int_array_init@2)
7059 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7060 (print v_int_array_init[1]@1): New tests.
7062 2011-10-10 Joseph Myers <joseph@codesourcery.com>
7064 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7067 2011-10-09 Doug Evans <dje@google.com>
7069 * gdb.base/alias.exp: Add tests for alias command.
7071 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7073 * gdb.arch/amd64-entry-value.s: New file.
7074 * gdb.mi/mi2-amd64-entry-value.s: New file.
7076 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7078 Display @entry parameter values even for references.
7079 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7081 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7082 reference and datap_input.
7083 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7085 (continue to breakpoint: entry_reference: reference)
7086 (entry_reference: bt at entry)
7087 (continue to breakpoint: entry_reference: breakhere_reference)
7088 (entry_reference: bt, entry_reference: ptype regparam)
7089 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7090 (entry_reference: p regparam@entry, entry_reference: p ®param@entry)
7091 (entry_reference: p regcopy, entry_reference: p nodataparam)
7092 (entry_reference: p nodataparam@entry): New tests.
7094 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7096 Support @entry in input expressions.
7097 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7098 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7099 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7100 (tailcall: p j@entry): New tests.
7101 * gdb.cp/koenig.cc (A::entry): New function.
7103 * gdb.cp/koenig.exp (p entry (c)): New test.
7105 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7107 Display @entry parameter values (without references).
7108 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7109 (different, validity, invalid): New functions.
7111 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7112 stacktest, breakhere_stacktest, different, breakhere_different,
7113 breakhere_validity and breakhere_invalid.
7114 (entry: bt): Update for @entry.
7115 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7116 (entry_validity: *, entry_invalid: *): Many new tests.
7117 * gdb.base/break.exp
7118 (run until breakpoint set at small function, optimized file): Accept
7119 also the @entry suffix.
7120 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7121 * gdb.mi/mi2-amd64-entry-value.c: New files.
7122 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7124 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7126 Protect entry values against self tail calls.
7127 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7129 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7130 (set debug entry-values 1, self: bt debug entry-values): New tests.
7132 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7134 Recognize virtual tail call frames.
7135 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7136 (amb_b, amb_a): New.
7137 (main): Call a and b.
7138 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7139 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7140 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7143 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7145 Implement basic support for DW_TAG_GNU_call_site.
7146 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7147 * gdb.arch/amd64-entry-value.cc: New file.
7148 * gdb.arch/amd64-entry-value.exp: New file.
7150 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7152 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7153 * gdb.dwarf2/implptr-64bit.S: New file.
7154 * gdb.dwarf2/implptr-64bit.exp: New file.
7156 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7158 Fix initial language detection with -readnow.
7159 * gdb.cp/readnow-language.cc: New file.
7160 * gdb.cp/readnow-language.exp: New file.
7162 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7164 Fix printed anonymous struct name.
7165 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7167 2011-10-09 Joseph Myers <joseph@codesourcery.com>
7169 * gdb.base/solib-symbol.exp: Do not include directories in
7170 filenames in expected messages.
7172 2011-10-07 Doug Evans <dje@google.com>
7174 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7176 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
7178 Allow Python notification of new object-file loadings.
7179 * gdb.python/py-events.exp: Test newobjfile event.
7180 * gdb.python/py-events.py: Register newobjfile callback.
7181 * gdb.python/py-events.c: Add call to shared library
7182 * gdb.python/py-events-shlib.c: New file.
7184 2011-10-06 Joseph Myers <joseph@codesourcery.com>
7186 * gdb.base/fixsection.exp: Do not include directories in filename
7187 in expected message.
7189 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7191 Add tests for passing of environment variables to inferior.
7192 * gdb.base/testenv.c: New test source.
7193 * gdb.base/testenv.exp: New expect test.
7195 2011-10-04 Paul Koning <paul_koning@dell.com>
7197 * gdb.python/py-value.c (main): Break before return.
7199 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
7201 PR python/12691: Add the inferior to Python exited event
7202 * gdb.python/py-events.exp: Test the inferior attribute of exited
7204 * gdb.python/py-events.py: Print inferior number on exit.
7205 * gdb.python/py-events.c: Fork the inferior.
7207 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7209 * gdb.base/jit.exp: Add testcase name to log message
7211 2011-10-03 Paul Koning <paul_koning@dell.com>
7212 Jan Kratochvil <jan.kratochvil@redhat.com>
7214 * gdb.python/py-value.exp
7215 (python inval = gdb.parse_and_eval('*(int*)0'))
7216 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7217 (set argc=2, python print argc_lazy): New tests.
7219 2011-10-02 Joel Brobecker <brobecker@adacore.com>
7221 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7223 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7224 Pedro Alves <pedro@codesourcery.com>
7226 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7227 can_read_0, test for it.
7228 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7229 (parse_and_eval with memory error): ... here, make it untested if
7232 2011-09-30 Marek Polacek <mpolacek@redhat.com>
7234 * gdb.python/python.exp (verify pagination beforehand)
7235 (verify pagination afterwards): Fix race by splitting the line.
7237 2011-09-29 Joseph Myers <joseph@codesourcery.com>
7239 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7240 for 64-bit multilibs from i?86-* targets.
7242 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7244 * lib/gdb.exp: Fix a typo in one of the comments.
7246 2011-09-29 Marek Polacek <mpolacek@redhat.com>
7248 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7251 2011-09-28 Paul Koning <paul_koning@dell.com>
7253 * gdb.python/py-type.c (enum E): New.
7254 * gdb.python/py-type.exp (test_fields): Add tests for Python
7255 mapping access to fields.
7256 (test_enums): New test for field access on enums.
7258 2011-09-27 Stan Shebs <stan@codesourcery.com>
7260 * gdb.trace/collection.exp: Test collection of $_ret.
7262 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
7264 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7265 list of compilation switches for <*-*-freebsd*>.
7267 2011-09-19 Stan Shebs <stan@codesourcery.com>
7269 * gdb.trace/tspeed.exp: New file.
7270 * gdb.trace/tspeed.c: New file.
7272 2011-09-18 Yao Qi <yao@codesourcery.com>
7274 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7276 (test_adr_32bit, test_pop_pc): Likewise.
7277 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7279 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7280 in gdb_test_multiple.
7281 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7283 2011-09-17 Yao Qi <yao@codesourcery.com>
7285 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7286 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7287 support single step to signal handler.
7289 2011-09-17 Yao Qi <yao@codesourcery.com>
7291 * gdb.base/disp-step-fork.c: New.
7292 * gdb.base/disp-step-syscall.exp: New.
7293 * gdb.base/disp-step-vfork.c: New.
7295 2011-09-16 Joel Brobecker <brobecker@adacore.com>
7297 * gdb.ada/tasks.exp: Make the expected output for
7298 the `info tasks' tests more resilient to spacing
7301 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7303 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7304 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7306 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
7308 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7309 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7311 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
7313 Handle multiple breakpoint hits in Python interface:
7314 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7316 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7319 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7320 Jan Kratochvil <jan.kratochvil@redhat.com>
7322 * gdb.python/py-events.exp: Remove pretty printing comment.
7323 * gdb.python/py-evsignal.exp: New file.
7324 * gdb.python/py-evthreads.c: Include signal.h.
7325 (thread3): Remove variable count3. Remove variable bad and use raise
7327 (thread2): Remove variable count2. Move thread3 pthread_create here,
7328 merge pthread_join to a single line.
7329 (main): Remove variable count1. Merge pthread_join with pthread_create
7331 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7332 KFAIL python/12966 for gdbserver. Test return value of
7333 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7334 gdb_expect by gdb_test and gdb_test_multiple.
7335 (thread 2, thread 3): New tests.
7337 2011-09-12 Matt Rice <ratmice@gmail.com>
7338 Pedro Alves <pedro@codesourcery.com>
7342 * gdb.base/interp.exp: New tests.
7343 * gdb.base/interp.c: New file.
7345 2011-09-12 Doug Evans <dje@google.com>
7347 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7348 * gdb.dwarf2/typeddwarf.exp: Ditto.
7350 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7352 Fix compatibility with x32 arch.
7353 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7354 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7356 * testsuite/gdb.trace/collection.exp: Likewise.
7357 * testsuite/gdb.trace/report.exp: Likewise.
7358 * testsuite/gdb.trace/unavailable.exp: Likewise.
7359 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7360 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7361 (is_x86_like_target): Check also is_amd64_regs_target.
7363 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7365 PR breakpoints/12435
7366 * gdb.arch/amd64-prologue-xmm.c: New file.
7367 * gdb.arch/amd64-prologue-xmm.exp: New file.
7368 * gdb.arch/amd64-prologue-xmm.s: New file.
7370 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7372 * gdb.dwarf2/dw2-param-error-main.c: New file.
7373 * gdb.dwarf2/dw2-param-error.S: New file.
7374 * gdb.dwarf2/dw2-param-error.exp: New file.
7376 2011-09-08 Pedro Alves <pedro@codesourcery.com>
7378 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7379 inferior's pid and look for a core dump named core.$pid. Use
7380 `remote_file' commands on the host instead of hand coding shell
7381 commands on the build.
7382 * gdb.base/valgrind-db-attach.exp: Kill the program before
7385 2011-09-02 Matt Rice <ratmice@gmail.com>
7387 * lib/prompt.exp: New file for testing the first prompt.
7388 * gdb.python/py-prompt.exp: Ditto.
7389 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7391 2011-09-02 Pedro Alves <pedro@codesourcery.com>
7393 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7394 0, before testing gcore.
7396 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7398 * dw2-ifort-parameter-debug.S: Update copyright year.
7399 * dw2-ifort-parameter.c: Update copyright year.
7400 * dw2-ifort-parameter.exp: Update copyright year.
7402 * dw2-ifort-parameter-debug.S: New file.
7403 * dw2-ifort-parameter.c: New file.
7404 * dw2-ifort-parameter.exp: New file.
7406 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7408 * gdb.base/commands.exp (error_clears_commands_left): New function.
7411 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7413 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7414 (C): Initialize `a'.
7415 * gdb.mi/mi-inheritance-syntax-error.exp
7416 (-data-evaluate-expression $path): Expect `a' as 5.
7418 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7421 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7422 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7423 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7424 keyword in output of -var-info-path-expression.
7426 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7428 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7429 * gdb.trace/collection.exp: Likewise.
7430 * gdb.trace/report.exp: Likewise.
7431 * gdb.trace/unavailable.exp: Likewise.
7432 * gdb.trace/while-dyn.exp: Likewise.
7434 2011-08-18 Keith Seitz <keiths@redhat.com>
7437 * gdb.cp/meth-typedefs.cc: New file.
7438 * gdb.cp/meth-typedefs.exp: New file.
7440 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7442 * gdb.python/python.exp: Add extended-prompt tests.
7444 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7446 * gdb.arch/i386-dr3-watch.exp
7447 (watchpoint on gap1 does not fit debug registers)
7448 (delete all watchpoints): Fix racy expect strings.
7450 2011-08-14 Yao Qi <yao@codesourcery.com>
7452 * gdb.base/maint.exp: set data_section to ".neardata".
7453 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7454 * gdb.base/savedregs.exp: Handle SIGILL.
7455 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7456 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7458 2011-08-12 Doug Evans <dje@google.com>
7460 * gdb.python/py-symbol.exp: Add test for symbol.type.
7462 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7464 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7465 * gdb.mi/mi-pthreads.exp: Likewise.
7466 * gdb.mi/mi2-pthreads.exp: Likewise.
7467 * gdb.mi/gdb669.exp.exp: Likewise.
7469 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7471 * lib/mi-support.exp (detect_async): Rename to...
7472 (mi_detect_async): ... this.
7473 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7474 * gdb.mi/mi-nonstop.exp: Adjust.
7475 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7476 * gdb.mi/mi-nsintrall.exp: Adjust.
7477 * gdb.mi/mi-nsmoribund.exp: Adjust.
7478 * gdb.mi/mi-nsthrexec.exp: Adjust.
7480 2011-08-09 Pedro Alves <pedro@codesourcery.com>
7482 * gdb.base/display.c (do_loops): New `p_i' local.
7483 * gdb.base/display.exp: Test displaying a variable that is
7484 temporarily at a bad address.
7486 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7488 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7489 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7491 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7493 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
7494 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7495 (p fuNC_symtab): Permit also ppc64 leading dot.
7497 2011-08-05 Pedro Alves <pedro@codesourcery.com>
7499 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7501 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7503 2011-08-05 Yao Qi <yao@codesourcery.com>
7505 * gdb.base/callfuncs.exp: Set language after main.
7506 * gdb.cp/cplusfuncs.exp: Likewise.
7507 * gdb.cp/inherit.exp: Likewise.
7509 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7511 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7512 * gdb.base/watch-vfork.exp: Skip on remote targets.
7514 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7516 * gdb.threads/thread-find.exp: Support remote targets.
7518 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7520 * gdb.base/jit.exp: Download solib_binfile to target.
7521 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7522 and call dlopen without full path name.
7523 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7524 dlopen without full path name.
7526 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7528 * gdb.base/break-always.exp: Complete the test
7529 with duplicated breakpoints and enabling/disabling them.
7531 2011-08-02 Tom Tromey <tromey@redhat.com>
7534 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7536 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7539 * gdb.base/float.exp: Add new test case for PR gdb/13045
7540 * gdb.base/float.c: New file.
7542 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7544 * gdb.python/py-mi.exp: Test printers returning string hint, and
7545 also not returning a value.
7546 * gdb.python/py-prettyprint.c: Add testcase for above.
7547 * gdb.python/py-prettyprint.py: Add test printer for above.
7549 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7551 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7552 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7553 (.Ldie30) Add as field "data4".
7554 (.Ldie32) Rename field "b" to "shl".
7555 (abbrev4) Change for the "data4" field.
7556 (abbrev5, abbrev6) Remove.
7557 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7558 (p &s.shl): ... here. Add comment.
7561 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7563 Fix crash on lval_computed values.
7564 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7566 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7568 * gdb.base/help.exp (help whatis): Update the expected string.
7570 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7572 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7573 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7574 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7575 Change the expected string.
7577 2011-07-26 Pedro Alves <pedro@codesourcery.com>
7579 * gdb.base/watchpoint.exp
7580 (test_disable_enable_software_watchpoint): New procedure.
7581 (top level): Run it.
7583 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7585 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7586 executable file "${binfile}", C++ version "${binfile}-cxx".
7587 * gdb.python/py-prettyprint.exp: Likewise.
7588 * gdb.python/py-symbol.exp: Likewise.
7589 * gdb.python/py-type.exp: Likewise.
7590 * gdb.python/py-value.exp: Likewise.
7591 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7592 file name instead of just suffix.
7594 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7596 Fix implicit pointer offsets.
7597 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7598 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7599 (continue to breakpoint: continue to baz breakpoint for implptr)
7600 (sanity check element 0, sanity check element 1)
7601 (enter the inlined function, check element 0 for the offset)
7602 (check element 1 for the offset)
7603 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7604 (set foo breakpoint for implptr): Update the breakpoint number.
7606 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7608 * gdb.python/py-mi.exp: Use different file names for different
7609 versions of the executable under test.
7610 * gdb.python/py-prettyprint.exp: Likewise.
7611 * gdb.python/py-symbol.exp: Likewise.
7612 * gdb.python/py-template.exp: Likewise.
7613 * gdb.python/py-type.exp: Likewise.
7614 * gdb.python/py-value.exp: Likewise.
7616 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7618 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7619 flag after restarting GDB if necessary.
7621 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7623 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7625 2011-07-22 Pedro Alves <pedro@codesourcery.com>
7627 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7628 backend doesn't leave used debug registers behind.
7630 2011-07-22 Tom Tromey <tromey@redhat.com>
7632 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7633 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7635 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7637 2011-07-21 Matt Rice <ratmice@gmail.com>
7639 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7640 in mostlyclean rule. Add files ending in .core.
7642 2011-07-21 Matt Rice <ratmice@gmail.com>
7645 * gdb.base/info-macros.c: New test sources.
7646 * gdb.base/info-macros.exp: New tests.
7648 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7650 * gdb.python/python.exp: Add prompt substitution tests.
7652 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7654 Fix crash if referenced CU is aged out.
7655 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7657 * gdb.dwarf2/implptr.exp: Likewise.
7659 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7661 * gdb.dwarf2/implptr.S: Rebuilt.
7662 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7663 (bar): Use them for j, k, l.
7664 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7666 (print j in implptr:bar): Update for the intp typedef.
7667 (print p[0].x in implptr:foo): Use more exact regex.
7669 2011-07-18 Tom Tromey <tromey@redhat.com>
7671 * gdb.cp/static-method.exp: Add missing single quote.
7673 2011-07-18 Yao Qi <yao@codesourcery.com>
7675 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7677 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7678 * gdb.mi/mi-nonstop.exp: Likewise.
7679 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7680 * gdb.mi/mi-nsintrall.exp: Likewise.
7681 * gdb.mi/mi-nsmoribund.exp: Likewise.
7682 * gdb.mi/mi-nsthrexec.exp: Likewise.
7683 * gdb.python/py-evthreads.exp: Likewise.
7685 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7688 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7689 it. Substitute it instead of test_compiler_info everywhere.
7691 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7693 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7694 remote targets as well.
7696 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7698 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7699 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7701 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7703 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7704 a remote machine, not the host.
7705 (gdb_compile_shlib): Set soname if target is remote.
7707 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7709 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7711 2011-07-13 Matt Rice <ratmice@gmail.com>
7713 * gdb.python/py-objfile-script-gdb.py: Renamed to
7714 py-objfile-script-gdb.py.in.
7715 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7716 py-objfile-script-gdb.py.
7717 * gdb.python/py-objfile-script.exp: Update reference to
7718 py-objfile-script-gdb.py.
7720 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7722 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7723 reference undefined label.
7725 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7727 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7728 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7729 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7730 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7732 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7735 * gdb.python/python.exp: Add maint set/show python print-stack
7736 deprecated tests. Add set/show python print-backtrace tests.
7738 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7740 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7743 2011-07-06 Matt Rice <ratmice@gmail.com>
7745 * gdb.python/python.exp: Update filename paths.
7746 * gdb.python/py-symtab.exp: Ditto.
7748 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7750 * gdb.python/py-evthreads.exp: Add missing `$'.
7752 2011-07-06 Jie Zhang <jie.zhang@analog.com>
7754 * config/bfin.exp: New file.
7755 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7756 * gdb.asm/bfin.inc: New file.
7758 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7760 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
7763 2011-07-05 Tom Tromey <tromey@redhat.com>
7765 * gdb.java/jprint.java (jprint.hi): New field.
7766 * gdb.java/jprint.exp: Print string.
7768 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7770 * gdb.base/call-sc.c: Fix typos.
7771 * gdb.base/ifelse.exp: Likewise.
7772 * gdb.base/structs.c: Likewise.
7774 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7776 * gdb.base/jit-so.exp: New test.
7777 * gdb.base/jit-dlmain.c: New file.
7778 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7780 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7782 * gdb.cp/m-static.exp: Call get_compiler_info.
7783 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7784 * gdb.cp/pr9167.exp (p b): Likewise.
7785 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7786 (test value of P in inner_m, test type of Z in inner_m): Call
7787 setup_xfail for gcc <= 4.5.
7789 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7791 * gdb.cp/paren-type.cc: New files.
7792 * gdb.cp/paren-type.exp: New files.
7794 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7796 Stop on first linespec terminator instead of eating what we can.
7797 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7798 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7799 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7800 (break C::f()): ... this one.
7801 (break C::operator()()): New test.
7802 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7803 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7806 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7808 Fall back linespec to minimal symbols.
7809 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7811 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7812 * gdb.cp/minsym-fallback-main.cc: New file.
7813 * gdb.cp/minsym-fallback.cc: New file.
7814 * gdb.cp/minsym-fallback.exp: New file.
7815 * gdb.cp/minsym-fallback.h: New file.
7817 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7819 * gdb.cp/no-dmgl-verbose.cc: New file.
7820 * gdb.cp/no-dmgl-verbose.exp: New file.
7822 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7824 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7826 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7828 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7829 (complete p 'func<short>(): ... here.
7830 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7831 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7832 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7833 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7834 Make them KFAIL gcc/49546.
7836 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7838 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7840 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7842 Test GCC PR debug/49546.
7843 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7844 (test type of F in k3_m, test value of F in k3_m): New.
7845 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7846 (main): New variable k3. Call k3.k3_m.
7848 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7850 * gdb.ada/packed_array.exp: Fix expected outout.
7852 2011-07-01 Jean-Charles Delay <delay@adacore.com>
7854 * gdb.ada/packed_array.exp: fixed expected output.
7856 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7858 * gdb.ada/same_enum: New testcase.
7860 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7862 * gdb.ada/ptr_typedef: New testcase.
7864 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7866 * gdb.ada/arrayptr.exp: Add ptype test.
7868 2011-07-01 Joel Brobecker <brobecker@adacore.com>
7870 * gdb.ada/char_enum: New testcase.
7872 2011-07-01 Yao Qi <yao@codesourcery.com>
7874 * gdb.base/dump.exp (capture_pointer_with_type): New.
7875 Get value from address instead of name.
7876 Start GDB once, and do `dump' and `restore'
7879 2011-06-30 Jie Zhang <jie.zhang@analog.com>
7880 Mike Frysinger <vapier@gentoo.org>
7882 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7883 helper functions for getting/setting remotetimeout variable.
7884 * lib/gdb.exp (gdb_load): If the target is remote, set
7885 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7886 with $loadtimeout. Set $load_ok to 0 before doing the load.
7887 Instead of returning, immediately, set $load_ok to 0. Call
7888 set_remotetimeout with $oldremotetimeout, and then return if
7891 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
7893 * gdb.python/py-template.exp: Don't run this test if the target
7894 does not support c++ tests.
7896 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7898 Fix non-only rename list for Fortran modules import.
7899 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7901 * gdb.fortran/module.f90 (module moduse): New.
7902 (program module): use moduse, test var_x, var_y and var_z.
7904 2011-06-29 Tom Tromey <tromey@redhat.com>
7907 * gdb.fortran/array-element.exp: Use f90, not f77.
7908 * gdb.fortran/complex.exp: Use f90, not f77.
7909 * gdb.fortran/derived-type.exp: Use f90, not f77.
7910 * gdb.fortran/library-module.exp: Use f90, not f77.
7911 * gdb.fortran/logical.exp: Use f90, not f77.
7912 * gdb.fortran/module.exp: Use f90, not f77.
7913 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7914 * gdb.fortran/subarray.exp: Use f90, not f77.
7916 2011-06-29 Tom Tromey <tromey@redhat.com>
7918 * gdb.fortran/charset.exp: New file.
7919 * gdb.fortran/charset.f90: New file.
7921 2011-06-29 Tom Tromey <tromey@redhat.com>
7924 * lib/future.exp: New file, mostly extracted from ada.exp.
7925 Rewrote compatibility code to use rename.
7926 (gdb_find_gfortran): New proc.
7927 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7929 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7931 * lib/gdb.exp: Always load future.exp.
7933 2011-06-28 Yao Qi <yao@codesourcery.com>
7935 * gdb.cp/exception.cc: Don't include iostream.
7936 (bar): Remove print statement.
7938 (main): Remove print statements. Call function catcher.
7939 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7940 Set breakpoint on catcher, and check the value of parameter.
7942 2011-06-23 Yao Qi <yao@codesourcery.com>
7944 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7945 breakpoint 1.2 is disabled. KFAIL for uclinux.
7947 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7949 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7952 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7954 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7956 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7958 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7960 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7962 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7963 `test_exec_and_symbol_mi_operatons' return value.
7964 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7966 (test_exec_and_symbol_mi_operatons): Likewise.
7967 (test_path_specification): Likewise.
7969 2011-06-23 Yao Qi <yao@codesourcery.com>
7971 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7973 * lib/gdb.exp (support_displaced_stepping): New.
7975 2011-06-23 Yao Qi <yao@codesourcery.com>
7977 * gdb.threads/execl.exp: Skip on remote target.
7979 2011-06-21 Marek Polacek <mpolacek@redhat.com>
7981 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
7984 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7986 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
7988 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7990 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
7993 2011-06-20 Marek Polacek <mpolacek@redhat.com>
7995 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
7997 2011-06-14 Yao Qi <yao@codesourcery.com>
8000 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
8002 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8004 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
8006 2011-06-10 Tom Tromey <tromey@redhat.com>
8008 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
8009 Add tests for pointer-to-member-function.
8010 * gdb.cp/temargs.cc (S::somefunc): New function.
8012 (main): Instantiate K2; call method.
8014 2011-06-08 Joel Brobecker <brobecker@adacore.com>
8016 * gdb.python/py-inferior.c (f2): Make str an array rather
8018 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
8020 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8022 * gdb.base/async-shell.c: New file.
8023 * gdb.base/async-shell.exp: New file.
8025 2011-06-06 Pedro Alves <pedro@codesourcery.com>
8027 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
8029 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
8031 From Stephen Kitt <steve@sk2.org>
8032 * gdb.base/help.exp: Adjust following some spelling corrections
8035 2011-06-01 Yao Qi <yao@codesourcery.com>
8037 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8039 2010-05-31 Keith Seitz <keiths@redhat.com>
8042 * gdb.cp/static-method.cc: New file.
8043 * gdb.cp/static-method.exp: New file.
8045 2010-05-31 Keith Seitz <keiths@redhat.com>
8048 * gdb.cp/anon-ns.cc: New file.
8049 * gdb.cp/anon-ns.exp: New file.
8051 2011-05-31 Pedro Alves <pedro@codesourcery.com>
8053 * gdb.arch/i386-dr3-watch.c: New file.
8054 * gdb.arch/i386-dr3-watch.exp: New file.
8056 2011-05-30 Yao Qi <yao@codesourcery.com>
8058 * gdb.base/callfuncs.c (t_structs_fc): New.
8059 (t_structs_dc, t_structs_ldc): New.
8060 (t_double_many_args):
8061 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8062 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8063 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8064 * gdb.base/callfuncs.exp: Call new functions.
8066 2011-05-30 Yao Qi <yao@codesourcery.com>
8068 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8069 Call rerun_and_prepare for each test to isolate effects.
8071 2011-05-30 Yao Qi <yao@codesourcery.com>
8073 * gdb.base/varargs.c (find_max_float_real): New.
8074 (find_max_double_real, find_max_long_double_real): New.
8075 * gdb.base/varargs.exp: Call these new added functions.
8076 * lib/gdb.exp (setup_kfail_for_target): New.
8078 2011-05-30 Yao Qi <yao@codesourcery.com>
8080 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8081 (callcd, callce, callcf, callc1a, callc1b): New.
8082 (callc2a, callc2b): New.
8083 * gdb.base/funcargs.exp (complex_args): New.
8084 (complex_integral_args, complex_float_integral_args): New.
8085 * lib/gdb.exp (support_complex_tests): New. Determine
8086 whether to run test cases on _Complex types.
8088 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8090 * gdb.threads/leader-exit.c: New file.
8091 * gdb.threads/leader-exit.exp: New file.
8093 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8095 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
8097 2011-05-27 Marek Polacek <mpolacek@redhat.com>
8099 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8100 remove the `supported' variable.
8101 * gdb.mi/mi-nonstop.exp: Likewise.
8102 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8103 * gdb.mi/mi-nsintrall.exp: Likewise.
8104 * gdb.mi/mi-nsmoribund.exp: Likewise.
8105 * gdb.mi/mi-nsthrexec.exp: Likewise.
8107 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8109 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8111 2011-05-26 Pedro Alves <pedro@codesourcery.com>
8113 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8115 2011-05-24 Keith Seitz <keiths@redhat.com>
8118 * gdb.cp/cmpd-minsyms.cc (a): New method.
8121 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8123 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8125 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8126 watchpoint's command list didn't execute when the watchpoint went
8129 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8131 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8132 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8133 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8134 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8135 * gdb.arch/i386-permbkpt.exp: Likewise.
8136 * gdb.arch/i386-prologue.exp: Likewise.
8137 * gdb.arch/i386-size-overlap.exp: Likewise.
8138 * gdb.arch/i386-size.exp: Likewise.
8139 * gdb.arch/i386-unwind.exp: Likewise.
8140 * gdb.reverse/i386-precsave.exp: Likewise.
8141 * gdb.reverse/i386-reverse.exp: Likewise.
8142 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8143 * gdb.reverse/i387-env-reverse.exp: Likewise.
8144 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8146 2011-05-24 Pedro Alves <pedro@codesourcery.com>
8148 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8149 file doesn't error, using MI.
8151 2011-05-23 Tom Tromey <tromey@redhat.com>
8153 * gdb.base/charset.exp (string_display): Add tests to assign to
8155 * gdb.base/charset.c (short_array, int_array, long_array): New.
8157 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8159 Cope with async mode.
8161 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8162 into gdb_test + mi_expect_stop.
8164 2011-05-20 Pedro Alves <pedro@codesourcery.com>
8166 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8167 (callme): Remove printf call.
8169 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8171 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8172 quote pattern to avoid problems with Cygwin/mingw expect versions.
8173 * gdb.base/default.exp (show convenience): Use double
8174 quote pattern for regular expressions.
8176 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8178 Fix -readnow for -gdwarf-4 unused type units.
8179 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8180 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8182 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8184 * gdb.base/kill-after-signal.c: New file.
8185 * gdb.base/kill-after-signal.exp: New file.
8187 2011-05-16 Pedro Alves <pedro@codesourcery.com>
8189 * gdb.ada/start.exp: Call untested with the correct test filename.
8190 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8191 test filename. Make the test's binary unique.
8192 * gdb.arch/i386-signal.exp: Call untested with the correct test
8194 * gdb.arch/i386-size-overlap.exp: Ditto.
8195 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8196 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8197 * gdb.cp/call-c.exp: Ditto.
8198 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8199 filename. Make the test's binary unique.
8200 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8201 * gdb.python/py-mi.exp: Ditto.
8202 * gdb.python/Makefile.in (EXECUTABLES): Update.
8203 * gdb.reverse/i386-precsave.exp: Ditto.
8204 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8206 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8207 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8209 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8211 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8212 * gdb.trace/tfile.exp: Ditto.
8214 2011-05-14 Yao Qi <yao@codesourcery.com>
8216 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8219 2011-05-13 Doug Evans <dje@google.com>
8221 * gdb.python/py-objfile-script.exp: New file.
8222 * gdb.python/py-objfile-script.c: New file.
8223 * gdb.python/py-objfile-script-gdb.py: New file.
8224 * testsuite/gdb.python/py-section-script.exp: Test
8225 "info auto-load-scripts".
8227 2011-05-13 Tom Tromey <tromey@redhat.com>
8229 * gdb.dwarf2/clztest.exp: New file.
8230 * gdb.dwarf2/clztest.c: New file.
8231 * gdb.dwarf2/clztest.S: New file.
8233 2011-05-13 Doug Evans <dje@google.com>
8235 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8238 2011-05-13 Tom Tromey <tromey@redhat.com>
8240 * lib/gdb.exp (is_x86_like_target): New proc.
8241 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8242 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8243 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8244 -nostdlib to compiler.
8245 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8246 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8247 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8248 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8249 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8251 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8253 * gdb.python/py-function.exp: Test setting a value from a function
8254 which executes a command.
8256 2011-05-12 Tom Tromey <tromey@redhat.com>
8258 * gdb.dwarf2/typeddwarf.S: New file.
8259 * gdb.dwarf2/typeddwarf.c: New file.
8260 * gdb.dwarf2/typeddwarf.exp: New file.
8262 2011-05-12 Marek Polacek <mpolacek@redhat.com>
8264 * gdb.mi/mi-basics.exp: Fix races. Honour the
8265 `test_exec_and_symbol_mi_operatons' return value.
8266 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8268 (test_exec_and_symbol_mi_operatons): Likewise.
8269 (test_path_specification): Likewise.
8271 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8273 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8274 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8275 Replace `file copy' and `file rename' by `file mtime'. Twice.
8277 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8279 * gdb.base/readline-ask.c: New file.
8280 * gdb.base/readline-ask.exp: New file.
8281 * gdb.base/readline-ask.inputrc: New file.
8283 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8285 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8286 to avoid race condition.
8287 * gdb.cell/coremaker.c: Use small stack size.
8288 * gdb.cell/ea-standalone.exp: Use file name without path as
8290 * gdb.cell/fork.exp: Allow other output when continuing to end.
8292 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8294 * gdb.threads/corethreads.c: New file.
8295 * gdb.threads/corethreads.exp: New file.
8297 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8299 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8300 Try to compile the test using -Wl,-z,norelro first.
8301 (load_core): New variable libthread_db_seen, initialize it.
8302 (zeroed-threads cannot be listed): Protect it by XFAIL on
8303 !$libthread_db_seen.
8305 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8308 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8309 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8310 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8312 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8314 * gdb.cp/psymtab-parameter.cc: New file.
8315 * gdb.cp/psymtab-parameter.exp: New file.
8317 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8320 * gdb.cp/static-print-quit.exp (print c): Split to ...
8321 (print c - <return>, print c - q <return>, print c - to quit):
8322 ... these. Make the testfile untested on gdb-7.1.
8324 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
8326 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8327 gdb_rename_execfile, gdb_touch_execfile): New.
8328 * gdb.base/reread.exp: Use new procs to handle multiple
8331 2011-05-05 Yao Qi <yao@codesourcery.com>
8333 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8334 (test_adr_32bit, test_pop_pc): New.
8335 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8336 (test_adr_32bit, test_pop_pc): New.
8338 2011-05-04 Joseph Myers <joseph@codesourcery.com>
8340 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8341 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8343 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8346 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8348 * gdb.base/completion.exp (complete help info wat): Rename to ...
8349 (complete 'help info wat'): ... here.
8350 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8351 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8353 2011-05-04 Pedro Alves <pedro@codesourcery.com>
8355 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8356 gdb_test and explicit $gdb_prompt/timeout matches.
8358 2011-05-04 Yao Qi <yao@codesourcery.com>
8360 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8363 2011-05-03 Marek Polacek <mpolacek@redhat.com>
8365 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8366 in place of `gdb_test "delete breakpoints"'. This eliminates two
8369 2011-05-02 Pedro Alves <pedro@codesourcery.com>
8374 * gdb.base/completion.exp: Remove all sleep calls. Remove
8375 unnecessary regexs. Don't explicitly expect anything after the
8376 prompt. Eat the prompt if necessary.
8378 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8380 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8381 accept to show the caller line again as well as the line after.
8383 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8387 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8389 * gdb.python/py-prettyprint.exp: Add C++ object for
8390 CPLUS_FAKE_CHILD test.
8392 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8394 * gdb.base/signest.exp: New file.
8395 * gdb.base/signest.c: Likewise.
8397 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8399 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8400 thread and breakpoint notifications.
8402 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8404 * gdb.base/fortran-sym-case.c: New file.
8405 * gdb.base/fortran-sym-case.exp: New file.
8406 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8407 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8408 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8410 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8412 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8413 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8414 false #1', `if true else false #2' and `if true else false #3'.
8416 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8418 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8419 while delivering signal.
8421 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8423 MI breakpoint notifications.
8425 * testsuite/gdb.mi/mi-cli.exp: Adust.
8426 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8427 * testsuite/gdb.mi/mi-watch.exp: Adust.
8428 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8429 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8432 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8434 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8435 * gdb.base/gdbindex-stabs.c: New file.
8436 * gdb.base/gdbindex-stabs.exp: New file.
8438 2011-04-25 Yao Qi <yao@codesourcery.com>
8440 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8442 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8444 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8446 * gdb.python/py-value.exp (test_objfiles): Name the first test
8447 `py-value in file.filename'.
8449 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8451 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8452 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8453 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8454 !gdbserver_reconnect_p..
8455 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8457 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8459 * gdb.cp/cpcompletion.exp (complete class methods)
8460 (complete class methods beginning with F): Move them above runto. New
8461 comment about the runto delimiter.
8463 2011-04-20 Pedro Alves <pedro@codesourcery.com>
8465 * gdb.base/maint.exp: Test that "maint print registers" works
8466 without a running program.
8468 2011-04-20 Marek Polacek <mpolacek@redhat.com>
8470 * gdb.base/setshow.exp: Fix racy tests.
8471 ($old_gdb_prompt): New variable.
8473 2011-04-19 Tom Tromey <tromey@redhat.com>
8475 * gdb.mi/mi-nsmoribund.exp:
8476 * gdb.hp/gdb.objdbg/objdbg01.exp:
8477 * gdb.base/structs.exp (test_struct_returns):
8478 * gdb.base/call-sc.exp (test_scalar_returns):
8479 * gdb.base/bigcore.exp: Remove duplicate words.
8481 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8483 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8484 * gdb.base/break-interp.exp (test_attach): New comment.
8486 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8488 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8489 (clear __stack_user.next, clear stack_used.next)
8490 (save a zeroed-threads corefile): New test.
8491 Call core_load for $core0file.
8492 (zeroed-threads cannot be listed): New test.
8494 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8496 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8498 ($srcfile): Preserve the original value.
8499 ($testfile): Match it the .exp filename.
8500 ($corefile): New variable. Substitute it around.
8502 ($prev_timeout): Remove.
8503 (load_core): Move core loading into this proc.
8504 Fix restore of $timeout if load_core fails.
8506 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8508 * gdb.base/eu-strip-infcall.c: New file.
8509 * gdb.base/eu-strip-infcall.exp: New file.
8511 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8513 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8514 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8516 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8518 Fix Python access to inlined frames.
8519 * gdb.python/py-frame-inline.c: New file.
8520 * gdb.python/py-frame-inline.exp: New file.
8522 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8524 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8525 content of 's24' correctly (avoiding "optimized out").
8526 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8528 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8530 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8532 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8534 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8535 expect a colon in watch -location output.
8537 2011-04-13 Marek Polacek <mpolacek@redhat.com>
8539 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
8540 New testcase `expect response to define backtrace'. Also remove
8541 redundant `default' block.
8543 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8545 * gdb.python/py-prettyprint.c (struct hint_error): New.
8546 (main): New variable hint_error.
8547 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8549 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8550 (register_pretty_printers): Register it.
8552 2011-04-04 Tom Tromey <tromey@redhat.com>
8554 * gdb.cp/maint.exp (test_help): Update.
8555 (test_namespace): Likewise.
8557 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8559 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8560 * gdb.ada/arrayptr.exp: Add new tests.
8562 2011-04-01 Joel Brobecker <brobecker@adacore.com>
8564 * gdb.ada/mi_catch_ex: New testcase.
8566 2011-04-01 Pedro Alves <pedro@codesourcery.com>
8568 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8569 base::overload(void) method without specifying "const".
8571 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8573 * gdb.arch/thumb-singlestep.S: New file.
8574 * gdb.arch/thumb-singlestep.exp: Likewise.
8576 2011-03-31 Tom Tromey <tromey@redhat.com>
8578 * gdb.python/py-prettyprint.py (exception_flag): New global.
8579 (NoStringContainerPrinter._iterator.next): Check it.
8580 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8581 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8583 2011-03-29 Tom Tromey <tromey@redhat.com>
8585 * gdb.cp/anon-struct.cc: New file.
8586 * gdb.cp/anon-struct.exp: New file.
8588 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8590 Test STT_GNU_IFUNC support.
8591 * gdb.base/gnu-ifunc-lib.c: New file.
8592 * gdb.base/gnu-ifunc.c: New file.
8593 * gdb.base/gnu-ifunc.exp: New file.
8595 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8597 Support a ring of related breakpoints.
8598 * gdb.base/watchpoint-delete.c: New file.
8599 * gdb.base/watchpoint-delete.exp: New file.
8601 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8603 * gdb.ada/arrayparam.exp (print first after function call): Use
8604 explicit package name. Add a comment
8605 (print lasta after function call): Rename ...
8606 (print last after function call): ... it and use explicit package
8608 (print length after function call): Use explicit package name.
8609 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8610 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8611 (multiple matches for symbol i): Rename ...
8612 (multiple matches for symbol integervar): ... it.
8613 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8614 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8616 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
8618 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8619 environment variable to make grep output more predictable. Move
8620 all the environment setup into gdb_init so it's done once per test
8621 case rather than each time we start gdb.
8623 2011-03-24 Tom Tromey <tromey@redhat.com>
8625 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8628 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8630 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8631 * gdb.dwarf2/dw2-entry-value.S: New file.
8632 * gdb.dwarf2/dw2-entry-value.exp: New file.
8634 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8638 * gdb.python/py-function.exp: Add GdbError tests.
8640 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8642 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8643 (reglocal_test_func, statlocal_test_func): New functions.
8644 (globals_test_func): Call new functions.
8645 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8646 (gdb_collect_locals_test): New procedure.
8647 (gdb_trace_collection_test): Call new procedures.
8649 2011-03-18 Pedro Alves <pedro@codesourcery.com>
8651 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8652 (test_register, test_register_unavailable): New procedures.
8653 (gdb_unavailable_registers_test): New procedure.
8654 (gdb_trace_collection_test): Call it.
8656 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8660 * gdb.python/python.exp: Add gdb.write tests.
8662 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8664 * gdb.python/Makefile.in: Add py-objfile.
8665 * gdb.python/py-objfile.exp: New file.
8666 * gdb.python/py-objfile.c: New file.
8667 * gdb.python/py-block.exp: Add is_valid tests.
8668 * gdb.python/py-inferior.exp: Ditto.
8669 * gdb.python/py-infthread.exp: Ditto.
8670 * gdb.python/py-symbol.exp: Ditto.
8671 * gdb.python/py-symtab.exp: Ditto.
8673 2011-03-16 Keith Seitz <keiths@redhat.com>
8676 * gdb.cp/cmpd-minsyms.exp: New test.
8677 * gdb.cp/cmpd-minsyms.cc: New file.
8680 * gdb.cp/ovsrch.exp: New test.
8681 * gdb.cp/ovsrch.h: New file.
8682 * gdb.cp/ovsrch1.cc: New file.
8683 * gdb.cp/ovsrch2.cc: New file.
8684 * gdb.cp/ovsrch3.cc: New file.
8685 * gdb.cp/ovsrch4.cc: New file.
8687 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8690 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8691 * gdb.base/break-on-linker-gcd-function.exp: New test.
8692 * gdb.base/break-on-linker-gcd-function.cc: New file.
8694 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
8696 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8698 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8700 * lib/gdb.exp (gdb_unload): Add another termination case.
8702 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8704 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8705 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8706 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8707 Provide a stub byte there.
8708 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8710 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8712 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8714 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8715 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8716 "generic ABI, auto".
8717 (altivec_abi_tests): Accept vectors returned by reference.
8719 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8721 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8723 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8725 * gdb.python/py-section-script.exp: Skip test if no Python support.
8727 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8729 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8731 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8733 * gdb.python/py-parameter.exp: Update tests to the new Python
8734 parameter API. Add "no documentation" test. Add deprecated API
8735 backward compatibility test.
8737 2011-03-09 Tom Tromey <tromey@redhat.com>
8739 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8740 gdb_continue_to_end.
8742 2011-03-09 Mark Kettenis <kettenis@gnu.org>
8744 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8747 2011-03-09 Tom Tromey <tromey@redhat.com>
8749 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8751 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8753 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8754 argument to gdb_continue_to_end.
8755 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8756 argument to gdb_continue_to_end.
8757 * gdb.cp/annota3.exp: Fix regex.
8758 * gdb.cp/annota2.exp: Fix regex.
8759 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8760 gdb_continue_to_end.
8761 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8762 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8763 gdb_continue_to_end.
8765 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8767 * gdb.server/ext-run.exp
8768 (load new file without any gdbserver inferior): New test.
8770 2011-03-07 Tom Tromey <tromey@redhat.com>
8772 * Makefile.in (TAGS): Rewrite.
8774 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8776 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8777 initial commands echo. New match for `Found trace'. Anchor all the
8778 other matches. Anchor and match for `No trace frame found' the final
8781 2011-03-07 Tom Tromey <tromey@redhat.com>
8783 * Makefile.in (TAGS): New target.
8785 2011-03-07 Tom Tromey <tromey@redhat.com>
8787 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8789 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8791 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8792 exit message change.
8793 (skip_altivec_tests): Update for exit message change.
8794 (skip_vsx_tests): Likewise.
8795 (gdb_continue_to_end): Likewise. Add 'command' argument.
8796 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8797 * gdb.threads/tls.exp: Update for exit message change.
8798 * gdb.threads/thread-unwindonsignal.exp: Use
8799 gdb_continue_to_end.
8800 * gdb.threads/step.exp (step_it): Update for exit message change.
8801 (continue_all): Likewise.
8802 * gdb.threads/print-threads.exp (test_all_threads): Update for
8803 exit message change.
8804 * gdb.threads/interrupted-hand-call.exp: Use
8805 gdb_continue_to_end.
8806 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8807 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8808 gdb_continue_to_end.
8809 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8810 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8811 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8812 * gdb.cp/method.exp: Update for exit message change.
8813 * gdb.cp/mb-templates.exp: Update for exit message change.
8814 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8815 * gdb.cp/annota3.exp: Update for exit message change.
8816 * gdb.cp/annota2.exp: Update for exit message change.
8817 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8818 * gdb.base/term.exp: Update for exit message change.
8819 * gdb.base/step-test.exp (test_i): Update for exit message change.
8820 * gdb.base/sigstep.exp (advance): Update for exit message change.
8821 (advancei): Likewise.
8822 * gdb.base/siginfo.exp: Update for exit message change.
8823 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8824 * gdb.base/reread.exp: Use gdb_continue_to_end.
8825 * gdb.base/langs.exp: Use gdb_continue_to_end.
8826 * gdb.base/interrupt.exp: Update for exit message change.
8827 * gdb.base/gdb1555.exp: Update for exit message change.
8828 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8829 * gdb.base/ending-run.exp: Update for exit message change.
8830 * gdb.base/chng-syms.exp: Update for exit message change.
8831 * gdb.base/checkpoint.exp: Update for exit message change.
8832 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8833 gdb_continue_to_end.
8834 (test_catch_syscall_with_wrong_args): Likewise.
8835 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8836 * gdb.base/break-interp.exp (test_ld): Update for exit message
8838 * gdb.base/bang.exp: Update for exit message change.
8839 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8840 (do_call_attach_tests): Likewise.
8841 * gdb.base/a2-run.exp: Update for exit message change.
8842 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8843 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8844 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8846 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8848 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8850 2011-03-03 Tom Tromey <tromey@redhat.com>
8852 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8853 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8854 * gdb.hp/gdb.aCC/configure.ac: Remove.
8855 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8856 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8857 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8858 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8859 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8860 * gdb.hp/gdb.compat/configure.ac: Remove.
8861 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8862 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8863 * gdb.hp/gdb.defects/configure.ac: Remove.
8864 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8865 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8866 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8867 * gdb.hp/configure.ac: Remove.
8868 * gdb.hp/configure: Remove.
8869 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8871 (Makefile): Remove rule.
8872 * gdb.cell/configure.ac: Remove.
8873 * gdb.cell/configure: Remove.
8874 * gdb.stabs/Makefile.in (Makefile): Remove.
8875 (distclean): Don't remove config.status or config.log.
8876 * gdb.stabs/configure (Makefile): Remove.
8877 * gdb.stabs/configure.ac: Remove.
8878 * configure: Rebuild.
8879 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8880 Remove stabs- and cell-specific logic. Test for existence of
8881 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8882 subdirectories, gdb.cell, and and gdb.stabs.
8883 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8885 2011-03-03 Joel Brobecker <brobecker@adacore.com>
8887 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8890 2011-03-02 Joel Brobecker <brobecker@adacore.com>
8892 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8893 gdb_test when running a test where we expected no output back.
8895 2011-02-28 Michael Snyder <msnyder@vmware.com>
8897 * gdb.cp/overload.cc: Change initializer value to integer.
8899 2011-02-27 Michael Snyder <msnyder@vmware.com>
8901 * gdb.multi/base.exp: Add test for remove-inferiors.
8903 2011-02-26 Joel Brobecker <brobecker@adacore.com>
8905 * gdb.python/py-frame.exp: Simplify the initialization phase
8906 using prepare_for_testing.
8908 2011-02-25 Michael Snyder <msnyder@vmware.com>
8910 * gdb.multi/base.exp: Add tests for info inferiors with args.
8912 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8914 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8915 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8916 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8917 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8918 asmfile3. Comment the STABS (#3) file compilation. Compile
8919 everything through assembler. Provide KFAIL for symtab/12497.
8920 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8921 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8922 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8923 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8925 2011-02-24 Michael Snyder <msnyder@vmware.com>
8927 * gdb.base/break.exp: Add tests for delete breakpoints using
8928 convenience variables and value history references.
8930 2011-02-24 Michael Snyder <msnyder@vmware.com>
8932 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8933 left behind in previous check-in.
8935 2011-02-23 Michael Snyder <msnyder@vmware.com>
8937 * gdb.base/break.exp: Add tests for "info break" with arguments.
8938 * gdb.trace/infotrace.exp: Update patterns for error and help.
8939 * gdb.base/completion.exp: Update pattern.
8940 * gdb.base/ena-dis-br.exp: Update pattern.
8941 * gdb.base/help.exp: Update patterns.
8943 2011-02-23 Michael Snyder <msnyder@vmware.com>
8945 * gdb.base/memattr.exp: New test.
8946 * gdb.base/memattr.c: Test load for memattr.exp.
8948 2011-02-22 Doug Evans <dje@google.com>
8950 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8952 2011-02-22 Michael Snyder <msnyder@vmware.com>
8954 * Makefile.in: Make more clean.
8955 * gdb.ada/Makefile.in: Ditto.
8956 * gdb.arch/Makefile.in: Ditto.
8957 * gdb.asm/Makefile.in: Ditto.
8958 * gdb.base/Makefile.in: Ditto.
8959 * gdb.cp/Makefile.in: Ditto.
8960 * gdb.dwarf2/Makefile.in: Ditto.
8961 * gdb.java/Makefile.in: Ditto.
8962 * gdb.mi/Makefile.in: Ditto.
8963 * gdb.modula2/Makefile.in: Ditto.
8964 * gdb.python/Makefile.in: Ditto.
8965 * gdb.server/Makefile.in: Ditto.
8966 * gdb.stabs/Makefile.in: Ditto.
8967 * gdb.threads/Makefile.in: Ditto.
8968 * gdb.trace/Makefile.in: Ditto.
8970 2011-02-22 Michael Snyder <msnyder@vmware.com>
8972 * gdb.threads/thread-find.exp: Add tests for bad input to
8975 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8977 * gdb.python/py-breakpoint.exp: Fix the expected output of
8978 one of the "maint info breakpoints" tests to accept the output
8979 generated on platforms that do not have hardware watchpoints.
8981 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8983 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8984 clean_restart. Be a little stricter in the expected output
8985 for one of the tests. Fix a typo in one of the comments.
8987 2011-02-22 Joel Brobecker <brobecker@adacore.com>
8989 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8990 Delete variable binfile, no longer use. Add or modify test
8991 comments to make them unique.
8993 2011-02-21 Michael Snyder <msnyder@vmware.com>
8995 * Makefile.in: Update for make clean.
8996 * gdb.ada/Makefile.in: Ditto.
8997 * gdb.arch/Makefile.in: Ditto.
8998 * gdb.asm/Makefile.in: Ditto.
8999 * gdb.base/Makefile.in: Ditto.
9000 * gdb.cp/Makefile.in: Ditto.
9001 * gdb.dwarf2/Makefile.in: Ditto.
9002 * gdb.java/Makefile.in: Ditto.
9003 * gdb.mi/Makefile.in: Ditto.
9004 * gdb.modula2/Makefile.in: Ditto.
9005 * gdb.python/Makefile.in: Ditto.
9006 * gdb.server/Makefile.in: Ditto.
9007 * gdb.stabs/Makefile.in: Ditto.
9008 * gdb.threads/Makefile.in: Ditto.
9009 * gdb.trace/Makefile.in: Ditto.
9011 2011-02-21 Michael Snyder <msnyder@vmware.com>
9013 * gdb.threads/thread-find.exp: Update patterns for changes in
9014 output of "info threads" command.
9016 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9017 Ulrich Weigand <uweigand@de.ibm.com>
9019 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
9020 (skip_hw_watchpoint_tests): Likewise.
9021 (skip_hw_watchpoint_multi_tests): Likewise.
9023 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9025 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
9026 (skip_hw_watchpoint_tests): Likewise.
9027 (skip_hw_watchpoint_multi_tests): Likewise.
9028 (skip_hw_watchpoint_access_tests): Likewise.
9030 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9031 * gdb.base/pr11022.exp: Likewise.
9032 * gdb.base/watch-read.exp: Likewise.
9033 * gdb.base/watch_thread_num.exp: Likewise.
9034 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9035 * gdb.base/watchpoint-hw.exp: Likewise.
9036 * gdb.base/watchpoint.exp: Likewise.
9037 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9038 * gdb.threads/watchthreads-reorder.exp: Likewise.
9039 * gdb.threads/watchthreads.exp: Likewise.
9040 * gdb.threads/watchthreads2.exp: Likewise.
9042 2011-02-21 Joel Brobecker <brobecker@adacore.com>
9044 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9045 the debugger is unable to find the array bounds.
9047 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9049 * gdb.cp/typedef-operator.exp: New file.
9050 * gdb.cp/typedef-operator.cc: New file.
9052 2011-02-17 Michael Snyder <msnyder@vmware.com>
9054 * gdb.threads/thread-find.exp: Fix regular expressions.
9056 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9058 * gdb.ada/packed_array: Expand testcase to test printing of
9059 unconstrained packed array.
9061 2011-02-17 Joel Brobecker <brobecker@adacore.com>
9063 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9065 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9067 * gdb.trace/collection.c (globalarr3): New global.
9068 (main): Initialize it before collecting, and and clear it
9070 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9071 collecting with '{type} addr', where the addr expression is not an
9074 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
9076 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9077 a bool variable. Expect correct OpenCL names for vector types. Use the
9078 uc3 variable name instead of referring to the uchar3 built-in type.
9079 Escape the asterisk at the half pointer test.
9081 2011-02-16 Pedro Alves <pedro@codesourcery.com>
9083 * gdb.trace/collection.c (globalarr2): New global.
9084 (main): Initialize it before collecting, and and clear it
9086 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9087 collecting overlapping memory ranges.
9089 2011-02-15 Michael Snyder <msnyder@vmware.com>
9091 * gdb.base/default.exp: Add tests for thread commands.
9092 * gdb.base/help.exp: Add tests for thread commands.
9093 * gdb.threads/thread-find.exp: New test for thread find command.
9095 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
9097 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9099 2011-02-15 Yao Qi <yao@codesourcery.com>
9102 * gdb.arch/arm-disp-step.S : New test for str instruction.
9103 * gdb.arch/arm-disp-step.exp : Likewise.
9105 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9107 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9108 "vector_register2_vr" test strings. Test the extended floating
9109 point registers (F32~F63).
9110 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9111 IBM XL C compiler. Make the test program use a register provided
9112 by the compiler for the lxvd2x instruction.
9114 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9116 * gdb.trace/unavailable.cc (class Base, class Middle, class
9117 Derived): New types.
9118 (derived_unavail, derived_partial, derived_whole): New globals.
9119 (virtual_partial): New global.
9120 (virtualp): Point at virtual_partial.
9121 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9122 related to unavailable vptr.
9124 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9126 * gdb.trace/unavailable.cc (a, b, c): New globals.
9127 (main): Set and clear them.
9128 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9129 `a' and `c', and check that `b' isn't collected, although `a' and
9132 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9134 * gdb.trace/unavailable.cc (struct Virtual): New.
9135 (virtualp): New global pointer.
9136 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9137 printing a pointer to an object whose type has a vtable, with
9140 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9142 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9143 value repeat handles unavailableness.
9145 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9147 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9148 tests for building arrays from unavailable values, subscripting
9149 non-memory rvalue unvailable arrays, and accessing fields or
9150 baseclasses of non-lazy unavailable values,
9151 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9153 (g_smallstruct, g_smallstruct_b): New globals.
9155 2011-02-14 Pedro Alves <pedro@codesourcery.com>
9157 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9159 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9161 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9162 * gdb.cp/overload-const.exp: New file.
9163 * gdb.cp/overload-const.cc: New file.
9165 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9167 * gdb.opencl/callfuncs.cl: New file.
9168 * gdb.opencl/callfuncs.exp: New test.
9169 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9171 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9173 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9174 when computing result.
9175 * gdb.arch/altivec-abi.exp: Update expected results.
9177 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9179 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9180 * gdb.base/jit.exp: Likewise.
9181 * gdb.base/pie-execl.exp: Likewise.
9182 * gdb.base/solib-nodir.exp: Likewise.
9183 * gdb.base/solib-overlap.exp: Likewise.
9185 2011-02-07 Pedro Alves <pedro@codesourcery.com>
9187 * gdb.trace/collection.c (global_pieces): New.
9188 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9190 (gdb_trace_collection_test): Call it.
9192 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9194 * gdb.python/py-evthreads.c: New file.
9195 * gdb.python/py-evthreads.exp: New file.
9196 * gdb.python/py-events.py: New file.
9197 * gdb.python/py-events.exp: New file.
9198 * gdb.python/py-events.c: New file.
9200 2011-02-04 David Daney <ddaney@caviumnetworks.com>
9202 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9204 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
9206 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9207 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9208 boundary between two compilation units.
9210 2011-02-02 Pedro Alves <pedro@codesourcery.com>
9212 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9213 (Virtual): New structs.
9214 (virtual_o, virtual_middle_b): New globals.
9215 * gdb.cp/virtbase.exp: New tests.
9217 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9219 * gdb.base/jit.exp: New file.
9220 * gdb.base/jit-main.c: New file.
9221 * gdb.base/jit-solib.c: New file.
9223 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9225 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9226 proceed to initial kernel entry point.
9227 * gdb.opencl/datatypes.exp: Likewise.
9228 * gdb.opencl/operators.exp: Likewise.
9229 * gdb.opencl/vec_comps.exp: Likewise.
9231 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9233 * gdb.cp/nsnested.cc: New.
9234 * gdb.cp/nsnested.exp: New.
9235 * gdb.cp/nsnoimports.exp: New.
9236 * gdb.cp/nsnoimports.cc: New.
9238 2011-01-31 Joel Brobecker <brobecker@adacore.com>
9240 * gdb.base/interact.exp: Add extra tests that verify that
9241 the value of the interactive-mode setting does not change
9242 after the script is sourced.
9244 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9246 * gdb.cp/noparam.exp: New file.
9247 * gdb.cp/noparam.cc: New file.
9249 2011-01-28 Pedro Alves <pedro@codesourcery.com>
9251 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9252 there's no stack or registers.
9254 2011-01-26 Tom Tromey <tromey@redhat.com>
9256 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9257 space before string output. Add test for "set print pretty off"
9260 2011-01-25 Pedro Alves <pedro@codesourcery.com>
9262 * gdb.base/frame-args.exp: Adjust.
9263 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9264 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9265 * gdb.dwarf2/pieces.exp: Adjust.
9266 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9267 * gdb.opt/inline-locals.exp: Adjust.
9268 * gdb.threads/fork-child-threads.exp: Adjust.
9270 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
9272 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9273 OpenCL kernel function. Add a comment as marker. Add address space
9274 qualifiers for the remaining program scope variables.
9275 * gdb.opencl/datatypes.cl: Likewise.
9276 * gdb.opencl/operators.cl: Likewise.
9277 * gdb.opencl/vec_comps.cl: Likewise.
9278 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9279 Add breakpoint at the marker comment.
9280 * gdb.opencl/datatypes.exp: Likewise.
9281 * gdb.opencl/operators.exp: Likewise.
9282 * gdb.opencl/vec_comps.exp: Likewise.
9284 2011-01-24 Pedro Alves <pedro@codesourcery.com>
9286 * gdb.base/printcmds.c (some_struct): New struct and instance.
9287 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9289 <global scope>: Call it.
9291 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
9293 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9294 argument to the gdb_compile_opencl_hostapp call.
9296 2011-01-19 Yao Qi <yao@codesourcery.com>
9298 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9301 2011-01-19 Yao Qi <yao@codesourcery.com>
9303 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9306 * gdb.xml/tdesc-regs.exp: Likewise.
9307 * gdb.python/py-section-script.exp: Replace ARM target triplet
9308 with canonical form.
9309 Match arm*-*-symbianelf*.
9310 * gdb.base/dup-sect.exp: Likewise.
9311 * lib/dwarf.exp: New.
9312 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9314 * gdb.dwarf2/dup-psym.exp: Likewise.
9315 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9316 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9317 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9318 * gdb.dwarf2/dw2-basic.exp: Likewise.
9319 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9320 * gdb.dwarf2/dw2-const.exp: Likewise.
9321 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9322 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9323 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9324 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9325 * gdb.dwarf2/dw2-filename.exp: Likewise.
9326 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9327 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9328 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9329 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9330 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9331 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9332 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9333 * gdb.dwarf2/dw2-producer.exp: Likewise.
9334 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9335 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9336 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9337 * gdb.dwarf2/dw2-strp.exp: Likewise.
9338 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9339 * gdb.dwarf2/implptr.exp: Likewise.
9340 * gdb.dwarf2/mac-fileno.exp: Likewise.
9341 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9342 * gdb.dwarf2/pieces.exp: Likewise.
9343 * gdb.dwarf2/pr11465.exp: Likewise.
9344 * gdb.dwarf2/valop.exp: Likewise.
9345 * gdb.dwarf2/watch-notconst.exp: Likewise.
9346 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9348 2011-01-19 Tom Tromey <tromey@redhat.com>
9350 * gdb.python/py-infthread.exp: Add thread tests.
9352 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9354 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9356 2011-01-14 Joel Brobecker <brobecker@adacore.com>
9358 * gdb.ada/widewide: New testcase.
9360 2011-01-13 Joel Brobecker <brobecker@adacore.com>
9362 * gdb.base/interact.exp: New testcase.
9364 2011-01-12 Tom Tromey <tromey@redhat.com>
9366 * gdb.mi/gdb2549.exp: Update for error message changes.
9367 * gdb.mi/mi-cli.exp: Likewise.
9368 * gdb.mi/mi-disassemble.exp: Likewise.
9369 * gdb.mi/mi-pthreads.exp: Likewise.
9370 * gdb.mi/mi-regs.exp: Likewise.
9371 * gdb.mi/mi-stack.exp: Likewise.
9372 * gdb.mi/mi-var-block.exp: Likewise.
9373 * gdb.mi/mi-var-cmd.exp: Likewise.
9374 * gdb.mi/mi2-cli.exp: Likewise.
9375 * gdb.mi/mi2-disassemble.exp: Likewise.
9376 * gdb.mi/mi2-pthreads.exp: Likewise.
9377 * gdb.mi/mi2-regs.exp: Likewise.
9378 * gdb.mi/mi2-stack.exp: Likewise.
9379 * gdb.mi/mi2-var-block.exp: Likewise.
9380 * gdb.mi/mi2-var-cmd.exp: Likewise.
9382 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9383 Jan Kratochvil <jan.kratochvil@redhat.com>
9385 PR fortran/11104 and DWARF unbound arrays detection.
9386 * gdb.fortran/multi-dim.exp: New file.
9387 * gdb.fortran/multi-dim.f90: New file.
9389 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
9391 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9392 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9393 add new tests for opcode dumping.
9395 2011-01-11 Tom Tromey <tromey@redhat.com>
9397 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9399 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9401 Convert hardware watchpoints to use breakpoint_ops.
9402 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9403 type is not supported.
9404 * gdb.base/foll-fork.exp: Likewise.
9405 * gdb.base/foll-vfork.exp: Likewise.
9407 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9409 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9410 Use load_lib gdb-python.exp.
9411 * gdb.python/python.exp: Ditto.
9412 * gdb.python/py-function.exp: Ditto.
9414 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9416 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9418 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9420 * configure: Regenerate.
9422 2011-01-06 Tom Tromey <tromey@redhat.com>
9424 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9426 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9428 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9429 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9430 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9431 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9432 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9433 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9434 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9435 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9436 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9437 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9438 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9439 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9440 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9441 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9442 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9443 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9444 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9445 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9446 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9447 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9448 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9449 gdb.ada/uninitialized_vars.exp,
9450 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9451 Simplify by using clean_restart.
9453 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9455 Add marker to be used as anchor for inserting breakpoints.
9456 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9457 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9460 Remove uses of gdb_start_cmd.
9461 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9462 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9464 Do not run testcase if testing with GDBserver.
9465 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9466 if testing with GDBserver.
9468 2011-01-06 Joel Brobecker <brobecker@adacore.com>
9470 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9471 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9474 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9476 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9477 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9478 testsuite/gdb.fortran/complex.f,
9479 testsuite/gdb.fortran/derived-type.f90,
9480 testsuite/gdb.fortran/library-module-lib.f90,
9481 testsuite/gdb.fortran/library-module-main.f90,
9482 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9483 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9484 Copyright year update.
9486 2011-01-05 Joel Brobecker <brobecker@adacore.com>
9488 * gdb.base/langs1.f: Add copyright header.
9490 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9492 * gdb.base/morestack.exp: New file.
9493 * gdb.base/morestack.c: New file.
9495 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9497 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9499 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9501 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9502 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9504 2010-12-29 Joel Brobecker <brobecker@adacore.com>
9506 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9508 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9510 * gdb.threads/tls.exp: Fix typo.
9512 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9513 * gdb.threads/execl.exp: Update.
9515 2010-12-23 Yao Qi <yao@codesourcery.com>
9517 * gdb.arch/arm-disp-step.exp: New.
9518 * gdb.arch/arm-disp-step.S: New.
9520 2010-12-21 Tom Tromey <tromey@redhat.com>
9522 * gdb.threads/execl.exp: Update.
9523 * gdb.threads/linux-dp.exp: Update.
9524 * gdb.threads/manythreads.exp: Update.
9525 * gdb.threads/tls.exp: Update.
9527 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9529 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9530 (NextOverThrowDerivates) <resumebpt>: New.
9531 (resumebpt_test): New.
9532 (main): Call resumebpt_test.
9533 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9535 2010-12-12 Stan Shebs <stan@codesourcery.com>
9537 * gdb.trace/tsv.exp: Test print command on trace state variables.
9539 2010-12-09 Tom Tromey <tromey@redhat.com>
9541 * gdb.base/interp.exp: Add regression test.
9543 2010-12-09 Tom Tromey <tromey@redhat.com>
9545 * gdb.java/jnpe.java: New file.
9546 * gdb.java/jnpe.exp: New file.
9547 * gdb.cp/nextoverthrow.exp: New file.
9548 * gdb.cp/nextoverthrow.cc: New file.
9550 2010-12-07 Doug Evans <dje@google.com>
9552 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9554 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9556 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9558 2010-11-29 Michael Snyder <msnyder@vmware.com>
9560 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9561 * gdb.base/call-sc.exp: Ditto.
9562 * gdb.base/finish.exp: Ditto.
9563 * gdb.base/return.exp: Ditto.
9564 * gdb.base/return2.exp: Ditto.
9566 2010-11-30 Doug Evans <dje@google.com>
9568 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9569 (gdb_expect_list): Fix spelling errors in comments.
9570 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9571 send_gdb/gdb_expect_list where applicable.
9572 * gdb.base/call-ar-st.exp: Ditto.
9573 * gdb.base/funcargs.exp: Ditto.
9574 * gdb.base/gcore.exp: Ditto.
9575 * gdb.base/page.exp: Ditto.
9576 * gdb.base/sigaltstack.exp: Ditto.
9577 * gdb.base/siginfo.exp: Ditto.
9578 * gdb.base/sigstep.exp: Ditto.
9579 * gdb.base/trace-commands.exp: Ditto.
9581 2010-11-29 Doug Evans <dje@google.com>
9583 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9584 printer-name;subprinter-name.
9586 2010-11-29 Tom Tromey <tromey@redhat.com>
9588 * gdb.dwarf2/implptr.exp: New file.
9589 * gdb.dwarf2/implptr.c: New file.
9590 * gdb.dwarf2/implptr.S: New file.
9592 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9596 * gdb.python/py-breakpoint.exp: Test the delete method.
9598 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9600 Fix step_resume_breakpoint unsaved during an infcall.
9601 * gdb.base/step-resume-infcall.exp: New file.
9602 * gdb.base/step-resume-infcall.c: New file.
9604 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9606 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9608 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
9610 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9611 on ppc64's symbols; "finish" and "return" commands must accept to
9612 show the caller line again as well as the line after.
9613 * gdb.asm/powerpc64.inc: New file.
9615 2010-11-23 Doug Evans <dje@google.com>
9617 * lib/gdb.exp (gdb_test_sequence): New function.
9618 (gdb_expect_list): Add verbose -log call for each pattern.
9619 * gdb.base/signals.exp (test_handle_all_print): Call it.
9620 Reduce timeout increment from 6 minutes to 1 minute.
9621 * gdb.server/ext-run.exp: Call it.
9623 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9627 * gdb.python/python.exp: Check that selected_thread raises an
9628 error when no inferior is loaded.
9630 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9632 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9633 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9635 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9637 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9638 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9640 2010-11-18 Doug Evans <dje@google.com>
9642 * gdb.server/ext-run.exp: Fix intermittent failures.
9644 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9646 * gdb.stabs/gdb11479.exp: Use runto_main.
9648 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9650 * gdb.base/break-entry.exp: Skip if using a stub.
9652 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9654 * gdb.python/py-inferior.exp: Pack values in target endianness.
9656 2010-11-12 Tom Tromey <tromey@redhat.com>
9658 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9659 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9661 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9663 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9665 (test_subscript_regression): Update exception type.
9667 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9669 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9672 2010-11-09 Pedro Alves <pedro@codesourcery.com>
9674 * gdb.base/watchpoint.exp: Test "watch -location" with an
9675 innacessible location.
9677 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
9678 Luis Machado <luisgpm@br.ibm.com>
9680 * gdb.base/maint.exp: Expect "." prefix.
9681 * gdb.base/nodebug.exp: Expect "." Likewise.
9682 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9683 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9684 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9685 POWER server processors.
9687 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
9688 Luis Machado <luisgpm@br.ibm.com>
9690 * gdb.base/break-entry.exp: convert entry point for
9691 ppc64 and expect leading `.' on ppc64's symbols
9693 2010-11-05 Doug Evans <dje@google.com>
9695 * gdb.base/help.exp: Update expected output.
9696 * gdb.python/py-param.exp: Delete, contents moved to ...
9697 * gdb.python/py-parameter.exp: ... here. New file.
9698 Add test for gdb.parameter ("directories").
9700 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
9702 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9703 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9704 * configure: Regenerate.
9705 * gdb.opencl/Makefile.in: New File.
9706 * gdb.opencl/datatypes.exp: Likewise.
9707 * gdb.opencl/datatypes.cl: Likewise.
9708 * gdb.opencl/operators.exp: Likewise.
9709 * gdb.opencl/operators.cl: Likewise.
9710 * gdb.opencl/vec_comps.exp: Likewise.
9711 * gdb.opencl/vec_comps.cl: Likewise.
9712 * gdb.opencl/convs_casts.exp: Likewise.
9713 * gdb.opencl/convs_casts.cl: Likewise.
9714 * lib/opencl.exp: Likewise.
9715 * lib/opencl_hostapp.c: Likewise.
9716 * lib/opencl_kernel.cl: Likewise.
9717 * lib/cl_util.c: Likewise.
9718 * lib/cl_util.c: Likewise.
9719 * gdb.base/default.exp (set language): Add "opencl" to the list of
9722 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9724 * gdb.cp/overload.exp: Added test for inheritance overload.
9725 * gdb.cp/overload.cc: Ditto.
9726 * gdb.cp/oranking.exp: Removed releveant kfails.
9728 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9729 Joel Brobecker <brobecker@adacore.com>
9731 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9732 check test_compiler_info.
9734 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9736 * gdb.base/gnu_vector.exp: Adjust expect messages.
9738 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9740 * gdb.base/gnu_vector.exp: Add unary operator tests.
9742 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
9744 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9746 2010-11-02 Doug Evans <dje@google.com>
9748 * gdb.python/py-pp-maint.c: New file.
9749 * gdb.python/py-pp-maint.exp: New file.
9750 * gdb.python/py-pp-maint.py: New file.
9752 2010-11-02 Tom Tromey <tromey@redhat.com>
9754 * gdb.base/default.exp: Remove "scheme" from language list.
9756 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9759 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9760 * gdb.threads/sigstep-threads.exp: New file.
9761 * gdb.threads/sigstep-threads.c: New file.
9763 2010-10-20 Michael Snyder <msnyder@vmware.com>
9765 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9767 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9769 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9770 Skip test completely if gdb,no_hardware_watchpoints.
9772 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9774 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9775 strict, but do not check for any particular function name within libc.
9777 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9779 * gdb.cp/smartp.exp: New test.
9780 * gdb.cp/smartp.cc : New test.
9782 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9784 * gdb.cp/converts.exp: Test pointer to bool conversion.
9785 Test pointer to long conversion.
9786 * gdb.cp/oranking.exp: Removed relevant kfail.
9788 2010-10-18 Tom Tromey <tromey@redhat.com>
9790 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9791 argument to lazy_string.
9792 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9793 (pp_ls.to_string): Use it.
9794 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9795 Add "estring2" local.
9797 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9799 Fix s390x compatibility.
9800 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9801 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9803 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9805 * gdb.threads/sigstep-threads.exp: New file.
9806 * gdb.threads/sigstep-threads.c: New file.
9808 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9810 * gdb.base/pie-execl.exp: New file.
9811 * gdb.base/pie-execl.c: New file.
9813 2010-10-13 Doug Evans <dje@google.com>
9814 Jan Kratochvil <jan.kratochvil@redhat.com>
9817 * gdb.cp/ptype-cv-cp.cc: New file.
9818 * gdb.cp/ptype-cv-cp.exp: New file.
9820 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9822 * gdb.cp/converts.cc: New test program.
9823 * gdb.cp/converts.exp: New test.
9824 * gdb.cp/overload.exp: Added test for void* vs int*.
9825 * gdb.cp/overload.exp: Ditto.
9826 * gdb.cp/oranking.exp: Removed related kfail.
9828 2010-10-13 Doug Evans <dje@google.com>
9830 * lib/gdb-python.exp (gdb_check_python_config): New function.
9831 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9832 * gdb.python/lib-types.cc: New file.
9833 * gdb.python/lib-types.exp: New file.
9835 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9837 * gdb.python/py-error.exp: New file.
9838 * gdb.python/py-error.py: New file.
9840 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9842 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9845 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9847 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9848 * gdb.base/prelink.exp: Likewise.
9849 * gdb.base/solib-nodir.exp: Likewise.
9850 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9851 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9852 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9854 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9856 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9857 for the "info files" test to avoid timeouts on slow machines.
9859 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9861 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9862 (main): Make openlib dummy call.
9864 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9866 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9867 * break-interp.exp (reach): Move the core body ...
9868 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9869 (test_ld): Provide always real argument, even to the linker. Replace
9870 dl_main by _dl_debug_state.
9872 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9874 Fix results of prelinked PIEs on ppc*.
9875 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9876 Accept also DISPLACEMENT "PRESENT".
9877 (main): Replace "ZERO" displacements by "PRESENT".
9879 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9881 * gdb.cp/oranking.exp: New test.
9882 * gdb.cp/oranking.cc: New test program.
9884 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
9886 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9887 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9889 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9891 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9892 lush, lynx) New constant.
9893 * gdb.base/constvars.exp: Test const array types.
9894 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9896 2010-10-06 Doug Evans <dje@google.com>
9898 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9899 of syscall staging area.
9901 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
9903 * gdb.base/gnu_vector.c: Add variable c4.
9904 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9905 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9907 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9909 * gdb.arch/altivec-abi.exp: Fix a typo.
9911 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9913 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9914 to match a thread ID.
9916 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9918 Fix s390x testcase compatibility.
9919 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9921 2010-10-01 Doug Evans <dje@google.com>
9923 * lib/gdb-python.exp: New file.
9924 * gdb.python/py-block.exp: Use it.
9925 * gdb.python/py-breakpoint.exp: Ditto.
9926 * gdb.python/py-frame.exp: Ditto.
9927 * gdb.python/py-inferior.exp: Ditto.
9928 * gdb.python/py-param.exp: Ditto.
9929 * gdb.python/py-prettyprint.exp: Ditto.
9930 * gdb.python/py-shared.exp: Ditto.
9931 * gdb.python/py-symbol.exp: Ditto.
9932 * gdb.python/py-symtab.exp: Ditto.
9933 * gdb.python/py-type.exp: Ditto.
9934 * gdb.python/py-value.exp: Ditto.
9935 * gdb.python/python.exp: Ditto.
9937 2010-09-30 Tom Tromey <tromey@redhat.com>
9939 * gdb.base/anon.exp: New file.
9940 * gdb.base/anon.c: New file.
9942 2010-09-30 Tom Tromey <tromey@redhat.com>
9944 * gdb.base/completion.exp: Test completion through anonymous
9946 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9948 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9950 Fix printing parameters of inlined functions.
9951 * gdb.dwarf2/dw2-inline-param.exp: New file.
9952 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9953 * gdb.dwarf2/dw2-inline-param.S: New file.
9955 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9958 * gdb.base/corefile.exp (quit with a process, no question: load core)
9959 (quit with a core file): New tests.
9961 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9963 Fix GDB crash on inferior calls with self-referencing classes.
9964 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9965 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9966 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9968 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9970 Fix lost siginfo_t for inferior calls.
9971 * gdb.base/siginfo-infcall.exp: New file.
9972 * gdb.base/siginfo-infcall.c: New file.
9974 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9976 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9978 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9980 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9982 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9984 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9986 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9987 type of our const type.
9989 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9991 * gdb.cp/pr12028.cc: New.
9992 * gdb.cp/pr12028.exp: New.
9994 2010-09-22 Joel Brobecker <brobecker@adacore.com>
9996 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9998 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
9999 Jan Kratochvil <jan.kratochvil@redhat.com>
10002 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
10003 * gdb.mi/dw2-ref-missing-frame-main.c New File.
10004 * gdb.mi/dw2-ref-missing-frame.S New File.
10005 * gdb.mi/dw2-ref-missing-frame.exp New File.
10007 2010-09-14 Tom Tromey <tromey@redhat.com>
10010 * gdb.threads/tls.exp: Remove kfail. Update expected output.
10012 2010-09-14 Tom Tromey <tromey@redhat.com>
10015 * gdb.threads/tls.exp: Use C++.
10016 (check_thread_local): Use K::another_thread_local.
10017 * gdb.threads/tls.c (class K): New.
10018 (another_thread_local): Now a member of K.
10019 (spin): Update. No longer K&R C.
10021 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
10023 * gdb.cp/koenig.cc: created class for testing member lookup.
10024 * gdb.cp/koenig.exp: Added test for member lookup.
10026 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10028 Fix false FAILs on sourcetree topdir directory containing "kill".
10029 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
10030 source line matching regexp.
10032 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10034 * gdb.python/python.exp (set height 0, collect help from uiout)
10035 (verify help to uiout): New tests.
10037 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10039 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10040 is_lp64_target to check 64bit target.
10042 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10044 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10045 (test_ld) <powerpc64-*>: New.
10047 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10049 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10051 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10053 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10054 (FunctionArg::method): New function.
10055 (empty, arg): New variables.
10056 (main): Call arg.method.
10057 * gdb.cp/templates.exp (test_template_args): New function.
10058 (do_tests): Call it.
10060 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10062 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10063 of "next" to proceed over pthread_exit call.
10065 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10067 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10068 "maint print statistics" output to prevent expect timeouts.
10070 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10072 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10073 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10074 (test_float_rejected): ... here.
10075 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10076 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10077 (test_float_rejected): ... here.
10078 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10079 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10080 (test_float_rejected): ... here.
10081 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10082 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10083 (test_float_rejected): ... here.
10085 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10087 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10088 before disabling hardware watchpoints.
10089 (test_inaccessible_watchpoint): Check that hardware watchpoints
10090 are used. Test for watchpoints on a constant address.
10092 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10094 * gdb.base/ui-redirect.exp: New file.
10096 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10097 Joel Brobecker <brobecker@adacore.com>
10099 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10101 2010-08-31 Doug Evans <dje@google.com>
10103 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10105 2010-08-30 Tom Tromey <tromey@redhat.com>
10108 * gdb.python/py-value.exp (test_subscript_regression): Add
10111 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10113 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10114 instead of running to main. Do not test the main function.
10115 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10118 2010-08-26 Pedro Alves <pedro@codesourcery.com>
10120 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10123 2010-08-24 Doug Evans <dje@google.com>
10126 * gdb.dwarf2/dw4-sig-types.cc: New file.
10127 * gdb.dwarf2/dw4-sig-types.h: New file.
10128 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10129 * gdb.dwarf2/dw4-sig-types.exp: New file.
10131 2010-08-23 Tom Tromey <tromey@redhat.com>
10134 * gdb.python/py-value.c (Base, Derived): New types.
10135 (base): New global.
10136 * gdb.python/py-value.exp (test_subscript_regression): Add
10139 2010-08-23 Tom Tromey <tromey@redhat.com>
10142 * gdb.python/py-type.exp (test_fields): Add tests for type
10145 2010-08-23 Tom Tromey <tromey@redhat.com>
10148 * gdb.python/py-type.exp (test_fields): Add tests for array.
10150 2010-08-23 Keith Seitz <keiths@redhat.com>
10152 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10153 have any children. Create a new abbrev for it.
10154 Add missing terminal sequence to .debug_abbrev.
10156 2010-08-20 Keith Seitz <keiths@redhat.com>
10159 * gdb.dwarf2/pr11465.exp: New test.
10160 * gdb.dwarf2/pr11465.S: New file.
10161 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10162 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10164 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10166 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10167 registers. Update data sets with the new v2_double element in the
10168 VSX register union. Add vector_register3_vr data set for the AltiVec
10169 registers. Use gdb_test_no_output instead of send_gdb.
10171 2010-08-19 Pedro Alves <pedro@codesourcery.com>
10173 * gdb.python/py-shared.exp: New file, factored out from
10175 * gdb.python/py-shared.c: New file.
10176 * gdb.python/py-shared-sl.c: New file.
10177 * gdb.python/python-1.c: New file.
10178 * gdb.python/python-sl.c: Delete.
10179 * gdb.python/python.c: Mention python-1.c.
10180 * gdb.python/python.exp: Move shared library tests to
10182 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10183 (MISCELLANEOUS): New.
10184 (clean mostlyclean): Also remove $MISCELLANEOUS.
10186 2010-08-19 Doug Evans <dje@google.com>
10189 * gdb.base/printcmds.exp (test_float_accepted): New function.
10190 Move existing float tests there. Add tests for floats with suffixes.
10191 (test_float_rejected): New function.
10192 * gdb.java/jv-print.exp (test_float_accepted): New function.
10193 (test_float_rejected): New function.
10194 * gdb.objc/print.exp: New file.
10195 * gdb.pascal/print.exp: New file.
10196 * lib/objc.exp: New file.
10198 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10200 * gdb.base/default.exp (info set): Avoid full buffer error and force
10201 reading up to final gdb prompt.
10204 2010-08-18 Tom Tromey <tromey@redhat.com>
10207 * gdb.base/completion.exp: Add test.
10209 2010-08-18 Doug Evans <dje@google.com>
10211 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10212 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10213 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10214 Simplify, early exit if runto_main fails.
10215 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10216 (set_lang_fortran): Moved to lib/fortran.exp.
10217 * gdb.fortran/types.exp: load_lib fortran.exp.
10218 (set_lang_fortran): Moved to lib/fortran.exp.
10219 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10220 * gdb.java/jprint.exp (set_lang_java): Ditto.
10221 * gdb.java/jv-exp.exp: load_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 (set_lang_java): Moved to lib/java.exp.
10225 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10226 If set_lang_java fails, issue a warning instead of failure to be
10227 consistent with other set_lang_foo uses.
10228 * gdb.pascal/types.exp: load_lib pascal.exp.
10229 (set_lang_pascal): Moved to lib/pascal.exp.
10230 * lib/fortran.exp: New file.
10231 * lib/java.exp (set_lang_java): New function.
10232 * lib/pascal.exp (set_lang_pascal): New function.
10234 2010-08-18 Yao Qi <yao@codesourcery.com
10236 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10237 func_nofb_start and func_loopfb_start, so that address of functions
10238 is equal to these labels on Thumb.
10240 2010-08-18 Yao Qi <yao@codesourcery.com>
10242 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10243 to reflect latest c source file.
10245 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10247 * gdb.cp/infcall-dlopen.exp: New file.
10248 * gdb.cp/infcall-dlopen.cc: New file.
10249 * gdb.cp/infcall-dlopen-lib.cc: New file.
10251 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10252 Pedro Alves <pedro@codesourcery.com>
10254 PR breakpoints/11371
10256 * gdb.base/watch-cond-infcall.exp: New file.
10257 * gdb.base/watch-cond-infcall.c: New file.
10259 2010-08-16 Tom Tromey <tromey@redhat.com>
10261 * gdb.base/help.exp: Update.
10262 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10264 (test_watch_location): New proc.
10265 (test_watchpoint_in_big_blob): Delete watchpoint.
10266 * gdb.base/watchpoint.c (func5): New function.
10269 2010-08-16 Doug Evans <dje@google.com>
10271 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10273 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10275 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10278 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
10280 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10281 * gdb.base/gnu_vector.c: New File.
10282 * gdb.base/gnu_vector.exp: Likewise.
10284 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10286 * gdb.python/python.c: New File.
10287 * gdb.python/python-sl.c: New File.
10288 * gdb.python/python.exp: Test solib_address and decode_line
10291 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10293 * gdb.python/python.exp (show height, set height 10)
10294 (verify pagination beforehand, verify pagination beforehand: q)
10295 (gdb.execute does not page, verify pagination afterwards)
10296 (verify pagination afterwards: q): New.
10298 2010-08-02 Doug Evans <dje@google.com>
10300 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10301 because of an older gcc, change test2
10302 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10305 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
10307 * gdb.base/break-always.exp: Do not expect full paths to file
10309 * gdb.base/commands.exp: Likewise.
10311 2010-07-30 Doug Evans <dje@google.com>
10313 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10314 xfail them when run with older gccs.
10316 * lib/gdb.exp (build_executable): Forward "c++" option to
10319 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10320 "python print ttype.template_argument(1)" and
10321 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10322 if using gcc 4.4 or earlier.
10324 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10325 attach-to-debugger handling.
10327 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10329 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10330 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10331 (main): Use copyreloc.
10332 * gdb.base/prelink.exp (split debug of executable)
10333 (.dynbss vs. .bss address shift): New tests.
10335 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10337 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10338 in gdb_test_multiple.
10340 2010-07-29 Pedro Alves <pedro@codesourcery.com>
10342 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10345 2010-07-28 Tom Tromey <tromey@redhat.com>
10348 * gdb.python/py-type.c (Temargs): New template.
10349 (temvar): New variable.
10350 * gdb.python/py-type.exp (test_template): New proc.
10352 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10354 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10355 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10357 2010-07-28 Tom Tromey <tromey@redhat.com>
10360 * gdb.cp/temargs.exp: New file.
10361 * gdb.cp/temargs.cc: New file.
10363 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10365 * gdb.base/help.exp (help disassemble): Update the content.
10367 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10369 * gdb.threads/ia64-sigill.exp: New file.
10370 * gdb.threads/ia64-sigill.c: New file.
10372 2010-07-27 Tom Tromey <tromey@redhat.com>
10374 * gdb.opt/inline-cmds.c (ATTR): New define.
10378 (outer_inline1): Likewise.
10379 (outer_inline2): Likewise.
10380 * gdb.opt/inline-bt.c (ATTR): New define.
10383 * gdb.opt/inline-locals.c (ATTR): New define.
10387 2010-07-27 Tom Tromey <tromey@redhat.com>
10389 * gdb.stabs/gdb11479.c (hack): New function.
10392 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10393 (int32_search_buf, int64_search_buf): No longer static.
10395 * gdb.base/relocate.c (hack): New function.
10397 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10399 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10400 * gdb.python/py-value.c (func1): New function.
10403 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
10405 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10406 as not to clash with .data section.
10408 2010-07-26 Jerome Guitton <guitton@adacore.com>
10410 * gdb.base/code_elim.exp: New file.
10411 * gdb.base/code_elim1.c: New file.
10412 * gdb.base/code_elim2.c: New file.
10414 2010-07-21 Pedro Alves <pedro@codesourcery.com>
10418 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10419 (some_volatile_enum): New variable.
10420 * gdb.base/printcmds.exp (test_print_enums): New.
10421 <top level>: Call it.
10423 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10425 * gdb.cp/fpointer.cc: New test.
10426 * gdb.cp/fpointer.exp: New test.
10428 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10430 * gdb.base/solib-nodir.exp: New file.
10431 * lib/gdb.exp (runto): New case for a GDB internal error.
10433 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10434 Ulrich Weigand <uweigand@de.ibm.com>
10435 Tom Tromey <tromey@redhat.com>
10437 * gdb.base/charset-malloc.c: New file.
10438 * gdb.base/charset.c (malloc_stub): New prototype.
10439 (main): Call it instead of malloc itself.
10440 * gdb.base/charset.exp: Use only prepare_for_testing.
10441 (binfile): Remove the variable.
10443 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10445 Make core files the process_stratum.
10446 * gdb.base/corefile.exp (run: load core again)
10447 (run: sanity check we see the core file, run: with core)
10448 (run: core file is cleared, attach: load core again)
10449 (attach: sanity check we see the core file, attach: with core)
10450 (attach: core file is cleared): New tests.
10451 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10453 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
10455 * gdb.arch/altivec-abi.exp: New tests.
10457 2010-07-13 Tom Tromey <tromey@redhat.com>
10459 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10461 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10463 2010-07-13 Tom Tromey <tromey@redhat.com>
10465 * gdb.base/label.exp: New file.
10466 * gdb.base/label.c: New file.
10468 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10469 H.J. Lu <hongjiu.lu@intel.com>
10471 * lib/gdb.exp (is_ilp32_target): New.
10472 (is_lp64_target): Likewise.
10474 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10476 * gdb.arch/amd64-disp-step.exp: Likewise.
10477 * gdb.arch/amd64-dword.exp: Likewise.
10478 * gdb.arch/amd64-i386-address.exp: Likewise.
10479 * gdb.arch/amd64-word.exp: Likewise.
10481 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10483 * gdb.arch/i386-bp_permanent.exp: Likewise.
10484 * gdb.arch/i386-byte.exp: Likewise.
10485 * gdb.arch/i386-disp-step.exp: Likewise.
10486 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10487 * gdb.arch/i386-prologue.exp: Likewise.
10488 * gdb.arch/i386-size-overlap.exp: Likewise.
10489 * gdb.arch/i386-size.exp: Likewise.
10490 * gdb.arch/i386-sse.exp: Likewise.
10491 * gdb.arch/i386-unwind.exp: Likewise.
10492 * gdb.arch/i386-word.exp: Likewise.
10494 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10495 test only when building 64-bit executables. Do not hard-code
10498 2010-07-07 Doug Evans <dje@google.com>
10500 * lib/gdb.exp (gdb_test_list_exact): New function.
10501 * gdb.base/default.exp (show convenience): Call it, add tests for
10502 $_sdata = void, $_thread = 0.
10504 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10505 Joel Brobecker <brobecker@adacore.com>
10507 Fix re-run of PIE executable, PR shlibs/11776.
10508 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10509 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10510 and re-"run" of the inferior.
10512 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10513 Joel Brobecker <brobecker@adacore.com>
10515 Cope with missing /usr/sbin/prelink.
10516 * lib/prelink-support.exp (prelink_no):
10517 <result == 1 && $output is "no such file or directory">: New.
10518 (prelink_yes): Likewise. Return on failed prelink_no.
10520 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10521 Joel Brobecker <brobecker@adacore.com>
10523 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10524 build_executable by build_executable_own_libs. Replace "prelink -R"
10525 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10527 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10528 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10529 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10530 Replace build_executable by build_executable_own_libs's function
10531 build_executable_own_libs.
10532 (prelinkNO): Create new stub to call prelink_no.
10533 (prelinkYES): Create new stub to call prelink_yes.
10534 (test_attach): Rename calls of copy to file_copy.
10535 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10536 (copy): Move to ...
10537 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10538 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10539 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10540 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10541 special flags by gdb_compile_shlib. Replace second gdb_compile by
10542 build_executable_own_libs. Replace "prelink -R" execution by a call of
10543 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10544 a second call of prelink_yes. Replace restart commands by
10546 (prelink): Rename to ...
10547 (seen displacement message): ... this test. Extend its expectation
10550 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10552 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10553 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10554 displacement message exactly once.
10556 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10557 Joel Brobecker <brobecker@adacore.com>
10559 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10560 its restore after the <$relink_args != ""> loop. new comment.
10562 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10563 Joel Brobecker <brobecker@adacore.com>
10565 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10566 code for it. New variable relink_args.
10567 (prelinkYES): Call prelinkNO.
10568 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10569 in such case. Move the core code to ...
10570 (test_attach_gdb): ... a new function. Send GDB command "file".
10571 Extend expected "Attaching to " string.
10573 2010-07-02 Tom Tromey <tromey@redhat.com>
10575 * gdb.base/bitops.exp: Remove extraneous "pass".
10577 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
10579 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10581 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10583 * gdb.base/help.exp: Adjust expected output.
10585 2010-07-01 Pedro Alves <pedro@codesourcery.com>
10587 * gdb.base/help.exp: Adjust expected output.
10589 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10591 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10592 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10595 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10596 Doug Evans <dje@google.com>
10598 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10599 add .dynamic entry'.
10601 2010-06-29 Doug Evans <dje@google.com>
10604 * gdb.cp/m-static.exp: Add testcase.
10605 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10607 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
10608 Tom Tromey <tromey@redhat.com>
10609 Thiago Jung Bauermann <bauerman@br.ibm.com>
10611 * gdb.python/py-inferior.c: New File.
10612 * gdb.python/py-infthread.c: New File.
10613 * gdb.python/py-inferior.exp: New File.
10614 * gdb.python/py-infthread.exp: New File.
10616 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10618 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10619 (ptype ::C::OtherFileClass typedefs): New.
10620 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10621 (C::OtherFileClass::cOtherFileClassVar2): New.
10622 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10623 cOtherFileClassVar2.
10624 (C::cOtherFileType2, C::cOtherFileVar2): New.
10625 (C::cOtherFileVar_use): use also cOtherFileVar2.
10626 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10628 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10630 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10631 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10632 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10633 (print ::C::cOtherFileVar)
10634 (whatis C::OtherFileClass::cOtherFileClassType)
10635 (whatis ::C::OtherFileClass::cOtherFileClassType)
10636 (print C::OtherFileClass::cOtherFileClassVar)
10637 (print ::cOtherFileClassVar)
10638 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10639 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10641 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10642 (C::OtherFileClass::cOtherFileClassVar)
10643 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10644 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10646 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10648 Test PR c++/11703 and PR gdb/1448.
10649 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10652 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10654 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10655 (main) <rtti_data>: New.
10656 * gdb.cp/virtbase.exp (print rtti_data): New.
10658 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10659 Joel Brobecker <brobecker@adacore.com>
10661 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10663 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10665 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10667 2010-06-28 Doug Evans <dje@google.com>
10669 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10671 2010-06-27 Doug Evans <dje@google.com>
10673 * gdb.cp/m-static.exp: Update expected test output.
10675 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10677 * gdb.gdb/selftest.exp: Adjust expected message for
10678 capturing start-up runtime.
10680 2010-06-25 Tom Tromey <tromey@redhat.com>
10683 * gdb.python/python.exp: Add new tests.
10685 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10687 * gdb.cp/operator.cc: Created an import loop.
10688 * gdb.cp/operator.exp: Added testcase for import loop.
10690 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10692 Test PR python/11407.
10693 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10694 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10695 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10696 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10697 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10698 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10699 binfile. Call gdb_compile with clean_restart twice.
10700 (func_nofb print, func_nofb backtrace, func_loopfb print)
10701 (func_loopfb backtrace): New.
10703 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10705 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10706 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10707 by a hand made one.
10708 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10709 i?86 requirement. Remove variables srcfile and binfile. New variable
10710 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10712 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10714 * gdb.cell/dwarfaddr.exp: New file.
10715 * gdb.cell/dwarfaddr.S: New file.
10717 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10720 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10722 2010-06-24 Hui Zhu <teawater@gmail.com>
10724 * gdb.base/eval.exp: New file.
10726 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10728 * gdb.cell/fork.exp: New file.
10729 * gdb.cell/fork.c: Likewise.
10730 * gdb.cell/fork-spu.c: Likewise.
10732 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10734 * lib/gdb.exp (banned_variables_traced): New global variable.
10735 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10736 (gdb_init): Use `trace add variable' instead of obsolete
10739 2010-06-21 Doug Evans <dje@google.com>
10741 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10743 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10745 * gdb.arch/spu-ls.exp: New file.
10746 * gdb.arch/spu-ls.c: Likewise.
10748 2010-06-18 Stan Shebs <stan@codesourcery.com>
10750 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10752 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10754 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10755 * gdb.base/watch-cond.exp: Likewise.
10756 * gdb.python/py-breakpoint.exp: Likewise.
10758 2010-06-18 Pedro Alves <pedro@codesourcery.com>
10760 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10761 clean_restart, make sure every test has a distinct message, and
10762 that messages don't include the executable' full path.
10764 2010-06-17 Doug Evans <dje@google.com>
10766 * gdb.arch/i386-size.exp: Updated expected output for
10767 DISASSEMBLY_OMIT_FNAME.
10769 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10770 Sergio Durigan Junior <sergiodj@redhat.com>
10772 * gdb.base/watch-notconst.c: New file.
10773 * gdb.base/watch-notconst.S: New file.
10774 * gdb.base/watch-notconst2.c: New file.
10775 * gdb.base/watch-notconst2.S: New file.
10776 * gdb.base/watch-notconst.exp: New file.
10777 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10778 (func4): Add operations on `global_ptr_ptr'.
10779 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10780 routine to test watchpoints created with a constant expression.
10781 (test_inaccessible_watchpoint): Include tests for watchpoints
10782 created with a constant expression.
10784 2010-06-14 Kevin Buettner <kevinb@redhat.com>
10786 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10787 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10788 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10789 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10790 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10791 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10792 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10795 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10797 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10798 not supported on the target.
10799 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10800 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10801 * gdb.mi/mi-nsintrall.exp: Likewise.
10802 * gdb.mi/mi-nsmoribund.exp: Likewise.
10803 * gdb.mi/mi-nsthrexec.exp: Likewise.
10805 2010-06-11 Stan Shebs <stan@codesourcery.com>
10807 * gdb.base/permissions.exp: New file.
10809 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10811 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10812 does not support ELF executable class.
10814 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10816 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10818 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10820 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10821 (runto): Catch "The target does not support running in non-stop mode.".
10823 2010-06-11 Michael Snyder <msnyder@vmware.com>
10825 * gdb.base/setshow.exp (set language asm): Don't use
10826 gdb_test_no_output, fails on some targets.
10828 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10830 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10831 * gdb.cp/pr9167.exp: Likewise.
10833 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10835 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10837 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10839 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10841 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10843 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10845 2010-06-11 Tom Tromey <tromey@redhat.com>
10847 PR gdb/9977, PR exp/11636::
10848 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10849 (pieces_test_f6): Update expected output.
10851 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10853 * gdb.base/moribund-step.exp: New.
10855 2010-06-08 Michael Snyder <msnyder@vmware.com>
10857 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
10858 * gdb.ada/boolean_expr.exp:
10859 * gdb.ada/frame_args.exp: Ditto.
10860 * gdb.ada/lang_switch.exp: Ditto.
10861 * gdb.ada/ptype_arith_binop.exp: Ditto.
10862 * gdb.ada/ref_param.exp: Ditto.
10863 * gdb.ada/type_coercion.exp:Ditto.
10865 * gdb.asm/asm-source.exp: Ditto.
10867 * gdb.base/attach.exp: Ditto.
10868 * gdb.base/bitfields2.exp: Ditto.
10869 * gdb.base/call-signal-resume.exp: Ditto.
10870 * gdb.base/callfuncs.exp: Ditto.
10871 * gdb.base/commands.exp: Ditto.
10872 * gdb.base/dbx.exp: Ditto.
10873 * gdb.base/default.exp: Ditto.
10874 * gdb.base/dump.exp: Ditto.
10875 * gdb.base/exprs.exp: Ditto.
10876 * gdb.base/freebpcmd.exp: Ditto.
10877 * gdb.base/interrupt.exp: Ditto.
10878 * gdb.base/list.exp: Ditto.
10879 * gdb.base/long_long.exp: Ditto.
10880 * gdb.base/maint.exp: Ditto.
10881 * gdb.base/ptype.exp: Ditto.
10882 * gdb.base/return.exp: Ditto.
10883 * gdb.base/setshow.exp: Ditto.
10884 * gdb.base/sigbpt.exp: Ditto.
10885 * gdb.base/sigrepeat.exp: Ditto.
10887 * gdb.cp/classes.exp: Ditto.
10889 * gdb.dwarf2/dw2-restore.exp: Ditto.
10891 * gdb.gdb/selftest.exp: Ditto.
10893 * gdb.multi/base.exp: Ditto.
10894 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10896 * gdb.python/py-block.exp: Ditto.
10897 * gdb.python/py-prettyprint.exp: Ditto.
10898 * gdb.python/py-template.exp: Ditto.
10900 * gdb.server/ext-attach.exp: Ditto.
10901 * gdb.server/ext-run.exp: Ditto.
10902 * gdb.server/server-mon.exp: Ditto.
10904 * gdb.threads/fork-thread-pending.exp: Ditto.
10905 * gdb.threads/hand-call-in-threads.exp: Ditto.
10906 * gdb.threads/interrupted-hand-call.exp: Ditto.
10907 * gdb.threads/linux-dp.exp: Ditto.
10908 * gdb.threads/manythreads.exp: Ditto.
10909 * gdb.threads/print-threads.exp: Ditto.
10910 * gdb.threads/pthreads.exp: Ditto.
10911 * gdb.threads/schedlock.exp: Ditto.
10912 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10913 * gdb.threads/threadapply.exp: Ditto.
10915 2010-06-08 Michael Snyder <msnyder@vmware.com>
10917 * gdb.ada/exec_changed.exp:
10918 Use ".*" instead of "" as wildcard regexp.
10920 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10921 * gdb.base/call-ar-st.exp: Ditto.
10922 * gdb.base/checkpoint.exp: Ditto.
10923 * gdb.base/default.exp: Ditto.
10924 * gdb.base/dump.exp: Ditto.
10925 * gdb.base/ending-run.exp: Ditto.
10926 * gdb.base/fileio.exp: Ditto.
10927 * gdb.base/miscexprs.exp: Ditto.
10928 * gdb.base/pointers.exp: Ditto.
10929 * gdb.base/readline.exp: Ditto.
10930 * gdb.base/reread.exp: Ditto.
10931 * gdb.base/restore.exp: Ditto.
10932 * gdb.base/shlib-call.exp: Ditto.
10933 * gdb.base/valgrind-db-attach.exp: Ditto.
10934 * gdb.base/volatile.exp: Ditto.
10935 * gdb.base/watchpoints.exp: Ditto.
10937 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10939 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10940 * gdb.python/py-value.exp: Ditto.
10942 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10943 * gdb.trace/circ.exp: Ditto.
10944 * gdb.trace/collection.exp: Ditto.
10945 * gdb.trace/packetlen.exp: Ditto.
10946 * gdb.trace/passc-dyn.exp: Ditto.
10947 * gdb.trace/report.exp: Ditto.
10948 * gdb.trace/tfile.exp: Ditto.
10949 * gdb.trace/tfind.exp: Ditto.
10950 * gdb.trace/while-dyn.exp: Ditto.
10952 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10954 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10956 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10959 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10961 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10963 * gdb.cp/koenig.exp: Test for ADL operators.
10964 * gdb.cp/koenig.cc: Added ADL operators.
10965 * gdb.cp/operator.exp: New test.
10966 * gdb.cp/operator.cc: New test.
10968 2010-06-04 Michael Snyder <msnyder@vmware.com>
10970 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10971 * gdb.base/pending.exp: Ditto.
10973 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10975 2010-06-04 Doug Evans <dje@google.com>
10977 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10979 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10980 (enable_lookup_function): New function.
10982 2010-06-04 Tom Tromey <tromey@redhat.com>
10984 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10987 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10989 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10991 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10992 (empty verbose non-noisy clear, empty verbose noisy clear)
10993 (empty non-verbose noisy clear): Likewise.
10995 2010-06-03 Michael Snyder <msnyder@vmware.com>
10997 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10998 * gdb.base/display.exp: Ditto.
10999 * gdb.base/find.exp: Ditto.
11000 * gdb.base/ifelse.exp: Ditto.
11001 * gdb.base/multi-forks.exp: Ditto.
11002 * gdb.base/recurse.exp: Ditto.
11003 * gdb.base/setshow.exp: Ditto.
11004 * gdb.base/value-double-free.exp: Ditto.
11005 * gdb.base/watch-vfork.exp: Ditto.
11006 * gdb.base/watch_thread_num.exp: Ditto.
11007 * gdb.base/watchpoint-solib.exp: Ditto.
11008 * gdb.base/watchpoint.exp: Ditto.
11009 * gdb.base/watchpoints.exp: Ditto.
11011 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
11012 * gdb.cp/overload.exp: Ditto.
11013 * gdb.cp/virtfunc.exp: Ditto.
11015 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
11017 * gdb.reverse/watch-precsave.exp:
11018 Replace gdb_test with gdb_test_no_output.
11020 * gdb.threads/attach-into-signal.exp:
11021 Replace gdb_test with gdb_test_no_output.
11022 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11023 * gdb.threads/watchthreads.exp: Ditto.
11024 * gdb.threads/watchthreads2.exp: Ditto.
11026 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
11027 * gdb.trace/tfind.exp: Ditto.
11029 2010-06-03 Joel Brobecker <brobecker@adacore.com>
11031 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
11032 successful test if message is the empty string.
11034 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11036 * gdb.fortran/module.exp (stopped language detection): New test.
11038 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11040 Support DW_TAG_module as separate namespaces.
11041 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11042 gdb.fortran/library-module-lib.f90: New.
11043 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11045 (continue to breakpoint: i-is-1, print var_i value 1)
11046 (continue to breakpoint: i-is-2, print var_i value 2)
11047 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11048 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11049 (complete `modmany, complete `modmany`, complete `modmany`var)
11050 (show language, setting breakpoint at module): New tests.
11051 * gdb.fortran/module.f90 (module mod): Remove.
11052 (module mod1, module mod2, module modmany, subroutine sub1)
11053 (subroutine sub2, program module): New.
11055 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11057 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11058 (print value of rUC, print value of rI, print value of UI): ... here.
11059 * gdb.cp/anon-union.exp (pass): Rename to ...
11060 (print z 2): ... here.
11062 2010-06-02 Michael Snyder <msnyder@vmware.com>
11064 * gdb.trace/actions.exp: Use gdb_test_no_output.
11065 * gdb.trace/circ.exp: Ditto.
11066 * gdb.trace/packetlen.exp: Ditto.
11067 * gdb.trace/save-trace.exp: Ditto.
11068 * gdb.trace/tracecmd.exp: Ditto.
11069 * gdb.trace/tsv.exp: Ditto.
11071 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11072 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11073 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11074 * gdb.threads/manythreads.exp: Ditto.
11075 * gdb.threads/print-threads.exp: Ditto.
11076 * gdb.threads/pthreads.exp: Ditto.
11077 * gdb.threads/schedlock.exp: Ditto.
11078 * gdb.threads/staticthreads.exp: Ditto.
11079 * gdb.threads/thread-specific.exp: Ditto.
11080 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11081 * gdb.threads/threadapply.exp: Ditto.
11082 * gdb.threads/watchthreads.exp: Ditto.
11083 * gdb.threads/watchthreads2.exp: Ditto.
11085 * gdb.python/py-block.exp: Use gdb_test_no_output.
11086 * gdb.python/py-prettyprint.exp: Ditto.
11087 * gdb.python/py-template.exp: Ditto.
11088 * gdb.python/py-value.exp: Ditto.
11090 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11091 * gdb.reverse/watch-reverse.exp: Ditto.
11093 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11094 * gdb.server/ext-run.exp: Ditto.
11096 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11097 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11098 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11099 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11100 * gdb.dwarf2/dw2-producer.exp: Ditto.
11101 * gdb.dwarf2/mac-fileno.exp: Ditto.
11103 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11104 * gdb.gdb/selftest.exp: Ditto.
11106 * gdb.multi/base.exp: Use gdb_test_no_output.
11108 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11110 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11112 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11114 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11116 * gdb.cp/class2.exp: Use gdb_test_no_output.
11117 * gdb.cp/classes.exp: Ditto.
11118 * gdb.cp/extern-c.exp: Ditto.
11119 * gdb.cp/inherit.exp: Ditto.
11120 * gdb.cp/maint.exp: Ditto.
11121 * gdb.cp/mb-inline.exp: Ditto.
11122 * gdb.cp/mb-templates.exp: Ditto.
11123 * gdb.cp/method2.exp: Ditto.
11124 * gdb.cp/misc.exp: Ditto.
11125 * gdb.cp/ovldbreak.exp: Ditto.
11126 * gdb.cp/punctuator.exp: Ditto.
11127 * gdb.cp/templates.exp: Ditto.
11128 * gdb.cp/virtbase.exp: Ditto.
11130 * gdb.threads/attach-stopped.exp:
11131 Replace uses of send_gdb / gdb_expect.
11132 * gdb.threads/attachstop-mt.exp:
11133 Replace uses of send_gdb / gdb_expect.
11134 * gdb.threads/gcore-thread.exp:
11135 Replace uses of send_gdb / gdb_expect.
11136 * gdb.threads/hand-call-in-threads.exp:
11137 Replace uses of send_gdb / gdb_expect.
11138 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
11139 * gdb.threads/print-threads.exp:
11140 Replace uses of send_gdb / gdb_expect.
11141 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11142 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11143 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11145 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11146 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11147 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11148 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11149 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11150 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11151 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11152 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11153 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11154 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11155 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11157 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11159 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11161 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11163 * gdb.cp/koenig.exp: Added new test case.
11164 * gdb.cp/koenig.cc: Ditto.
11166 2010-06-01 Michael Snyder <msnyder@vmware.com>
11168 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11169 * gdb.base/arrayidx.exp: Ditto.
11170 * gdb.base/attach.exp: Ditto.
11171 * gdb.base/auxv.exp: Ditto.
11172 * gdb.base/bigcre.exp: Ditto.
11173 * gdb.base/break-always.exp: Ditto.
11174 * gdb.base/break-interp.exp: Ditto.
11175 * gdb.base/break.exp: Ditto.
11176 * gdb.base/breakpoint-shadow.exp: Ditto.
11177 * gdb.base/call-ar-st.exp: Ditto.
11178 * gdb.base/call-sc.exp: Ditto.
11179 * gdb.base/call-signal-resume.exp: Ditto.
11180 * gdb.base/callfuncs.exp: Ditto.
11181 * gdb.base/catch-syscall.exp: Ditto.
11182 * gdb.base/charset.exp: Ditto.
11183 * gdb.base/code-expr.exp: Ditto.
11184 * gdb.base/commands.exp: Ditto.
11185 * gdb.base/cond-expr.exp: Ditto.
11186 * gdb.base/condbreak.exp: Ditto.
11187 * gdb.base/cursal.exp: Ditto.
11188 * gdb.base/cvexpr.exp: Ditto.
11189 * gdb.base/default.exp: Ditto.
11190 * gdb.base/del.exp: Ditto.
11191 * gdb.base/detach.exp: Ditto.
11192 * gdb.base/display.exp: Ditto.
11193 * gdb.base/ena-dis-br.exp: Ditto.
11194 * gdb.base/eval-skip.exp: Ditto.
11195 * gdb.base/foll-fork.exp: Ditto.
11196 * gdb.base/foll-vfork.exp: Ditto.
11197 * gdb.base/frame-args.exp: Ditto.
11198 * gdb.base/funcargs.exp: Ditto.
11199 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11200 * gdb.base/gdbvars.exp: Ditto.
11201 * gdb.base/help.exp: Ditto.
11202 * gdb.base/ifelse.exp: Ditto.
11203 * gdb.base/included.exp: Ditto.
11204 * gdb.base/list.exp: Ditto.
11205 * gdb.base/macscp.exp: Ditto.
11206 * gdb.base/maint.exp: Ditto.
11207 * gdb.base/multi-fork.exp: Ditto.
11208 * gdb.base/overlays.exp: Ditto.
11209 * gdb.base/page.exp: Ditto.
11210 * gdb.base/pending.exp: Ditto.
11211 * gdb.base/pointers.exp: Ditto.
11212 * gdb.base/pr11022.exp: Ditto.
11213 * gdb.base/prelink.exp: Ditto.
11214 * gdb.base/printcmds.exp: Ditto.
11215 * gdb.base/psymtab.exp: Ditto.
11216 * gdb.base/randomize.exp: Ditto.
11217 * gdb.base/relational.exp: Ditto.
11218 * gdb.base/relocate.exp: Ditto.
11219 * gdb.base/remote.exp: Ditto.
11220 * gdb.base/sepdebug.exp: Ditto.
11221 * gdb.base/set-lang-auto.exp: Ditto.
11222 * gdb.base/setshow.exp: Ditto.
11223 * gdb.base/setvar.exp: Ditto.
11224 * gdb.base/signals.exp: Ditto.
11225 * gdb.base/signull.exp: Ditto.
11226 * gdb.base/sigstep.exp: Ditto.
11227 * gdb.base/sizeof.exp: Ditto.
11228 * gdb.base/solib-disc.exp: Ditto.
11229 * gdb.base/store.exp: Ditto.
11230 * gdb.base/structs.exp: Ditto.
11231 * gdb.base/structs2.exp: Ditto.
11232 * gdb.base/subst.exp: Ditto.
11233 * gdb.base/term.exp: Ditto.
11234 * gdb.base/trace-commands.exp: Ditto.
11235 * gdb.base/unwindonsignal.exp: Ditto.
11236 * gdb.base/valgrind-db-attach.exp: Ditto.
11237 * gdb.base/varargs.exp: Ditto.
11238 * gdb.base/watch-cond.exp: Ditto.
11239 * gdb.base/watch_thread_num.exp: Ditto.
11240 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11241 * gdb.base/watchpoint.exp: Ditto.
11242 * gdb.base/whatis-exp.exp: Ditto.
11244 2010-06-01 Michael Snyder <msnyder@vmware.com>
11246 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11247 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11248 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11249 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11250 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11251 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11252 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11253 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11254 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11255 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11256 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11257 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11258 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11259 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11260 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11262 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11264 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11266 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11267 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11268 (p *args): ... here and remove excessive trailing newline.
11270 2010-05-31 Joel Brobecker <brobecker@adacore.com>
11272 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11274 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11276 Accept the new Linux kernel "t (tracing stop)" string.
11277 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11279 (state_wait) <T (tracing stop)>: New.
11280 (main): Update the state_wait expect string.
11282 2010-05-28 Pedro Alves <pedro@codesourcery.com>
11284 * limits.c, limits.exp: Delete files.
11285 * Makefile.in (clean mostlyclean): Adjust.
11286 * tracecmd.exp: Adjust.
11288 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11290 * gdb.base/tui-layout.exp: New.
11292 2010-05-28 Michael Snyder <msnyder@vmware.com>
11294 * gdb.reverse/break-precsave.exp:
11295 Replace uses of send_gdb / gdb_expect.
11296 * gdb.reverse/break-reverse.exp:
11297 Replace uses of send_gdb / gdb_expect.
11298 * gdb.reverse/consecutive-precsave.exp:
11299 Replace uses of send_gdb / gdb_expect.
11300 * gdb.reverse/consecutive-reverse.exp:
11301 Replace uses of send_gdb / gdb_expect.
11302 * gdb.reverse/finish-precsave.exp:
11303 Replace uses of send_gdb / gdb_expect.
11304 * gdb.reverse/finish-reverse.exp:
11305 Replace uses of send_gdb / gdb_expect.
11306 * gdb.reverse/i386-precsave.exp:
11307 Replace uses of send_gdb / gdb_expect.
11308 * gdb.reverse/i386-reverse.exp:
11309 Replace uses of send_gdb / gdb_expect.
11310 * gdb.reverse/i386-sse-reverse.exp:
11311 Replace uses of send_gdb / gdb_expect.
11312 * gdb.reverse/i387-env-reverse.exp:
11313 Replace uses of send_gdb / gdb_expect.
11314 * gdb.reverse/i387-stack-reverse.exp:
11315 Replace uses of send_gdb / gdb_expect.
11316 * gdb.reverse/machinestate-precsave.exp:
11317 Replace uses of send_gdb / gdb_expect.
11318 * gdb.reverse/machinestate.exp:
11319 Replace uses of send_gdb / gdb_expect.
11320 * gdb.reverse/sigall-precsave.exp:
11321 Replace uses of send_gdb / gdb_expect.
11322 * gdb.reverse/sigall-reverse.exp:
11323 Replace uses of send_gdb / gdb_expect.
11324 * gdb.reverse/solib-precsave.exp:
11325 Replace uses of send_gdb / gdb_expect.
11326 * gdb.reverse/solib-reverse.exp:
11327 Replace uses of send_gdb / gdb_expect.
11328 * gdb.reverse/step-precsave.exp:
11329 Replace uses of send_gdb / gdb_expect.
11330 * gdb.reverse/step-reverse.exp:
11331 Replace uses of send_gdb / gdb_expect.
11332 * gdb.reverse/until-precsave.exp:
11333 Replace uses of send_gdb / gdb_expect.
11334 * gdb.reverse/until-reverse.exp:
11335 Replace uses of send_gdb / gdb_expect.
11336 * gdb.reverse/watch-precsave.exp:
11337 Replace uses of send_gdb / gdb_expect.
11338 * gdb.reverse/watch-reverse.exp:
11339 Replace uses of send_gdb / gdb_expect.
11341 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11343 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11346 2010-05-27 Michael Snyder <msnyder@vmware.com>
11348 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
11349 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11350 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11351 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11352 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11353 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11354 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11355 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11356 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11357 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11358 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11359 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11360 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11361 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11362 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11363 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11364 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11365 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11366 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
11368 2010-05-26 Michael Snyder <msnyder@vmware.com>
11370 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11371 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11373 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11374 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11375 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11377 * gdb.reverse/consecutive-reverse.exp:
11378 Replace uses of send_gdb / gdb_expect.
11379 * gdb.reverse/consecutive-precsave.exp:
11380 Replace uses of send_gdb / gdb_expect.
11382 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11383 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11384 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
11385 * gdb.mi/mi-ns-stale-regcache.exp:
11386 Replace uses of send_gdb / gdb_expect.
11387 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11388 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11389 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11390 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11391 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11392 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11393 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11394 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11395 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
11397 2010-05-26 Michael Snyder <msnyder@vmware.com>
11399 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
11401 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
11403 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11404 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11405 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11406 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11407 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11408 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11409 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11410 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11411 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
11413 2010-05-25 Tom Tromey <tromey@redhat.com>
11415 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11417 2010-05-25 Tom Tromey <tromey@redhat.com>
11419 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11421 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11422 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11424 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11426 * gdb.base/call-sc.exp (setup_kfails): Remove.
11427 (setup_compiler_kfails): Remove.
11428 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11430 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11431 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11432 (advancei): Fix setup_kfail argument order.
11433 * gdb.base/radix.exp: Fix setup_kfail argument order.
11434 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11436 * gdb.base/structs.exp (setup_kfails): Remove.
11437 (setup_compiler_kfails): Fix setup_kfail argument order.
11438 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11440 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11441 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11442 setup_kfail argument order.
11443 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11445 2010-05-25 Tom Tromey <tromey@redhat.com>
11447 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11449 2010-05-25 Michael Snyder <msnyder@vmware.com>
11451 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11452 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11453 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11454 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11455 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11456 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11457 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11458 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11459 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
11460 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11461 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11462 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11463 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11464 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11465 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11466 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11467 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11468 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11469 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11470 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11471 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11472 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11473 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
11474 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11475 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11476 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11477 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11478 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11479 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11480 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11481 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11482 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11483 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11484 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11485 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11486 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11487 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11488 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11489 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11490 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11491 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11492 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
11493 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11494 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11495 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11496 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11497 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
11498 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
11500 2010-05-25 Doug Evans <dje@google.com>
11502 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11503 gdb.string_to_argv.
11505 2010-05-21 Tom Tromey <tromey@redhat.com>
11507 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11509 * gdb.dwarf2/pieces.S: Update.
11510 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11512 2010-05-21 Tom Tromey <tromey@redhat.com>
11514 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11516 * gdb.dwarf2/pieces.c (struct C): New.
11517 (f6): New function.
11518 * gdb.dwarf2/pieces.S: Replace.
11520 2010-05-21 Tom Tromey <tromey@redhat.com>
11522 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11525 2010-05-21 Tom Tromey <tromey@redhat.com>
11527 * gdb.dwarf2.pieces.exp: New file.
11528 * gdb.dwarf2.pieces.S: New file.
11529 * gdb.dwarf2.pieces.c: New file.
11531 2010-05-20 Pedro Alves <pedro@codesourcery.com>
11532 Joel Brobecker <brobecker@adacore.com>
11534 * lib/gdb.exp (gdb_test_no_output): New function.
11535 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11536 when testing commands that should produce no output.
11538 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11540 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11541 parameter that we want to watch being a constant.
11543 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11545 * gdb.ada/cond_lang: New testcase.
11547 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11549 * lib/gdb.exp (banned_variables): New variable/constant.
11550 (gdb_init): Add write trace on variables listed in banned_variables.
11551 (gdb_finish): Remove write traces on variables listed in
11554 2010-05-17 Joel Brobecker <brobecker@adacore.com>
11556 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11557 * gdb.cp/koenig.exp: Likewise.
11559 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11563 * gdb.python/py-value.exp (test_value_hash): New function.
11565 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11568 * gdb.base/gdb11530.c: New file.
11569 * gdb.base/gdb11530.exp: New file.
11571 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11573 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11574 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11576 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11578 * gdb.cp/koenig.exp: New test.
11579 * gdb.cp/koenig.cc: New test program.
11581 2010-05-05 Joel Brobecker <brobecker@adacore.com>
11583 Remove the use of prms_id and bug_id throughout the testsuite.
11585 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11588 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11589 use a reference local variable.
11591 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11593 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11594 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11595 variable different_dir. Move debugfile into a full directory pathname
11596 under DIFFERENT_DIR.
11597 * lib/gdb.exp (separate_debug_filename): Remove.
11598 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11599 variable debug_dir and mkdir of it. Update function comments.
11601 2010-04-29 Pedro Alves <pedro@codesourcery.com>
11605 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11608 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11610 * gdb.python/py-param.exp: New File.
11612 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11614 * gdb.base/default.exp: Fix "set language" test.
11616 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11618 PR breakpoints/11531.
11619 * gdb.base/gdb11531.c: New file.
11620 * gdb.base/gdb11531.exp: New file.
11622 2010-04-26 Tom Tromey <tromey@redhat.com>
11624 * gdb.base/completion.exp: Add tests for completion and deprecated
11627 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11629 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11630 (print /x char_array): Escape curly brackets.
11632 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11634 Fix deadlock on looped list of loaded shared objects.
11635 * gdb.base/solib-corrupted.exp: New.
11637 2010-04-23 Doug Evans <dje@google.com>
11639 * gdb.python/py-section-script.c: New file.
11640 * gdb.python/py-section-script.exp: New file.
11641 * gdb.python/py-section-script.py: New file.
11643 2010-04-20 Chris Moller <cmoller@redhat.com>
11647 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11648 * gdb.base/pr10179-a.c:
11649 * gdb.base/pr10179-b.c:
11650 * gdb.base/pr10179.exp: New files.
11652 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11654 Fix crashes on dangling display expressions.
11655 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11657 (lib_flags): Remove the "debug" keyword.
11658 (libsepdebug): New variable for iterating new loop.
11659 (save_pf_prefix): New variable wrapping the loop.
11660 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11661 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11663 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11665 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11667 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11670 * gdb.stabs/gdb11479.exp: New file.
11671 * gdb.stabs/gdb11479.c: New file.
11673 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11675 * gdb.base/charset.c (Strin16, String32): New variables.
11676 * gdb.base/charset.exp (gdb_test): Test correct display
11677 of 16 or 32 bit strings.
11679 2010-04-21 Chris Moller <cmoller@redhat.com>
11682 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11683 * gdb.cp/pr9167.cc: New file.
11684 * gdb.cp/pr9167.exp: New file.
11687 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11690 * gdb.pascal/gdb11492.pas: New file.
11691 * gdb.pascal/gdb11492.exp: New file.
11693 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11695 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
11697 2010-04-20 Joel Brobecker <brobecker@adacore.com>
11699 * gdb.ada/dyn_loc: New testcase.
11701 2010-04-20 Chris Moller <cmoller@redhat.com>
11705 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11706 * gdb.cp/pr10687.cc: New file.
11707 * gdb.cp/pr10687.exp: New file.
11710 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11711 Sergio Durigan Junior <sergiodj@redhat.com>
11713 * gdb.fortran/logical.exp: New testcase.
11714 * gdb.fortran/logical.f90: New file.
11716 2010-04-19 Doug Evans <dje@google.com>
11718 * gdb.base/help.exp (help source): Update expected output.
11720 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11722 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11723 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11724 gdb_exit and return.
11725 (executable): New variable.
11728 2010-04-19 Pedro Alves <pedro@codesourcery.com>
11730 PR breakpoints/8554.
11732 * gdb.trace/save-trace.exp: Adjust.
11734 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11737 * gdb.arch/system-gcore.exp: New.
11738 * gdb.arch/gcore.c: Likewise.
11740 2010-04-15 Doug Evans <dje@google.com>
11742 * gdb.python/py-progspace.c: New file.
11743 * gdb.python/py-progspace.exp: New file.
11745 * gdb.base/source.exp: Add tests for "source -s".
11747 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11749 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11750 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11751 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11752 * gdb.python/py-mi.exp: New test for to_string returning None.
11754 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11756 * gdb.python/py-breakpoint.c: Make result global.
11758 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11760 Fix non-GNU make compatibility.
11761 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11763 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11765 * gdb.python/py-breakpoint.exp: New File.
11766 * gdb.python/py-breakpoint.C: Ditto.
11768 2010-04-08 Stan Shebs <stan@codesourcery.com>
11770 * gdb.trace/actions.exp: Clear default-collect.
11771 * gdb.trace/save-trace.exp: Clear default-collect.
11773 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11775 * gdb.python/py-value: Add null string variable.
11776 (test_lazy_string): Test zero length, NULL address lazy
11779 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11781 * gdb.arch/i386-avx.c: New.
11782 * gdb.arch/i386-avx.exp: Likewise.
11784 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11786 2010-04-06 Doug Evans <dje@google.com>
11788 * gdb.base/source-test.gdb: New file.
11789 * gdb.base/source.exp: Test source -v.
11791 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11793 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11795 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11797 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11798 within one line, unless it is followed by a double quote.
11799 * gdb.stabs/hppa.sed: Idem.
11800 * gdb.stabs/weird.def: Add char and String constants
11801 * gdb.stabs/weird.exp: Check for correct parsing of
11802 char and string constants.
11803 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11804 in .stabs to .stabx substitution.
11806 2010-04-05 Stan Shebs <stan@codesourcery.com>
11808 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11810 * gdb.trace/tfile.exp: Try to print them.
11812 2010-04-04 Stan Shebs <stan@codesourcery.com>
11814 * gdb.base/completion.exp: Update for new "info watchpoints".
11815 * gdb.base/default.exp: Ditto.
11816 * gdb.base/help.exp: Ditto.
11817 * gdb.base/watchpoint.exp: Ditto.
11818 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
11820 2010-04-04 Stan Shebs <stan@codesourcery.com>
11822 * gdb.trace/tfile.exp: Sharpen tfind test.
11824 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11826 * gdb.base/break-entry.exp: New.
11828 2010-04-02 Hui Zhu <teawater@gmail.com>
11829 Michael Snyder <msnyder@vmware.com>
11831 * gdb.reverse/i386-sse-reverse.exp: New file.
11832 * gdb.reverse/i386-sse-reverse.c: New file.
11834 2010-04-02 Pedro Alves <pedro@codesourcery.com>
11836 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11838 2010-04-01 Stan Shebs <stan@codesourcery.com>
11840 * gdb.trace/actions.exp: Tweak expected output.
11841 * gdb.trace/while-stepping.exp: Tweak expected output.
11843 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11845 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11847 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11849 * gdb.base/commands.exp: Adjust.
11850 * gdb.cp/extern-c.exp: Adjust.
11852 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11854 * gdb.trace/collection.c (local_test_func): Define a local struct,
11855 and instanciate it.
11857 2010-04-01 Pedro Alves <pedro@codesourcery.com>
11859 * gdb.trace/collection.exp (gdb_collect_args_test)
11860 (gdb_collect_argarray_test): XFAIL the tests that assume the
11861 argarray argument's elements are collected.
11863 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11865 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11866 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11868 2010-03-31 Stan Shebs <stan@codesourcery.com>
11870 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11871 and tracepoint conditionals.
11872 (gdb_verify_tracepoints): Delete unused return.
11874 2010-03-26 Keith Seitz <keiths@redhat.com>
11876 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11877 appear in the output before main.
11878 Remove KFAIL for gdb/2215 aka bz 9320.
11880 2010-03-30 Doug Evans <dje@google.com>
11882 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11884 * gdb.arch/amd64-dword.exp: Ditto.
11886 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11888 (break printf): Ditto.
11890 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11892 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11894 * gdb.cp/shadow.exp: Ditto.
11896 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11898 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11899 "tstart" is silent.
11901 2010-03-29 Pedro Alves <pedro@codesourcery.com>
11903 * gdb.trace/collection.exp (executable): New.
11905 (fpreg, spreg, pcreg): New.
11906 (test_register): Use gdb_test_multiple. Pass /x to print.
11907 (prepare_for_trace_test): New.
11908 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11909 (gdb_collect_args_test, gdb_collect_argstruct_test)
11910 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11911 prepare_for_trace_test.
11912 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11913 fpreg, spreg and pcreg.
11914 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11915 prepare_for_trace_test.
11916 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11917 try to detect tracing support here. Don't set breakpoints at
11918 `begin' or `end' here.
11919 <global scope>: Use clean_restart. Run to main before checking
11920 for tracing support. Check for for tracing support here.
11922 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11924 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11925 " as $displacement" to "seen displacement message".
11927 2010-03-28 Pedro Alves <pedro@codesourcery.com>
11929 * gdb.trace/while-dyn.exp (executable): New variable.
11931 (test_while_stepping): New function. Move most tests here. Call
11932 it once for each of the while-stepping, stepping and ws aliases.
11934 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11936 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11937 that do not provide the tagless_struct type name at all.
11938 (test_print_anon_union): Do not check value of uninitialized
11939 union member. Do not use cp_test_ptype_class, so we can accept
11940 "long" as well as "long int".
11942 2010-03-26 Pedro Alves <pedro@codesourcery.com>
11944 * gdb.trace/tfile.c (tohex, bin2hex): New.
11945 (write_error_trace_file): Hexify error description.
11947 2010-03-25 Stan Shebs <stan@codesourcery.com>
11949 * gdb.trace/tfile.c: Generate an additional trace file, improve
11951 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11952 files in a better way.
11954 2010-03-25 Keith Seitz <keiths@redhat.com>
11956 * gdb.java/jprint.exp: XFAIL printing of static class members
11957 because of GCC debuginfo problem.
11959 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11961 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11963 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11965 * gdb.base/completion.exp: Allow long instead of long int.
11966 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11967 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11969 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11970 * gdb.base/pointers.exp: Allow long instead of long int.
11971 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11972 * gdb.base/step-line.exp: Allow a directory before the source file name.
11974 2010-03-24 Tom Tromey <tromey@redhat.com>
11976 PR breakpoints/9352:
11977 * gdb.base/default.exp: Update.
11978 * gdb.base/commands.exp: Update.
11979 * gdb.cp/extern-c.exp: Test setting commands on multiple
11980 breakpoints at once.
11982 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11984 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11986 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11987 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11990 2010-03-24 Stan Shebs <stan@codesourcery.com>
11992 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11994 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11996 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11997 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11998 argument. Handle "short" and "long".
11999 (Top level): Pass overprototyped output for old_fptr and xptr.
12001 2010-03-23 Pedro Alves <pedro@codesourcery.com>
12003 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
12004 format strings and add casts to avoid compiler warnings.
12006 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
12008 * lib/trace-support.exp (gdb_trace_setactions):
12009 Don't expect whitespace after ">" prompt.
12010 * gdb.trace/actions.exp: Adjust for output changes.
12011 * gdb.trace/while-stepping.exp: Likewise.
12013 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12015 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
12018 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12020 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
12023 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
12025 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
12026 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
12028 2010-03-19 Stan Shebs <stan@codesourcery.com>
12030 * gdb.trace/ax.exp: New file.
12032 2010-03-19 Doug Evans <dje@google.com>
12034 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
12037 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12038 named /usr/sbin/prelink<foo>.
12040 2010-03-18 Stan Shebs <stan@codesourcery.com>
12042 * gdb.trace/circ.exp: Test circular-trace-buffer.
12043 * gdb.trace/tfile.exp: Update tstatus test.
12045 2010-03-18 Joel Brobecker <brobecker@adacore.com>
12047 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12048 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12050 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12052 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12054 2010-03-18 Pedro Alves <pedro@codesourcery.com>
12056 * gdb.base/default.exp: Adjust the expected output of the finish
12057 and until commands when the inferior is not being run.
12059 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12061 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12062 * gdb.cp/nsusing.exp: Ditto.
12064 2010-03-15 Tom Tromey <tromey@redhat.com>
12066 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12067 * gdb.cp/userdef.cc (operator==): New function.
12068 (main): New locals mem1, mem2.
12070 2010-03-15 Jie Zhang <jie@codesourcery.com>
12072 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12073 Declare and use new loadtimeout variable.
12075 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12077 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12078 Use gdb_load later.
12080 2010-03-14 Pedro Alves <pedro@codesourcery.com>
12082 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12083 literal. Add missing endlines to prints to stderr.
12085 2010-03-12 Tom Tromey <tromey@redhat.com>
12088 * gdb.cp/m-static.exp: Add regression test.
12089 * gdb.cp/m-static.cc (method): New method.
12092 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12094 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12095 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12097 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12099 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12101 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12103 * lib/gdb.exp (skip_stl_tests): New.
12104 (gdb_compile): Symbian needs -ldl.
12105 (shlib_target_file): New.
12106 (shlib_symbol_file): New.
12107 (gdb_load_shlibs): Use shlib_target_file.
12108 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12109 * gdb.cp/exception.exp: Use skip_stl_tests.
12110 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12111 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12112 * gdb.cp/mb-templates.exp: Ditto.
12113 * gdb.base/commands.exp: Relax regexes.
12114 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12115 shlib_target_file and shlib_symbol_file.
12116 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12118 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12119 * gdb.base/solib-disc.exp: Use
12120 shlib_target_file and shlib_symbol_file.
12121 * gdb.base/unload.exp: Don't skip on symbian. Use
12122 shlib_target_file and shlib_symbol_file.
12123 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12125 2010-03-12 Pedro Alves <pedro@codesourcery.com>
12127 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12128 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12129 Issue a tfind end before looking for a tracepoint frame.
12130 * gdb.trace/tfind.exp: Adjust tstatus output.
12131 Adjust disassembly output.
12132 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12134 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12136 * gdb.base/break-interp.exp: Create new displacement parameter value
12137 for the test_ld calls.
12138 (reach): New parameter displacement, verify its content. New push of
12139 pf_prefix "reach-$func:". Import global expect_out.
12140 (test_core): New parameter displacement, verify its content. New push
12141 of pf_prefix "core:". New command "set verbose on". Import global
12143 (test_attach): New parameter displacement, verify its content. New
12144 push of pf_prefix "attach:". New command "set verbose on". Import
12146 (test_ld): New parameter displacement, pass it to the reach, test_core
12147 and test_attach calls and verify its content in the "ld.so exit" test.
12148 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12149 (prelink): Update expected text, use gdb_test.
12151 2010-03-10 Doug Evans <dje@google.com>
12153 * gdb.base/checkpoint.exp: Fix comment.
12154 Lengthen timeout while doing >600 checkpoints test.
12155 Rename duplicate "kill all one" test to keep test names unique.
12157 2010-03-10 Pedro Alves <pedro@codesourcery.com>
12159 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12161 2010-03-08 Keith Seitz <keiths@redhat.com>
12163 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12164 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12165 (dm_type_long): New function.
12166 (dm_type_unsigned_short): New function.
12167 (dm_type_unsigned_long): New function.
12168 (myint): New typedef.
12169 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12170 long, unsigned shor and long, operator char*, and typedef.
12171 (test_lookup_operator_functions): Add operator char* test.
12172 (test_paddr_operator_functions): Likewise.
12173 (test_paddr_overloaded_functions): Use probe values for
12174 short, long, and unsigned short and long.
12175 (test_paddr_hairy_functions): If the demangler probe detected
12176 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12178 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12179 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12180 and "print null_pmf".
12181 Add test "ptype a.*pmf".
12182 * gdb.cp/overload.exp: Allow optional "int" to appear with
12183 "short" and "long".
12184 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12185 long expect value for men_overload1arg.
12186 Allow "int" to appear with "short" and "long".
12187 When testing "info break", add argument for main (void).
12188 Also allow "int" to appear with "short" and "long".
12189 Ditto with "unsigned" and "long long".
12190 * gdb.java/jmain.exp: Do not enclose methods names in single
12192 * gdb.java/jmisc.exp: Likewise.
12193 * gdb.java/jprint.exp: Likewise.
12194 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12196 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12197 * gdb.cp/exception.exp (backtrace after first throw)
12198 (backtrace after second throw): Allow a namespace before __cxa_throw.
12199 (backtrace after first catch, backtrace after second catch): Allow
12200 a namespace before __cxa_begin_catch.
12202 * gdb.cp/cpexprs.exp: New file.
12203 * gdb.cp/cpexprs.cc: New file.
12205 From Daniel Jacobowitz <dan@codesourcery.com>
12206 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12207 to use string_to_regexp.
12208 (ctor, dtor): New functions. Use them to match constructor
12209 and destructor function types.
12210 (Top level): Use runto_main.
12212 2010-03-05 Tom Tromey <tromey@redhat.com>
12214 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12215 gdb.target_charset.
12216 (pp_ns.to_string): Likewise.
12218 2010-03-04 Keith Seitz <keiths@redhat.com>
12220 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12221 can be quoted. Test that both the filename and function/line
12222 portions can be quoted at the same time.
12224 2010-03-04 Pedro Alves <pedro@codesourcery.com>
12226 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12228 2010-03-03 Doug Evans <dje@google.com>
12230 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12231 libc contains libpthread.
12233 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12234 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12235 of gdb_compile. Add another pattern to match android backtrace.
12237 2010-03-03 Tom Tromey <tromey@redhat.com>
12240 * gdb.base/printcmds.exp (test_printf): Add test.
12242 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12244 * gdb.arch/amd64-byte.exp: New.
12245 * gdb.arch/amd64-dword.exp: Likewise.
12246 * gdb.arch/amd64-pseudo.c: Likewise.
12247 * gdb.arch/amd64-word.exp: Likewise.
12248 * gdb.arch/i386-byte.exp: Likewise.
12249 * gdb.arch/i386-pseudo.c: Likewise.
12250 * gdb.arch/i386-word.exp: Likewise.
12252 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12254 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12255 types. Add structreg, bitfields, and flags registers.
12256 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12259 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12261 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12262 (load_description): Set architecture if defined.
12264 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12266 * gdb.python/py-frame.exp: Add read_var block tests.
12267 * gdb.python/py-frame.c (block): New function.
12269 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12270 Daniel Jacobowitz <dan@codesourcery.com>
12272 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12274 2010-02-25 David S. Miller <davem@davemloft.net>
12276 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12277 fix logic for setting all_syscalls_numbers.
12279 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12281 * Makefile.in: Add py-block and py-symbol.
12282 * gdb.python/py-symbol.exp: New File.
12283 * gdb.python/py-symtab.exp: New File.
12284 * gdb.python/py-block.exp: New File.
12285 * gdb.python/py-symbol.c: New File.
12286 * gdb.python/py-block.c: New File.
12288 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12291 * lib/gdb.exp (skip_python_tests): New function.
12292 * gdb.python/py-cmd.exp: Use skip_python_tests.
12293 * gdb.python/py-frame.exp: Likewise.
12294 * gdb.python/py-function.exp: Likewise.
12295 * gdb.python/py-prettyprint.exp: Likewise.
12296 * gdb.python/py-template.exp: Likewise.
12297 * gdb.python/py-type.exp: Likewise.
12298 * gdb.python/py-value.exp: Likewise.
12300 2010-02-22 Pedro Alves <pedro@codesourcery.com>
12304 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12306 2010-02-19 Tom Tromey <tromey@redhat.com>
12308 PR c++/8693, PR c++/9496:
12309 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12312 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12314 Fix compatibility with m68k as.
12315 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12316 Use only /* comments */.
12318 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12320 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12321 * configure: Regenerate.
12323 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12325 * gdb.python/py-type.exp: Check for Python support.
12327 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12329 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12330 `regsub' syntax available.
12332 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12334 * gdb.base/shmain.c (main): Remove printf call.
12335 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12336 * gdb.base/unload.c (main): Make format of fprintf a string
12337 literal. Add missing endlines to prints to stderr.
12338 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12340 2010-02-17 Tom Tromey <tromey@redhat.com>
12342 * gdb.java/jprint.java (jprint.props): New field.
12343 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12345 2010-02-17 Pedro Alves <pedro@codesourcery.com>
12347 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12350 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12352 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12353 creation to support remote host testing.
12355 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12357 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12358 Recognize "command not found".
12360 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12362 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12365 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12367 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12368 if arguments are not supported.
12370 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12372 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12373 be const or non-const.
12375 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12377 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12378 mi_send_resuming_command to send -exec-continue.
12380 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12382 * gdb.base/list.exp (test_list_filename_and_function): Add test
12383 with single quotes.
12384 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12386 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12387 Add KFAIL'd tests for PR gdb/11289.
12389 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12391 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12393 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12395 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12396 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12397 a temporary directory.
12399 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12401 * gdb.base/charset.exp: Use a single regular expression to match
12402 show host-charset and show target-charset output.
12404 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12406 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12407 "Illegal process-id" expect string more exact.
12408 (attach to digits-starting nonsense is prohibited): New.
12410 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12412 * gdb.base/prelink.exp (set verbose on): New.
12414 2010-02-12 Tomas Holmberg <th@virtutech.com>
12416 * mi-reverse.exp: New file. Test for reverse option to the
12417 following MI commands: exec-continue, exec-finish, exec-next,
12418 exec-step, exec-next-instruction, exec-step-instruction.
12420 2010-02-09 Joel Brobecker <brobecker@adacore.com>
12422 * gdb.ada/ptype_tagged_param: New testcase.
12424 2010-02-08 Tom Tromey <tromey@redhat.com>
12427 * gdb.cp/overload.exp: Add tests.
12428 * gdb.cp/overload.cc (struct K): New.
12429 (namespace N): New.
12430 (main): Call new functions.
12431 (K::staticoverload): Define.
12433 2010-02-08 Chris Moller <moller@mollerware.com>
12436 * gdb.cp/pr10728-x.h: New file.
12437 * gdb.cp/pr10728-x.cc: New file.
12438 * gdb.cp/pr10728-y.cc: New file.
12439 * gdb.cp/pr10728.exp: New file.
12440 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12442 2010-02-08 Chris Moller <moller@mollerware.com>
12445 * gdb.cp/pr9067.exp: New
12446 * gdb.cp/pr9067.cc: New
12447 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12449 2010-02-08 Joel Brobecker <brobecker@adacore.com>
12451 * lib/gdb.exp (gdb_test_timeout): New global variable.
12452 Set it to timeout if not already set.
12453 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12455 2010-02-05 Doug Evans <dje@google.com>
12457 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12460 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12463 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12465 2010-02-04 Tom Tromey <tromey@redhat.com>
12467 * gdb.cp/virtbase.exp: Make test case names unique.
12469 2010-02-02 Tom Tromey <tromey@redhat.com>
12471 * gdb.cp/virtbase.exp: Add regression tests.
12472 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12473 (main): Instantiate RHC.
12475 2010-02-02 Tom Tromey <tromey@redhat.com>
12477 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12478 type-printing change.
12480 2010-02-02 Tom Tromey <tromey@redhat.com>
12482 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12483 * gdb.cp/virtbase.cc: New file.
12484 * gdb.cp/virtbase.exp: New file.
12485 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12487 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12490 * gdb.threads/current-lwp-dead.c: Include features.h.
12492 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12494 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12496 * gdb.base/symbol-without-target_section.exp,
12497 gdb.base/symbol-without-target_section.c: New.
12499 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12501 * gdb.base/bigcore.exp: Reset increased timeout.
12502 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12504 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12506 * gdb.base/gcore.exp (capture_command_output): Use
12509 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12511 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12512 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12513 (Top level): Call it.
12515 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12517 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12519 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12521 * gdb.base/call-strs.exp, gdb.base/default.exp,
12522 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12523 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12524 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12525 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12526 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12527 * gdb.base/ending-run.exp: Correct restore of timeout.
12528 * gdb.base/page.exp: Remove unnecessary timeout setting.
12530 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12532 * gdb.ada/rec_return: New testcase.
12534 2010-01-29 Joel Brobecker <brobecker@adacore.com>
12536 * gdb.ada/call_pn: New testcase.
12538 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12540 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12541 (Top level): Use it to resume.
12542 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12543 the Thumb mode displaced stepping error as unsupported.
12545 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12547 * gdb.cp/nsusing.exp: Added more tests.
12548 * gdb.cp/nsrecurs.exp: Ditto.
12549 * gdb.cp/nsusing.cc: Added test functions.
12550 * gdb.cp/nsrecurs.cc: Ditto.
12552 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12554 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12555 absolute directory pathnames in gdb.sum file.
12557 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12559 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12560 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12562 2010-01-26 Tom Tromey <tromey@redhat.com>
12565 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12568 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12570 * gdb.cp/nsrecurs.exp: New test.
12571 * gdb.cp/nsrecurs.cc: New test program.
12572 * gdb.cp/nsstress.exp: New test.
12573 * gdb.cp/nsstress.cc: New test program.
12574 * gdb.cp/nsdecl.exp: New test.
12575 * gdb.cp/nsdecl.cc: New test program.
12577 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12579 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12580 imported into file scope.
12581 Marked test as xfail.
12582 * gdb.cp/namespace-using.cc (marker5): New function.
12583 * gdb.cp/shadow.exp: New test.
12584 * gdb.cp/shadow.cc: New test program.
12585 * gdb.cp/nsimport.exp: New test.
12586 * gdb.cp/nsimport.cc: New test program.
12588 2010-01-25 Tom Tromey <tromey@redhat.com>
12591 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12592 with "set print null-stop on".
12594 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12596 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12597 Adjust it for DISASSEMBLY_OMIT_FNAME.
12599 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12602 * gdb.dwarf2/member-ptr-forwardref.exp,
12603 gdb.dwarf2/member-ptr-forwardref.S: New.
12605 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12607 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12608 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12609 thread1_tid_mutex. Remove gdbstop_mutex handling.
12610 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12611 thread2_tid_mutex. Remove gdbstop_mutex handling.
12612 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12613 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12614 pthread_cond_wait conditionalizations by while loops.
12616 2010-01-20 Tom Tromey <tromey@redhat.com>
12618 PR backtrace/10770:
12619 * gdb.dwarf2/pr10770.exp: New file.
12620 * gdb.dwarf2/pr10770.c: New file.
12621 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12623 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12625 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12626 that target was removed, and the test always runs native anyway.
12628 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12630 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12631 gdb.base/watchpoint-cond-gone-stripped.c: New.
12633 2010-01-19 Tom Tromey <tromey@redhat.com>
12636 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12638 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12639 (main): Use AAA::SomeEnum.
12641 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12643 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12644 (test_ignore_count): Declare line_callme_body global.
12645 (run to breakpoint with ignore count): Use line_callme_body.
12646 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12647 (set line_main_hello, set line_main_return): Reindent.
12648 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12650 (continue to callee4): Use line_callee4_body.
12651 (check *stopped from CLI command): Use line_callee4_next.
12652 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12653 (set line_main_hello, set line_main_return): Reindent.
12654 (set line_callee4_head, set line_callee4_body): New.
12655 (continue to callee4): Use line_callee4_body.
12657 2010-01-18 Tom Tromey <tromey@redhat.com>
12660 * gdb.cp/casts.cc: Add new classes and variables.
12661 * gdb.cp/casts.exp: Test new operators.
12663 2010-01-18 Tom Tromey <tromey@redhat.com>
12664 Thiago Jung Bauermann <bauerman@br.ibm.com>
12666 * gdb.python/source2.py: New file.
12667 * gdb.python/source1: New file.
12668 * gdb.python/python.exp: Test "source" command.
12670 2010-01-15 Stan Shebs <stan@codesourcery.com>
12672 * gdb.trace/tfile.c: New file.
12673 * gdb.trace/tfile.exp: New file.
12675 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12677 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12679 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12681 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12683 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12685 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12686 (libfunc): New parameter action. Implement also selectable "sleep".
12687 * gdb.base/break-interp-main.c: Include assert.h.
12688 (libfunc): New parameter action.
12689 (main): New parameters argc and argv. Assert argc. Pass argv.
12690 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12691 (test_attach): New proc.
12692 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12693 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12695 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12697 * gdb.base/break-interp.exp (test_core): New proc.
12698 (test_ld): Call it.
12700 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12702 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12703 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12704 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12705 and gdb_compile_shlib. Use new -Wl compiler options.
12706 (dl bt, main bt): New tests.
12708 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12710 Support PIEs with no symfile_objfile.
12711 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12712 (test_ld): New parameter trynosym.
12713 (test_ld <$trynosym>): New block.
12715 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12717 * gdb.base/break-interp.exp: New file.
12719 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12721 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12722 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12723 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12725 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12726 * gdb.python/py-mi.exp: Add lazy string test.
12728 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12730 * lib/mi-support.exp (mi_check_thread_states): Handle
12731 core number in thread listing.
12733 2010-01-12 Joel Brobecker <brobecker@adacore.com>
12735 * gdb.base/maint.exp: Adjust the expected output for the
12736 "maint print type" test. Use gdb_test_multiple instead of
12737 gdb_sent/gdb_expect.
12739 2010-01-11 Doug Evans <dje@google.com>
12741 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12742 from gdbserver_download. All callers updated.
12744 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12746 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12748 Implement binary numbers parsing.
12749 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12750 (test_integer_literals_rejected): New binary tests.
12752 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12754 * gdb.cell/configure: Regenerate.
12756 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12758 * gdb.base/corefile.exp: Move the core finding block out and call it as
12759 core_find, new variable $corefile, replace corefile by $corefile and
12760 [file tail $corefile] for usage vs. test names resp.
12761 * lib/gdb.exp (core_find): Move it as a new function here. New
12762 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12763 $destcore. Return "" on error.
12765 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12767 Workaround PR binutils/10802.
12768 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12771 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12773 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12775 2010-01-08 Joel Brobecker <brobecker@adacore.com>
12777 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12778 call, to avoid interruption.
12780 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12782 * gdb.stabs/weird.def (args93): New.
12784 2010-01-07 Doug Evans <dje@google.com>
12786 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12788 2010-01-07 Tom Tromey <tromey@redhat.com>
12790 * gdb.base/source.exp: Use correct line number.
12792 2010-01-05 Stan Shebs <stan@codesourcery.com>
12794 * gdb.trace/tracecmd.exp: Test ftrace.
12796 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12798 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12800 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12802 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12803 "uint_for_mi_testing".
12805 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12807 Test indented comment in file being sourced.
12808 * gdb.base/commands.exp: Test indented comment in file being sourced.
12810 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12812 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12813 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12814 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12817 2010-01-01 Joel Brobecker <brobecker@adacore.com>
12819 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12822 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12824 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12825 missing $after_stopped and comma (,) expectation.
12827 2009-12-31 Stan Shebs <stan@codesourcery.com>
12829 * gdb.trace/actions.exp: Test teval action.
12831 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12833 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12834 (top level): Call test_watchpoint_in_big_blob.
12835 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12837 (func3): Write to buf.
12839 2009-12-29 Stan Shebs <stan@codesourcery.com>
12841 * gdb.trace/actions.exp: Test default-collect.
12843 2009-12-28 Stan Shebs <stan@codesourcery.com>
12845 * gdb.trace/tsv.exp: New file.
12846 * gdb.base/completion.exp: Update ambiguous info output.
12848 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12850 * gdb.base/find.c (main): Reference search buffers.
12851 * gdb.base/included.c (main): Reference integer.
12852 * gdb.base/ptype.c (charfoo): Declare.
12853 (intfoo): Call charfoo.
12854 * gdb.base/scope0.c (useitp): New function.
12855 (usestatics): Use useitp.
12856 (useit): Add a type for val.
12857 * gdb.base/scope1.c (useit1): Take a pointer argument.
12858 (usestatics1): Update calls to useit1.
12859 * gdb.cp/call-c.cc: Declare foo.
12861 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12862 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12863 (main): Call C::ensureRefs and ensureOtherRefs.
12864 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12866 (ensureOtherRefs): New function.
12867 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12868 * gdb.cp/templates.cc (main): Call t5i.value.
12870 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12872 Fix compatibility with G++-4.5.
12873 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12874 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12875 (uncaught return): Remove.
12877 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12878 Phil Muldoon <pmuldoon@redhat.com>
12880 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12881 (bp_location13, bp_location14, bp_location17, bp_location18)
12882 (marker3_proto, marker4_proto): New variables.
12883 (breakpoint info): Update output.
12884 (run until breakpoint at marker3, run until breakpoint at marker4): New
12887 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12889 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12890 Replace the printf call of Y by provided "y-set-1" label. New block
12891 for the second shared library.
12892 * gdb.base/unload.exp: Compile also the second library, call
12893 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12894 (single pending breakpoint info): Rename to ...
12895 (pending breakpoint info before run): ... this extended test.
12896 (libfile2, libname2, libsrcfile2, libsrc2)
12897 (lib_sl2): New variables.
12898 (exec_opts): Set also SHLIB_NAME2.
12899 (pending breakpoint info on first run at shrfunc1)
12900 (pending breakpoint info on second run at shrfunc1)
12901 (pending breakpoint info on second run at shrfunc2)
12902 (print y from libfile, print y from libfile2): New tests.
12903 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12904 * gdb.base/unloadshr2.c: New.
12906 2009-12-22 Hui Zhu <teawater@gmail.com>
12908 * gdb.reverse/sigall-reverse.exp: Adjust.
12910 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12914 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12915 (main): Call do_bitfield_tests.
12916 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
12918 2009-12-20 Joel Brobecker <brobecker@adacore.com>
12920 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12921 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12922 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12923 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12924 gdb.modula2/unbounded1.c: Update copyright header.
12926 2009-12-10 Chris Moller <moller@mollerware.com>
12929 * gdb.cp/virtfunc2.exp: New tests
12930 * gdb.cp/virtfunc2.cc: New tests
12931 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12933 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12935 * gdb.reverse/i387-env-reverse.c: New file.
12936 * gdb.reverse/i387-env-reverse.exp: New file.
12937 * gdb.reverse/i387-stack-reverse.c: New file.
12938 * gdb.reverse/i387-stack-reverse.exp: New file.
12940 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12942 * gdb.python/py-type.exp (test_range): New test.
12944 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12948 * gdb.python/py-type.exp: New file.
12949 * gdb.python/py-type.c: New file.
12950 * Makefile.in: Add py-type.
12952 2009-12-03 Tom Tromey <tromey@redhat.com>
12954 * gdb.python/py-value.exp (test_parse_and_eval): New
12957 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12961 * gdb.base/pr11022.exp: New test.
12962 * gdb.base/pr11022.c: New test.
12964 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12966 Fix spurious false FAILs.
12967 * gdb.base/structs.c (chartest): New.
12968 (main): Fill-in chartest.
12969 * gdb.base/structs.exp (anychar_re, first): New.
12970 (start_structs_test): Import global anychar_re and first.
12971 New gdb_test call "set print elements 300; ${testfile}"
12972 (start_structs_test <$first>): New block.
12973 (any): Import global anychar_re. New variable ac. Use ${ac}.
12975 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12977 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12979 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12981 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12982 Force $srcfile file.
12983 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12985 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12987 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12988 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12989 * gdb.threads/watchthreads-reorder.exp: Likewise.
12991 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12995 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12996 "if", and "thread". Correct matching in the previous test.
12998 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
13000 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
13002 2009-11-23 Michael Snyder <msnyder@vmware.com>
13004 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
13005 * gdb.reverse-watch-precsave.exp: Ditto.
13007 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
13009 * gdb.asm/asm-source.exp: Adjust.
13010 * gdb.base/help.exp: Adjust.
13012 2009-11-22 Pedro Alves <pedro@codesourcery.com>
13014 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
13015 (do_syscall_tests_without_xml): Set data-directory to
13016 /the/path/to/nowhere.
13018 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13020 * gdb.threads/local-watch-wrong-thread.c,
13021 gdb.threads/local-watch-wrong-thread.exp: New files.
13023 2009-11-21 Pedro Alves <pedro@codesourcery.com>
13025 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
13026 assume new `regsub' syntax available.
13028 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13030 * gdb.base/watchpoint-hw-hit-once.exp,
13031 gdb.base/watchpoint-hw-hit-once.c: New.
13033 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13035 * gdb.threads/watchthreads-reorder.exp,
13036 gdb.threads/watchthreads-reorder.c: New.
13038 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13040 * gdb.xml/tdesc-regs.exp: Use for m68k.
13042 2009-11-15 Pedro Alves <pedro@codesourcery.com>
13044 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13046 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13048 * lib/gdb.exp (current_target_name): New procedure.
13049 (gdb_wrapper_target): New variable.
13050 (gdb_wrapper_init): Set gdb_wrapper_target.
13051 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13054 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13056 * gdb.base/remote.exp: Delete the slowest load test.
13057 Do not load with fixed packet sizes.
13059 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13061 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13063 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13065 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13066 srcfile when setting a breakpoint.
13068 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13070 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13073 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13075 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13077 * gdb.base/display.c (force_mem): New.
13078 (do_loops): Use it. Add breakpoint comments.
13079 (do_vars): Add a breakpoint comment.
13080 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13083 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13085 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13086 instead of a bare "run".
13088 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13090 * gdb.python/py-prettyprint.exp: Adjust.
13092 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13094 * lib/cell.exp (skip_cell_tests): Clean up test files before
13097 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13099 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13100 and the breakpoint menu. Do not call perror if a prompt is seen.
13101 Consume the following GDB prompt.
13102 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13103 * gdb.cp/namespace.exp: Use gdb_test.
13104 * gdb.cp/templates.exp: Use gdb_test.
13105 (test_template_breakpoints): Use gdb_test_multiple.
13107 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13109 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13110 (marker4): Reference values.
13112 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13114 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13117 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13119 * gdb.base/break.c (need_malloc): New.
13120 * gdb.base/constvars.c (main): Reference crass and crisp.
13121 * gdb.base/gdb1821.c (main): Reference bar.
13122 * gdb.cp/gdb1355.cc (main): Reference s1.
13123 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13125 * gdb.cp/hang2.cc (dummy2): Define.
13126 * gdb.cp/hang3.cc (dummy3): Define.
13127 * gdb.cp/m-data.cc (main): Reference shadow.
13129 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13130 Nathan Froyd <froydnj@codesourcery.com>
13132 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13135 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13137 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13138 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13139 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13140 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13141 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13142 * gdb.dwarf2/dw2-producer.exp: Likewise.
13143 * gdb.dwarf2/mac-fileno.exp: Likewise.
13144 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13145 py-prettyprint.py to the remote host.
13146 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13148 2009-11-11 Keith Seitz <keiths@redhat.com>
13150 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13151 use it instead of "Foo".
13152 * gdb.cp/classes.exp (do_tests): Add a test to access
13153 a method through a typedef'd class name.
13155 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13157 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13159 * gdb.base/pointers.exp: Likewise.
13160 * gdb.cp/ref-types.exp: Likewise.
13162 2009-11-11 Keith Seitz <keiths@redhat.com>
13164 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13165 new[] and delete[].
13166 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13168 (probe_demangler): Remove all single-quoting of
13169 method and variable names.
13170 (info_func_regexp): Remove the word "void" from any
13171 occurrence of "(void)".
13172 (print_addr_2): Remove all single-quoting of
13174 (print_addr_2_kfail): Likewise.
13175 (print_addr): Single-quote C function names before
13176 passing to print_addr_2.
13177 (test_paddr_operator_functions): Remove single-quoting
13179 Add tests for operator new[] and operator delete[].
13181 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13183 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13185 2009-11-09 Keith Seitz <keiths@redhat.com>
13187 * gdb.cp/overload.exp: Add tests for resolving overloaded
13188 methods in expression parsing/evaluation.
13190 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13192 * lib/gdb.exp (default_gdb_version): Use --version instead of
13195 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13197 * lib/gdb.exp (gdb_compile_test): New.
13198 (skip_ada_tests, skip_java_tests): New.
13199 (gdb_compile): Use gdb_compile_test for f77.
13200 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13201 * lib/java.exp (compile_java_from_source): Remove runtests check,
13202 use gdb_compile_test to record result.
13203 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13204 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13205 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13206 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13207 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13208 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13209 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13210 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13211 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13212 adjust gdb_compile invocations.
13214 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13216 * Makefile.in (abs_builddir): New.
13217 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13218 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13219 `$(abs_builddir)/site.exp'.
13221 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13223 * config/m68k-emc.exp, lib/emc-support.exp,
13224 gdb.trace/gdb_c_test.c: Delete.
13225 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13226 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13227 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13228 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13229 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13230 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13231 casing for m68k-*-elf.
13233 2009-11-03 Pedro Alves <pedro@codesourcery.com>
13235 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13236 * gdb.arch/i386-prologue.exp: Likewise.
13237 * gdb.arch/i386-unwind.exp: Likewise.
13239 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13241 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13243 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13245 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13247 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13249 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13251 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13253 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13255 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13257 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13258 * gdb.base/sepdebug2.c: New file.
13260 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13262 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13263 the modified warnings for catch syscall. Verify if GDB was compiled
13264 with support for lib expat, and choose which tests to run depending
13267 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13269 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13270 that composite commands are parsed OK. And also test
13271 that breakpoint commands do work.
13273 2009-10-23 Michael Snyder <msnyder@vmware.com>
13275 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13276 to allow for new disassembly style.
13278 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13280 * gdb.asm/asm-source.exp: Adjust.
13282 2009-10-22 Michael Snyder <msnyder@vmware.com>
13284 * gdb.reverse/break-precsave.exp: New test.
13285 * gdb.reverse/consecutive-precsave.exp: Ditto.
13286 * gdb.reverse/finish-precsave.exp: Ditto.
13287 * gdb.reverse/i386-precsave.exp: Ditto.
13288 * gdb.reverse/machinestate-precsave.exp: Ditto.
13289 * gdb.reverse/sigall-precsave.exp: Ditto.
13290 * gdb.reverse/solilb-precsave.exp: Ditto.
13291 * gdb.reverse/step-precsave.exp: Ditto.
13292 * gdb.reverse/until-precsave.exp: Ditto.
13293 * gdb.reverse/watch-precsave.exp: Ditto.
13295 2009-10-22 Michael Snyder <msnyder@vmware.com>
13297 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13298 for gdb_expect. Adjust one test's expect strings for the new
13299 format of disassemble.
13300 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13301 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13303 * gdb.reverse/step-reverse.exp: Delete 'return'.
13304 * gdb.reverse/until-reverse.exp: Delete blank lines.
13305 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13307 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13309 * gdb.base/consecutive.exp: Adjust.
13310 * gdb.base/display.exp: Likewise.
13311 * gdb.base/pc-fp.exp: Likewise.
13312 * gdb.base/sigbpt.exp: Likewise.
13314 2009-10-19 Michael Snyder <msnyder@vmware.com>
13316 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13317 * gdb.reverse/finish-reverse.c: Ditto.
13318 * gdb.reverse/sigall-reverse.c: Ditto.
13319 * gdb.reverse/solib-reverse.c: Ditto.
13320 * gdb.reverse/step-reverse.c: Ditto.
13321 * gdb.reverse/watch-reverse.c: Ditto.
13323 2009-10-19 Pedro Alves <pedro@codesourcery.com>
13324 Stan Shebs <stan@codesourcery.com>
13326 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13327 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13328 "Executing new program".
13329 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13330 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13331 left listed after having been killed.
13332 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13333 * gdb.base/maint.exp: Adjust test.
13335 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13336 * gdb.multi/Makefile.in: New.
13337 * gdb.multi/base.exp: New.
13338 * gdb.multi/goodbye.c: New.
13339 * gdb.multi/hangout.c: New.
13340 * gdb.multi/hello.c: New.
13341 * gdb.multi/bkpt-multi-exec.c: New.
13342 * gdb.multi/bkpt-multi-exec.exp: New.
13343 * gdb.multi/crashme.c: New.
13345 2009-10-13 Tristan Gingold <gingold@adacore.com>
13347 * gdb.base/sepdebug.exp: Check debug info are found.
13349 2009-10-08 Pedro Alves <pedro@codesourcery.com>
13351 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13354 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13356 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13358 2009-10-07 Joel Brobecker <brobecker@adacore.com>
13360 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13363 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13365 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13366 * gdb.base/annota3.exp: Idem.
13367 * gdb.base/maint.exp: Idem.
13369 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13371 * lib/gdb.exp (default_gdb_init): Set current value of match_max
13374 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13376 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
13377 mingw and cygwin targets.
13379 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13380 Pedro Alves <pedro@codesourcery.com>
13382 * lib/gdb.exp (gdb_compile): Avoid adding
13383 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13385 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13387 * gdb.base/shr1.c: Use %p in format string.
13388 * gdb.base/unload.c: Avoid warning in fprintf.
13389 * gdb.base/watchpoint-solib.c: Idem.
13391 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13393 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13395 (test_unlink): Correct printf string.
13396 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13397 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13399 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13401 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13402 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13403 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13405 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13407 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13408 * gdb.objc/nondebug.exp: Likewise.
13410 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13412 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13413 target_info setting.
13415 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13416 that detect new threads during "info threads".
13418 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13420 * gdb.threads/manythreads.c (main): Increase thread stack size
13421 to 2*PTHREAD_STACK_MIN.
13422 * gdb.threads/multi-create.c (main): Likewise.
13423 (create_function): Likewise.
13425 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13427 * gdb.base/dump.exp: Pass difference of pointer types instead
13428 of integer types as offset to restore in intarr3.srec case.
13430 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13432 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13434 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13436 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13438 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
13440 New test for two watchpoints, with disabling of
13441 the first inserted.
13442 * testsuite/gdb.base/watchpoints.c: New file.
13443 * testsuite/gdb.base/watchpoints.exp: New file.
13445 2009-09-25 Tom Tromey <tromey@redhat.com>
13447 * gdb.base/charset.exp: Test utf-16 strings with Python.
13449 2009-09-25 Tom Tromey <tromey@redhat.com>
13451 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13453 * gdb.base/charset.c (utf_32_string): Rename.
13454 (init_utf32): Rename.
13457 2009-09-22 Tom Tromey <tromey@redhat.com>
13459 * gdb.python/py-function.exp: Add regression tests.
13461 2009-09-21 Keith Seitz <keiths@redhat.com>
13463 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13464 with invalid operator.
13466 2009-09-21 Keith Seitz <keiths@redhat.com>
13468 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13469 and destructor using typedef name of class.
13470 * gdb.cp/classes.cc (class Base1): Add a destructor.
13471 (base1): New typedef.
13472 (use_methods): Instanitate an object of type base1.
13473 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13474 (do_tests): Call test_template_typedef.
13475 * gdb.cp/templates.cc (Baz::~Baz): New method.
13476 (intBazOne): New typedef.
13477 (main): Instantiate intBazOne.
13479 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13483 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13485 (run_lang_tests): Add print elements test.
13487 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13489 * gdb.python/py-value.exp (test_subscript_regression): New
13490 function. Test for invalid subscripts.
13491 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13492 (ptr_ref): New function.
13494 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13496 * gdb.base/default.exp: Fix "show convenience".
13498 2009-09-15 Tom Tromey <tromey@redhat.com>
13500 * lib/mi-support.exp (mi_create_varobj): Update.
13501 (mi_create_floating_varobj): Likewise.
13502 (mi_create_dynamic_varobj): New proc.
13503 (mi_varobj_update): Update.
13504 (mi_varobj_update_with_type_change): Likewise.
13505 (mi_varobj_update_kv_helper): New proc.
13506 (mi_varobj_update_dynamic_helper): Rewrite.
13507 (mi_varobj_update_dynamic): New proc.
13508 (mi_list_varobj_children): Update.
13509 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13510 * gdb.python/python-prettyprint.py (pp_outer): New class.
13511 (pp_nullstr): Likewise.
13512 (lookup_function): Register new printers.
13513 * gdb.python/python-prettyprint.c (struct substruct): New type.
13514 (struct outerstruct): Likewise.
13515 (substruct_test): New function.
13516 (struct nullstr): New type.
13517 (string_1, string_2): New globals.
13518 (main): Add new tests.
13519 * gdb.python/python-mi.exp: Added regression tests.
13520 * gdb.mi/mi2-var-display.exp: Update.
13521 * gdb.mi/mi2-var-cmd.exp: Update.
13522 * gdb.mi/mi2-var-child.exp: Update.
13523 * gdb.mi/mi2-var-block.exp: Update.
13524 * gdb.mi/mi-var-invalidate.exp: Update.
13525 * gdb.mi/mi-var-display.exp: Update.
13526 * gdb.mi/mi-var-cmd.exp: Update.
13527 * gdb.mi/mi-var-child.exp: Update.
13528 * gdb.mi/mi-var-block.exp: Update.
13529 * gdb.mi/mi-break.exp: Update.
13530 * gdb.mi/gdb701.exp: Update.
13532 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13534 * Makefile.in: Inclusion of catch-syscall object.
13535 * gdb.base/catch-syscall.c: New file.
13536 * gdb.base/catch-syscall.exp: New file.
13538 2009-09-12 Michael Snyder <msnyder@vmware.com>
13540 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13541 that can support reverse debuggnig.
13543 2009-09-11 Tom Tromey <tromey@redhat.com>
13545 * gdb.dwarf2/valop.S: New file.
13546 * gdb.dwarf2/valop.exp: New file.
13548 2009-09-11 Mark Kettenis <kettenis@gnu.org>
13550 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13552 2009-09-10 Doug Evans <dje@google.com>
13554 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13555 Add $gdb_prompt to second breakpoint regexp.
13557 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13559 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13560 names, add missing ones.
13561 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13562 * gdb.python/py-frame.c: Rename from python-frame.c.
13563 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13565 * gdb.python/py-function.exp: Rename from python-function.exp.
13566 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13568 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13569 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13570 Adjust testfile name.
13571 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13572 * gdb.python/py-template.cc: Rename from python-template.cc.
13573 * gdb.python/py-template.exp: Rename from python-template.exp.
13574 Adjust testfile name.
13575 * gdb.python/py-value.c: Rename from python-value.c.
13576 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13579 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13581 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13583 (Second breakpoint address is valid on ia64)
13584 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13586 2009-09-03 Joseph Myers <joseph@codesourcery.com>
13588 * gdb.base/ending-run.exp: Restrict regular expression matching
13589 line number to require closing brace following.
13591 2009-09-03 Doug Evans <dje@google.com>
13593 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13595 2009-09-02 Tom Tromey <tromey@redhat.com>
13597 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13599 2009-09-02 Tom Tromey <tromey@redhat.com>
13601 * gdb.dwarf2/callframecfa.exp: New file.
13602 * gdb.dwarf2/callframecfa.S: New file.
13604 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13606 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13607 gdb.base/solib-overlap-main.c: New.
13609 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13613 * gdb.base/bitfields.c (struct container, container): New.
13614 (main): Initialize it and call break5.
13615 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13617 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13619 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13620 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13622 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13624 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13626 2009-08-26 Michael Snyder <msnyder@vmware.com>
13628 * gdb.base/i386-reverse.c: New file.
13629 * gdb.base/i386-reverse.exp: New file.
13630 * gdb.base/Makefile.in: Add new files to be removed.
13632 2009-08-26 Joseph Myers <joseph@codesourcery.com>
13634 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13635 environment-pwd for remote host.
13636 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13638 2009-08-24 Keith Seitz <keiths@redhat.com>
13640 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13641 Add two new C++ completer tests which limit the output to a
13644 2009-08-24 Michael Snyder <msnyder@vmware.com>
13646 * gdb.base/del.exp: Fix typo in comment.
13647 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13649 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13651 * configure: Regenerate.
13652 * gdb.hp/configure: Likewise.
13653 * gdb.hp/gdb.aCC/configure: Likewise.
13654 * gdb.hp/gdb.base-hp/configure: Likewise.
13655 * gdb.hp/gdb.compat/configure: Likewise.
13656 * gdb.hp/gdb.defects/configure: Likewise.
13657 * gdb.hp/gdb.objdbg/configure: Likewise.
13658 * gdb.stabs/configure: Likewise.
13660 2009-08-19 Doug Evans <dje@google.com>
13662 * gdb.base/gdbvars.c: New file.
13663 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13665 2009-08-14 Pedro Alves <pedro@codesourcery.com>
13667 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13668 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13670 2009-08-13 Pedro Alves <pedro@codesourcery.com>
13672 * gdb.base/default.exp: Adjust "set language test": it's now an
13673 enum command. Larger help string moved to "help set language".
13674 * gdb.base/help.exp: Adjust "help set language" expected output,
13675 now lists all known languages.
13677 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13679 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13680 all frame arguments.
13681 * gdb.arch/altivec-regs.exp: Likewise.
13683 2009-08-07 Tom Tromey <tromey@redhat.com>
13685 * gdb.base/setshow.exp: Add tests for changes to set language, set
13686 check range, and set check type.
13688 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13690 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13691 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
13694 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13696 * configure.ac: Run gdb.cell tests when appropriate.
13697 * configure: Regenerate.
13698 * lib/cell.exp: New file.
13699 * gdb.cell: New directory.
13700 * gdb.cell/configure.ac: New file.
13701 * gdb.cell/configure: New file.
13702 * gdb.cell/Makefile.in: New file.
13703 * gdb.cell/arch.exp: New file.
13704 * gdb.cell/break.c: New file.
13705 * gdb.cell/break.exp: New file.
13706 * gdb.cell/break-spu.c: New file.
13707 * gdb.cell/bt.c: New file.
13708 * gdb.cell/bt2-spu.c: New file.
13709 * gdb.cell/bt-spu.c: New file.
13710 * gdb.cell/bt.exp: New file.
13711 * gdb.cell/coremaker.c: New file.
13712 * gdb.cell/coremaker-spu.c: New file.
13713 * gdb.cell/core.exp: New file.
13714 * gdb.cell/gcore.exp: New file.
13715 * gdb.cell/data.c: New file.
13716 * gdb.cell/data.exp: New file.
13717 * gdb.cell/data-spu.c: New file.
13718 * gdb.cell/ea-cache.exp: New file.
13719 * gdb.cell/ea-cache.c: New file.
13720 * gdb.cell/ea-cache-spu.c: New file.
13721 * gdb.cell/ea-standalone.c: New file.
13722 * gdb.cell/ea-standalone.exp: New file.
13723 * gdb.cell/ea-test.c: New file.
13724 * gdb.cell/ea-test.exp: New file.
13725 * gdb.cell/f-regs.exp: New file.
13726 * gdb.cell/mem-access.c: New file.
13727 * gdb.cell/mem-access.exp: New file.
13728 * gdb.cell/mem-access-spu.c: New file.
13729 * gdb.cell/ptype.exp: New file.
13730 * gdb.cell/registers.exp: New file.
13731 * gdb.cell/size.c: New file.
13732 * gdb.cell/sizeof.exp: New file.
13733 * gdb.cell/size-spu.c: New file.
13734 * gdb.cell/solib.exp: New file.
13735 * gdb.cell/solib-symbol.exp: New file.
13737 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13739 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13741 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13743 * gdb.base/float.exp: Handle VFP registers.
13745 2009-07-14 Michael Snyder <msnyder@vmware.com>
13747 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13748 to bring gdb to the beginning of the calling line.
13750 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13751 confusing the i386 epilogue unwinder.
13753 2009-07-14 Stan Shebs <stan@codesourcery.com>
13755 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13757 2009-07-14 Michael Snyder <msnyder@vmware.com>
13759 * gdb.reverse/step-reverse.exp (stepi into function call):
13760 Call instruction may not be first instruction in the line.
13761 (reverse stepi from a function call): Used wrong line number.
13763 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13765 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13767 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13769 Fix gdb.base/macscp.exp when using custom inputrc.
13770 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13771 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13773 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13774 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13776 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13778 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13779 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13780 Change the compilation target to match the testcase name.
13781 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13783 * a2-run.exp: Use for setup prepare_for_testing. Change the
13784 compilation target to match the testcase name.
13785 * gdb.base/commands.exp: Likewise.
13786 * gdb.base/finish.exp: Likewise.
13787 * gdb.base/float.exp: Likewise.
13788 * gdb.base/info-target.exp: Likewise.
13789 * gdb.base/relational.exp: Likewise.
13790 * gdb.base/term.exp: Likewise.
13791 * gdb.base/until.exp: Likewise.
13792 * gdb.base/volatile.exp: Likewise.
13793 * gdb.base/whatis-exp.exp: Likewise.
13795 2009-07-11 Hui Zhu <teawater@gmail.com>
13797 * gdb.base/help.exp (disassemble): Update expected help text.
13799 2009-07-09 Tom Tromey <tromey@redhat.com>
13801 * lib/gdb.exp: Handle TRANSCRIPT.
13802 (remote_spawn, remote_close, send_gdb): New procs.
13804 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13806 * gdb.python/python-prettyprint.c: Add counted null string
13808 * gdb.python/python-prettyprint.exp: Print null string. Test for
13810 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13811 * gdb.python/python-value.exp (test_value_in_inferior): Add
13812 variable length string fetch tests.
13813 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13815 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13817 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13819 2009-07-07 Tom Tromey <tromey@redhat.com>
13821 * gdb.base/call-rt-st.exp: Update for change to escape output.
13822 * gdb.base/callfuncs.exp: Likewise.
13823 * gdb.base/charset.exp: Likewise.
13824 * gdb.base/constvars.exp: Likewise.
13825 * gdb.base/long_long.exp: Likewise.
13826 * gdb.base/pointers.exp: Likewise.
13827 * gdb.base/printcmds.exp: Likewise.
13828 * gdb.base/setvar.exp: Likewise.
13829 * gdb.base/store.exp: Likewise.
13830 * gdb.cp/ref-types.exp: Likewise.
13831 * gdb.mi/mi-var-child.exp: Likewise.
13832 * gdb.mi/mi-var-display.exp: Likewise.
13833 * gdb.mi/mi2-var-display.exp: Likewise.
13834 * gdb.base/charset.exp: Test octal escape sequence length.
13835 Update for change to escape output.
13837 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13839 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13841 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13843 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13845 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13847 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13848 gdbserver increasing $portnum if "Can't bind address" has been seen.
13850 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13852 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13855 2009-07-05 Pedro Alves <pedro@codesourcery.com>
13857 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13860 2009-07-02 Pedro Alves <pedro@codesourcery.com>
13862 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13863 linux. Adjust to use "inferior", "info inferiors", "detach
13864 inferior" and "kill inferior" instead of "restart", "info fork",
13865 "detach fork" and "delete fork".
13866 * gdb.base/ending-run.exp: Spell out "info".
13867 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13868 the "kill" command.
13870 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13872 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13873 change to prefix TLS offset in hex with 0x.
13875 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13877 * gdb.base/default.exp: Update test case for "x" changes.
13879 2009-07-01 Tristan Gingold <gingold@adacore.com>
13881 * gdb.base/bigcore.exp: Make darwin untested.
13883 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13885 * gdb.base/completion.exp (directory completion): Create the directory.
13886 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13888 (directory completion 2): Expect now ${escapeuniquesub}.
13889 (Glob remaining of directory test): Remove one excessive newline.
13890 Expect the real output.
13892 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13894 Fix `make check//%' target after `make check' has been ran.
13895 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13897 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13900 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13902 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13903 the expected result record.
13905 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13907 Remove racy FAILs relying just on the timeouts.
13908 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13909 (annotation_level 2): Remove racy FAILs.
13911 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13914 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13916 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13918 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13920 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13922 * gdb.mi/mi-stack.exp: Testing symbolic options
13923 to -stack-list-locals and -stack-list-arguments.
13925 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13927 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13929 2009-06-29 Tom Tromey <tromey@redhat.com>
13931 * dg-extract-results.sh: New file.
13932 * Makefile.in (FORCE_PARALLEL): New variable.
13933 (CHECK_TARGET): New conditional variable.
13934 (check): Use CHECK_TARGET.
13935 (DO_RUNTEST): New variable.
13936 (check-single): New target.
13937 (TEST_DIRS): New variable.
13938 (TEST_TARGETS): Likewise.
13939 (check-parallel): New target.
13940 (check-gdb.%): New pattern.
13941 (BASE1_FILES): New variable.
13942 (BASE2_FILES): Likewise.
13943 (check-gdb.base%): New pattern.
13944 (%/.dir): New pattern.
13945 * configure: Rebuild.
13946 * aclocal.m4 (AM_CONDITIONAL): New defun.
13947 * configure.ac: Check whether user is using GNU make.
13948 (GMAKE): New conditional.
13950 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13952 * gdb.cp/namespace-nested-import.cc: New test.
13953 * gdb.cp/namespace-nested-import.exp: New test.
13955 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13957 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13958 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13959 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13960 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13961 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13962 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13963 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13964 gdb.opt/inline-markers.c: New files.
13965 * lib/gdb.exp (skip_inline_frame_tests): New function.
13966 (skip_inline_var_tests): New function.
13968 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13970 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13973 2009-06-27 Michael Snyder <msnyder@vmware.com>
13975 * gdb.reverse: New directory.
13976 * gdb.reverse/break-reverse.c: New test.
13977 * gdb.reverse/break-reverse.exp: New test.
13978 * gdb.reverse/consecutive-reverse.c: New test.
13979 * gdb.reverse/consecutive-reverse.exp: New test.
13980 * gdb.reverse/finish-reverse.c: New test.
13981 * gdb.reverse/finish-reverse.exp: New test.
13982 * gdb.reverse/machinestate.c: New test.
13983 * gdb.reverse/ms1.c: New test.
13984 * gdb.reverse/machinestate.exp: New test.
13985 * gdb.reverse/Makefile.in: New file.
13986 * gdb.reverse/shr2.c: New test.
13987 * gdb.reverse/solib-reverse.c: New test.
13988 * gdb.reverse/solib-reverse.exp: New test.
13989 * gdb.reverse/step-reverse.c: New test.
13990 * gdb.reverse/step-reverse.exp: New test.
13991 * gdb.reverse/until-reverse.c: New test.
13992 * gdb.reverse/ur1.c: New test.
13993 * gdb.reverse/until-reverse.exp: New test.
13994 * gdb.reverse/watch-reverse.c: New test.
13995 * gdb.reverse/watch-reverse.exp: New test.
13996 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13997 * configure: Regenerate.
13999 2009-06-26 Doug Evans <dje@google.com>
14001 * gdb.base/psymtab.exp: Turn off pending breakpoints.
14003 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
14005 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
14006 windows problem for 'file delete $binfile'.
14008 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
14010 * gdb.cp/namespace-using.exp: New test.
14011 * gdb.cp/namespace-using.cc: New test.
14013 2009-05-20 Joel Brobecker <brobecker@adacore.com>
14015 * gdb.ada/variant_record_packed_array: New testcase.
14017 2009-06-23 Tom Tromey <tromey@redhat.com>
14019 * gdb.base/charset.exp (test_combination): Regression test.
14020 * gdb.base/charset.c (my_wchar_t): New typedef.
14021 (myvar): New global.
14024 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
14026 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
14029 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14031 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
14033 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14035 * gdb.mi/gdb680.exp: Update test for error message.
14037 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14039 * gdb.base/annota1.exp: Allow multiple occurrences of the
14040 frames-invalid annotation.
14041 * gdb.cp/annota2.exp: Likewise.
14043 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14045 * gdb.cp/gdb2495.cc: New file.
14046 * gdb.cp/gdb2495.exp: New file.
14048 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14050 Report error on GDB crash during runto.
14051 * lib/gdb.exp (runto <eof>): New.
14053 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14055 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14056 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14057 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14058 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14059 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14060 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14061 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14062 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14063 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14064 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14065 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14066 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14067 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14068 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14069 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14070 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14071 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14072 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14073 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14074 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14075 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14076 gdb.trace/passcount.exp, gdb.trace/report.exp,
14077 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14078 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14079 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14082 2009-06-07 Pedro Alves <pedro@codesourcery.com>
14084 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14085 defined before referencing it.
14087 2009-06-03 Doug Evans <dje@google.com>
14089 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14090 * gdb.arch/i386-see.c: Ditto.
14092 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14094 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14095 (check_macro): Return 1 if undefined.
14096 If first test fails, check if macro debug information is available,
14097 and report unsupported test if no macro information is found.
14099 2009-05-29 Doug Evans <dje@google.com>
14101 * gdb.threads/hand-call-in-threads.exp: New.
14102 * gdb.threads/hand-call-in-threads.c: New.
14104 2009-05-29 Michael Snyder <msnyder@vmware.com>
14106 * gdb.base/break-always.exp: Change "1" to "on".
14107 Add confirmation check.
14109 2009-05-28 Pedro Alves <pedro@codesourcery.com>
14111 * gdb.threads/threxit-hop-specific.c: New.
14112 * gdb.threads/threxit-hop-specific.exp: New.
14113 * gdb.threads/thread-execl.c: New.
14114 * gdb.threads/thread-execl.exp: New.
14116 2009-05-27 Tom Tromey <tromey@redhat.com>
14117 Thiago Jung Bauermann <bauerman@br.ibm.com>
14119 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14120 (mi_child_regexp): Likewise.
14121 (mi_list_varobj_children_range): Likewise.
14122 (mi_get_features): Likewise.
14123 (mi_list_varobj_children): Rewrite.
14124 * gdb.python/python-mi.exp: New file.
14126 2009-05-27 Tom Tromey <tromey@redhat.com>
14127 Thiago Jung Bauermann <bauerman@br.ibm.com>
14128 Phil Muldoon <pmuldoon@redhat.com>
14129 Paul Pluzhnikov <ppluzhnikov@google.com>
14131 * gdb.python/python-prettyprint.exp: New file.
14132 * gdb.python/python-prettyprint.c: New file.
14133 * gdb.python/python-prettyprint.py: New file.
14134 * gdb.base/display.exp: print/r is now valid.
14136 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14137 Tom Tromey <tromey@redhat.com>
14138 Pedro Alves <pedro@codesourcery.com>
14139 Paul Pluzhnikov <ppluzhnikov@google.com>
14141 * gdb.python/python-template.exp: New file.
14142 * gdb.python/python-template.cc: New file.
14143 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14145 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14147 (test_value_after_death): New proc.
14148 * gdb.python/python-value.c (PTR): New typedef.
14149 (main): New variable 'x'.
14151 2009-05-27 Tom Tromey <tromey@redhat.com>
14153 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14155 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14158 2009-05-27 Pedro Alves <pedro@codesourcery.com>
14160 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14162 2009-05-24 Pedro Alves <pedro@codesourcery.com>
14164 * gdb.threads/fork-thread-pending.c: New.
14165 * gdb.threads/fork-thread-pending.exp: New.
14167 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14169 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14170 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14172 2009-05-18 Jon Beniston <jon@beniston.com>
14174 * gdb.asm/asm-source.exp: Add lm32 target.
14176 2009-05-17 Pedro Alves <pedro@codesourcery.com>
14178 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14179 `gdb_get_line_number'. Call `callee' in both parent and child.
14180 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14181 `gdb_get_line_number' instead of hardcoding line numbers.
14182 (catch_fork_unpatch_child): New procedure to test detaching
14183 breakpoints from child fork.
14184 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14185 hardcoding line numbers.
14186 (do_fork_tests): Run `catch_fork_unpatch_child'.
14188 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14190 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14191 of structure type enters or leaves the scope, it
14192 is reported by -var-update.
14194 2009-05-11 Doug Evans <dje@sebabeach.org>
14196 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
14197 * gdb.threads/pending-step.c (main): Fix off-by-one error.
14198 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14200 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14202 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14204 2009-04-30 Doug Evans <dje@google.com>
14206 * gdb.threads/watchthreads2.exp: New testcase.
14207 * gdb.threads/watchthreads2.c: New testcase.
14209 2009-04-29 Doug Evans <dje@google.com>
14211 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14212 * gdb.cp/mb-ctor.cc: Ditto.
14213 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14214 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14215 * gdb.cp/mb-inline1.cc: Call it.
14216 * gdb.cp/mb-inline2.cc: Ditto.
14217 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14218 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14220 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14222 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14223 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14224 Replace all uses of `decimal' by `nonzero'.
14225 (info macro FROM_COMMANDLINE): New test.
14227 2009-04-27 Tom Tromey <tromey@redhat.com>
14229 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14231 2009-04-27 Doug Evans <dje@google.com>
14233 * gdb.threads/watchthreads.c (main): Initialize args before starting
14234 the threads. Plus formatting cleanup.
14235 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14236 biased scheduling of one thread.
14238 2009-04-27 Jerome Guitton <guitton@adacore.com>
14240 * gdb.cp/templates.cc (GetMax): New template.
14241 (main): Declare two instances of GetMax.
14242 * gdb.cp/templates.exp: Add new test.
14244 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14246 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14248 2009-04-22 Joseph Myers <joseph@codesourcery.com>
14250 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14252 2009-04-15 Tom Tromey <tromey@redhat.com>
14254 * gdb.base/charset.exp: Add regression test.
14256 2009-04-14 Joel Brobecker <brobecker@adacore.com>
14258 * gdb.base/exe-lock.exp: New testcase.
14260 2009-04-13 Tom Tromey <tromey@redhat.com>
14262 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14265 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14267 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14268 * gdb.server/ext-attach.exp: Likewise.
14270 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14272 Eliminate some sleep usage.
14274 * gdb.mi/basics.c (do_nothing): New.
14275 (main): Use do_nothing instead of printf, so that
14276 not to introduce race condition between output of
14277 inferiour and output of gdb. Do not use sleep as it
14278 is not generally available on embedded targets.
14280 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14282 * gdb.server/ext-attach.exp: Expect an optional process id after
14283 "Detached from remote process".
14285 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14287 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14288 gdb.dwarf2/dw2-unresolved.exp: New.
14290 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14292 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14295 2009-04-02 Pedro Alves <pedro@codesourcery.com>
14297 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14298 mi_run_to_main. Skip thread exit test on remote targets.
14299 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14301 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14303 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14304 when expecting ^connected. Detect when the target doesn't support
14306 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14307 supported. Return -1 on error, 0 on success.
14308 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14309 (mi_runto): Return mi_runto_helper's result explicitly.
14311 2009-04-01 Pedro Alves <pedro@codesourcery.com>
14313 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14315 2009-04-01 Tom Tromey <tromey@redhat.com>
14317 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14318 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14319 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14320 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14322 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14323 Jan Kratochvil <jan.kratochvil@redhat.com>
14326 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14328 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14330 * dw2-strp.S (DW_AT_language): Change to C++.
14331 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14333 2009-03-31 Joel Brobecker <brobecker@adacore.com>
14335 * gdb.ada/tasks: New testcase.
14337 2009-03-30 Stan Shebs <stan@codesourcery.com>
14339 * gdb.trace/actions.exp: Update to match new info trace format.
14340 * gdb.trace/deltrace.exp: Ditto.
14341 * gdb.trace/infotrace.exp: Ditto.
14342 * gdb.trace/passcount.exp: Ditto.
14343 * gdb.trace/save-trace.exp: Ditto.
14344 * gdb.trace/while-stepping.exp: Ditto.
14345 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14347 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14349 * gdb.python/python-frame.c: New file.
14350 * gdb.python/python-frame.exp: New file.
14352 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14354 * gdb.python/python-value.exp: Add tests for the address
14357 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14359 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14361 2009-03-26 Doug Evans <dje@google.com>
14363 * gdb.mi/mi-nonstop-exit.exp: New file.
14364 * gdb.mi/non-stop-exit.c: New file.
14366 2009-03-26 Tom Tromey <tromey@redhat.com>
14368 Update for change to prologue skipping:
14369 * gdb.mi/mi2-simplerun.exp: Update.
14370 * gdb.mi/mi2-break.exp: Update.
14371 * gdb.mi/mi-simplerun.exp: Update.
14372 * gdb.mi/mi-break.exp: Update.
14373 * gdb.base/ending-run.exp: Update.
14375 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14377 * gdb.python/python-value.exp (test_value_in_inferior): Test
14378 gdb.Value.is_optimized_out attribute.
14380 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14382 * gdb.dwarf2/dw2-noloc-main.c: New file.
14383 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14386 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14387 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14388 (DW_TAG_subprogram func_cu1, noloc): Remove.
14390 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14391 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14392 (file_symbols): New procedure.
14394 2009-03-25 Tom Tromey <tromey@redhat.com>
14396 * gdb.base/charset.exp (valid_target_charset): New proc.
14397 Use it to skip tests on invalid charsets.
14399 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14401 * gdb.base/completion.exp: Add a test for directory completion.
14403 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14406 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14407 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14409 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14411 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14412 * gdb.python/python-function.exp: Add test for function returning
14415 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14417 * gdb.python/python-function.exp: New file.
14419 2009-03-20 Tom Tromey <tromey@redhat.com>
14421 * gdb.base/store.exp: Update for change to escape output.
14422 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14424 * gdb.base/pointers.exp: Update for change to escape output.
14425 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14427 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14429 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14431 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14433 * gdb.base/setvar.exp: Update for change to escape output.
14434 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14435 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14437 (test_print_string_constants): Likewise.
14438 * gdb.base/charset.exp (valid_host_charset): Check size of
14439 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14440 cases. Handle "auto"-related output.
14441 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14442 (uvar, Uvar): New globals.
14444 2009-03-19 Jerome Guitton <guitton@adacore.com>
14446 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14448 * gdb.ada/fixed_points.exp: Ditto.
14450 2009-03-18 Pedro Alves <pedro@codesourcery.com>
14452 * return-nodebug.c: Don't include stdio.h.
14454 (func): Delete definition and provide extern declaration.
14456 (main): Don't call printf. Call func and store its result in t.
14457 * return-nodebug1.c: New.
14458 * return-nodebug.exp: Don't expect stdio output. Instead, print
14459 the global variable t. Drop printf formatters and cast types from
14460 foreach loop. Don't use prepare_for_testing. Compile
14461 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14462 define FORMAT or CAST.
14464 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14466 * gdb.base/solib-display.exp: Disable test for remote targers.
14468 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14470 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14472 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14475 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14476 code from `follow parent, print pids'.
14477 (`follow child, print pids', `follow parent, print pids'): Call it.
14478 Replace `gdb_test "break..."' by gdb_breakpoint.
14480 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14482 * gdb.mi/mi-cli.exp: Adjust for output difference in
14483 sync and async modes.
14485 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14487 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14488 that was checked in by mistake. Remove loading of ada.exp, since
14489 this is not necessary in this case.
14491 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14493 * gdb.ada/ptype_arith_binop.exp: New testcase.
14495 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14497 * gdb.ada/mod_from_name: New testcase.
14499 2009-03-12 Joel Brobecker <brobecker@adacore.com>
14501 * gdb.ada/tick_last_segv: New testcase.
14503 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14505 * gdb.mi/mi-cli.exp: Remove debug print.
14507 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14509 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14510 include the token in ^running and frame info in *stopped.
14512 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14514 * solib-display.exp: New file.
14515 * solib-display-main.c: New file.
14516 * solib-display-lib.c: New file.
14518 2009-03-05 Pedro Alves <pedro@codesourcery.com>
14520 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14522 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14524 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14525 (list_and_check_macro): Use more specific test name.
14526 (next to definition): Make the test names unique.
14528 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14530 * gdb.pascal/floats.exp: Accept approximate results everywhere.
14532 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14534 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14536 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14537 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14538 * lib/mi-support.exp (library_loaded_re): New.
14539 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14541 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14543 * gdb.gdb/observer.exp: Use test_notification observer, not
14544 normal_stop, everywhere.
14545 (test_normal_stop_notifications): Rename to...
14546 (test_notifications): ...this.
14547 (test_observer_normal_stop): Rename to...
14548 (test_observer): ...this.
14550 2009-02-16 Doug Evans <dje@google.com>
14552 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14553 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14554 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14555 (test_prefixed_syscall,test_int3): New tests.
14556 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14557 (test_prefixed_syscall,test_int3): New tests.
14559 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14561 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14562 (mi_expect_interrupt): Likewise.
14563 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14566 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14568 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14569 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14570 Replace calls to get_valueofx by get_hexadecimal_valueof.
14572 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14574 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14575 (get_integer_valueof): New procedure.
14576 (get_sizeof): Use new get_integer_value_of.
14577 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14578 by get_integer_valueof.
14580 2009-02-13 Tom Tromey <tromey@redhat.com>
14582 * gdb.base/remote.exp (get_sizeof): Remove.
14583 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14584 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14585 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14586 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14587 (get_sizeof): Likewise.
14589 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14592 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14594 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14596 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14598 2009-02-06 Pedro Alves <pedro@codesourcery.com>
14600 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14602 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14604 * gdb.python/python-cmd.exp: New file.
14606 2009-02-06 Tristan Gingold <gingold@adacore.com>
14608 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14610 2009-02-05 Tristan Gingold <gingold@adacore.com>
14612 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14613 pointer is dereferenced and use this signal name in regexp.
14614 * gdb.base/signull.exp: Ditto.
14615 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14616 * gdb.base/signull.c (main): Ditto.
14618 2009-02-04 Tom Tromey <tromey@redhat.com>
14619 Thiago Jung Bauermann <bauerman@br.ibm.com>
14621 * gdb.python/python-value.exp: Use `gdb.history' instead of
14622 `gdb.value_from_history'.
14623 (test_value_numeric_ops): Add test for conversion of enum constant.
14624 * gdb.python/python-value.c (enum e): New type.
14625 (evalue): New global.
14628 2009-02-04 Jerome Guitton <guitton@adacore.com>
14630 * gdb.ada/uninitialized_vars: New test program.
14631 * gdb.ada/uninitialized_vars.exp: New testcase.
14633 2009-02-02 Tom Tromey <tromey@redhat.com>
14635 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14636 * gdb.cp/pr2489.cc: Rename...
14637 * gdb.cp/pr9594.cc: ... to this.
14639 2009-02-02 Tom Tromey <tromey@redhat.com>
14641 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14642 * gdb.cp/pr2489.cc: New file.
14643 * gdb.cp/cpcompletion.exp: New file.
14645 2009-02-02 Tom Tromey <tromey@redhat.com>
14648 * gdb.cp/call-c.exp: Add regression test.
14649 * gdb.cp/call-c.cc (FooHandle): New typedef.
14650 (main): New variable 'handle'.
14652 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14654 * lib/mi-support.exp (et_mi_thread_list)
14655 (check_mi_and_console_threads): Adjust for current thread in
14656 -thread-list-ids output.
14658 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14660 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14663 2009-01-28 Doug Evans <dje@google.com>
14665 * gdb.arch/amd64-disp-step.S: New file.
14666 * gdb.arch/amd64-disp-step.exp: New file.
14667 * gdb.arch/i386-disp-step.S: New file.
14668 * gdb.arch/i386-disp-step.exp: New file.
14670 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14672 * gdb.base/find.exp: Set newline variable
14673 using quotes instead of braces to fix cygwin failures.
14675 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14677 * gdb.base/radix.exp: Add tests to ensure that that set
14678 input-radix 0 and set output-radix 0 are really rejected.
14680 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14682 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14685 2009-01-23 Pedro Alves <pedro@codesourcery.com>
14688 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14690 2009-01-22 Pedro Alves <pedro@codesourcery.com>
14693 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14695 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14697 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14698 binfile definition to fix Windows OS failure.
14700 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14703 * gdb.base/interrupt.c (sigint_handler): New.
14704 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14706 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14707 Test "signal SIGINT".
14709 2009-01-19 Doug Evans <dje@google.com>
14711 * gdb.base/break.exp: Update expected gdb output.
14712 * gdb.base/sepdebug.exp: Ditto.
14713 * gdb.mi/mi-syn-frame.exp: Ditto.
14714 * gdb.mi/mi2-syn-frame.exp: Ditto.
14715 * gdb.base/call-signal-resume.exp: New file.
14716 * gdb.base/call-signals.c: New file.
14717 * gdb.base/unwindonsignal.exp: New file.
14718 * gdb.base/unwindonsignal.c: New file.
14719 * gdb.threads/interrupted-hand-call.exp: New file.
14720 * gdb.threads/interrupted-hand-call.c: New file.
14721 * gdb.threads/thread-unwindonsignal.exp: New file.
14723 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14725 * gdb.base/define.exp: Test defining and hooking prefix commands.
14726 * gdb.python/python.exp: Update test for "show user" output.
14728 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14730 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14731 now the output exactly, using less wildcards. Expect also the output
14732 of gfortran-4.3. Update for the f-valprint.c modification from
14734 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14735 Remove gdb_test test names where matching the command.
14737 2009-01-01 Pedro Alves <pedro@codesourcery.com>
14739 PR breakpoints/9681:
14740 * gdb.base/watchpoint.exp: Add regression test.
14742 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14744 * gdb.threads/attach-into-signal.exp: Don't use
14745 gdb_suppress_entire_file.
14746 * gdb.threads/attach-stopped.exp: Ditto.
14747 * gdb.threads/attachstop-mt.exp: Ditto.
14749 2008-12-31 Pedro Alves <pedro@codesourcery.com>
14752 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14754 2008-12-29 Pedro Alves <pedro@codesourcery.com>
14757 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14758 and unsupported output radices are really rejected.
14760 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14762 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14764 2008-12-22 Tom Tromey <tromey@redhat.com>
14766 * gdb.cp/punctuator.exp: New file.
14768 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14770 * gdb.base/completion.exp (Completing non-existing component): New test.
14772 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14774 Fix for PR gdb/8648.
14775 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14776 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14777 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14778 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14780 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14782 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14784 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
14786 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14787 compiler actually generate code at the expected line number.
14789 2008-12-15 Jie Zhang <jie.zhang@analog.com>
14791 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14793 2008-12-12 Tom Tromey <tromey@redhat.com>
14795 * gdb.base/commands.exp (redefine_hook_test): New proc.
14798 2008-12-11 Tom Tromey <tromey@redhat.com>
14800 * gdb.base/macscp.exp: New regression test.
14802 2008-12-11 Tom Tromey <tromey@redhat.com>
14804 * gdb.base/macscp.exp: Print "address.addr".
14805 * gdb.base/macscp1.c (struct outer): New struct.
14806 (address): New global.
14808 2008-12-09 Tom Tromey <tromey@redhat.com>
14810 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14813 2008-12-04 Doug Evans <dje@google.com>
14815 * gdb.server/ext-run.exp: Relax regexp for init program.
14817 2008-12-03 Tristan Gingold <gingold@adacore.com>
14819 * gdb.base/macscp.exp: Generate an object file during compilation
14820 to work around Darwin dsymutil limitations.
14822 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14824 Test resolving external references to TLS variables.
14825 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14826 FILE2_THREAD_LOCAL.
14827 (testfile2, srcfile2): New variables.
14828 * gdb.threads/tls.c (file2_thread_local)
14829 (function_referencing_file2_thread_local): New.
14830 * gdb.threads/tls2.c: New file.
14832 2008-11-28 Joel Brobecker <brobecker@adacore.com>
14834 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
14835 rather than integer, as integer might not be big enough when
14838 2008-11-27 Jerome Guitton <guitton@adacore.com>
14840 * gdb.cp/formatted-ref.exp: Add equality test.
14841 * gdb.ada/formatted_ref.exp: Ditto.
14843 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14845 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14846 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14848 2008-11-20 Andreas Schwab <schwab@suse.de>
14850 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14851 matching syscall entry point.
14852 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14853 (tcatch_vfork_then_child_follow): Likewise. Finish through
14854 vfork even if we stopped at the syscall trampoline.
14856 2008-11-20 Doug Evans <dje@google.com>
14858 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14860 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14862 * gdb.arch/ppc-dfp.exp: New file.
14863 * gdb.arch/ppc-dfp.c: New file.
14865 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14867 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
14869 2008-11-17 Doug Evans <dje@google.com>
14871 * gdb.mi/mi-syn-frame.exp: Update expected output.
14872 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14874 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14876 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
14877 "thread N" results in =thread-selected.
14878 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14879 (mi_send_resuming_command_raw): Be prepared for
14882 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14884 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14885 * lib/mi-support.exp: Likewise.
14887 2008-11-16 Joel Brobecker <brobecker@adacore.com>
14889 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14890 commands from the expected output for "help catch".
14892 2008-11-15 Joel Brobecker <brobecker@adacore.com>
14894 * gdb.ada/int_deref.exp: New testcase.
14896 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
14898 * gdb.mi/gdb2549.exp: New file.
14900 2008-11-11 Doug Evans <dje@google.com>
14902 * gdb.base/callexit.exp: New file.
14903 * gdb.base/callexit.c: New file.
14905 2008-11-10 Doug Evans <dje@google.com>
14907 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14908 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14909 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14910 (default_gdb_start,default_gdb_exit): Ditto.
14911 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14912 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14913 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14914 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14915 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14916 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14918 2008-11-03 Andreas Schwab <schwab@suse.de>
14920 * gdb.base/hashline2.exp: Fix typo.
14921 * gdb.base/hashline3.exp: Likewise.
14923 2008-10-30 Tom Tromey <tromey@redhat.com>
14925 * gdb.base/pointers.exp: Add test.
14926 * gdb.base/pointers.c (k, S): New typedefs.
14927 (instance): New global.
14929 2008-10-30 Andreas Schwab <schwab@suse.de>
14931 * gdb.base/args.exp: Add tests for newlines.
14933 2008-10-30 Joel Brobecker <brobecker@adacore.com>
14935 gdb.base/foll-exec.exp: Update the expected output of a couple
14936 of "info breakpoints" tests.
14938 2008-10-28 Tom Tromey <tromey@redhat.com>
14940 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14942 2008-10-24 Pedro Alves <pedro@codesourcery.com>
14944 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14946 Use runto_main before any test that requires execution.
14948 2008-10-23 Pedro Alves <pedro@codesourcery.com>
14950 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14953 2008-10-22 Joel Brobecker <brobecker@adacore.com>
14955 * gdb.base/completion.exp: Update expected output following
14956 the addition of the "info tasks" command.
14958 2008-10-22 Tom Tromey <tromey@redhat.com>
14960 * gdb.base/exprs.exp (test_expr): Add test for string
14963 2008-10-19 Pedro Alves <pedro@codesourcery.com>
14965 * configure.ac: Output gdb.python/Makefile.
14966 * configure: Regenerate.
14967 * gdb.python/Makefile.in: New.
14969 2008-10-16 Joel Brobecker <brobecker@adacore.com>
14971 * gdb.base/foll-fork.exp: Adjust the expected output to match
14972 the new description for fork/vfork catchpoints in the "info
14973 breakpoints" output.
14975 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14977 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14979 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14981 * gdb.python/python-value.c: New file.
14982 * gdb.python/python-value.exp: New file.
14984 2008-10-15 Pedro Alves <pedro@codesourcery.com>
14986 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14988 2008-10-15 Denis Pilat <denis.pilat@st.com>
14990 * gdb.cp/mb-ctor.exp: Fix a typo.
14992 2008-10-09 Tom Tromey <tromey@redhat.com>
14994 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14995 'fprintf' and 'stderr'.
14997 2008-10-07 Joel Brobecker <brobecker@adacore.com>
14999 * gdb.ada/ref_tick_size.exp: New testcase.
15001 2008-10-06 Doug Evans <dje@google.com>
15003 * gdb.dwarf2/dw2-cu-size.exp: New file.
15004 * gdb.dwarf2/dw2-cu-size.S: New file.
15006 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
15007 .Ltype_int for clarity.
15009 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
15012 * gdb.cp/gdb2384.exp: Extended to test more cases.
15013 * gdb.cp/gdb2384.cc: Likewise.
15014 * gdb.cp/gdb2384-base.h: Likewise.
15015 * gdb.cp/gdb2384-base.cc: Likewise.
15017 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15019 * gdb.base/maint.exp (maint print type): Remove printing
15020 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
15022 2008-09-30 Tom Tromey <tromey@redhat.com>
15024 * gdb.base/macscp.exp: Add completion tests.
15025 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
15026 (TWENTY_THREE): Likewise.
15027 (FORTY_EIGHT): Likewise.
15029 2008-09-30 Tom Tromey <tromey@redhat.com>
15031 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
15033 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
15035 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
15037 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15038 testcase is derived from. Fix racy dependency on an expected PID
15039 number. No longer support the testcase on Linux kernel 2.4.x.
15041 2008-09-27 Tom Tromey <tromey@redhat.com>
15043 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15046 2008-09-22 Pedro Alves <pedro@codesourcery.com>
15048 * lib/mi-support.exp (mi_expect_interrupt): New.
15049 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15050 from gdb.mi/mi-nonstop.exp.
15051 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15052 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15053 lib/mi-support.exp.
15054 Use mi_check_thread_states throughout. Avoid ".*" and do not
15055 require an anchor after -exec-run.
15057 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15059 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15060 stop is pending. Avoid ".*" when two stops are pending.
15061 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15062 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15063 newlines in fullnames.
15064 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15065 (mi_expect_stop): Update comments. Only anchor in sync mode.
15066 Do not match newlines.
15067 (mi_send_resuming_command_raw): Always return status.
15068 (mi_get_stop_line): Do not match more than one line by accident.
15069 Only anchor in sync mode.
15070 (mi_run_inline_test): If -exec-next fails, give up.
15072 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15074 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15077 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15079 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15081 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15083 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15084 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15085 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15086 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15087 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15088 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15089 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15090 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15091 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15092 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15093 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15094 Include the "= " sequence in the expected output of print tests.
15096 2008-09-10 Joel Brobecker <brobecker@adacore.com>
15098 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15099 description for boolean types.
15101 2008-09-09 Pedro Alves <pedro@codesourcery.com>
15103 * gdb.base/hook-stop-continue.c: New.
15104 * gdb.base/hook-stop-continue.exp: New.
15106 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15108 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15110 2008-09-08 Jerome Guitton <guitton@adacore.com>
15112 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15113 (stack_check_probe_2, stack_check_probe_loop_1)
15114 (stack_check_probe_loop_2): New functions.
15115 (main): Add call to these new functions.
15116 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15117 functions, check that the breakpoint is inserted at the appropriate
15119 (insert_breakpoint): Slightly refine this procedure so that it can
15120 be called several times in the test.
15122 2008-09-08 Jerome Guitton <guitton@adacore.com>
15124 * gdb.base/stack-checking.c: New file.
15125 * gdb.base/stack-checking.exp: New file.
15127 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15129 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15130 * gdb.arch/altivec-regs.exp: Likewise.
15131 * gdb.arch/vsx-regs.exp: Likewise.
15133 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15135 * gdb.arch/ppc-fp.exp: New file.
15136 * gdb.arch/ppc-fp.c: New file.
15138 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15140 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15141 lest gcc-4.3.1 optimizes the whole thing away.
15143 2008-09-04 Michael Snyder <msnyder@vmware.com>
15145 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15146 as "at" (for non-debug functions such as _start).
15148 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15150 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15151 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15152 software watchpoints.
15153 * gdb.base/watch_thread_num.exp: Likewise.
15155 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15157 * gdb.arch/i386-bp_permanent.exp: New test.
15159 2008-08-24 Tom Tromey <tromey@redhat.com>
15161 * gdb.base/maint.exp: Update "maint print type".
15163 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15165 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15166 support. Adjust the order of "*running" notifications.
15167 * gdb.mi/non-stop.c: Don't cast from int to void* and
15170 2008-08-20 Mark Kettenis <kettenis@gnu.org>
15172 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15173 expect to find it in the "info frame" output.
15175 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15177 * gdb.base/interp.exp: Always consume both prompts.
15179 2008-08-20 Pedro Alves <pedro@codesourcery.com>
15181 * gdb.base/pending.exp: Test pending breakpoints without symbols
15184 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15186 * lib/mi-support.exp (mi_expect_stop): Produce
15187 more details on failures.
15188 * gdb.mi/mi-nonstop.exp: New.
15189 * gdb.mi/non-stop.c: New.
15191 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15193 * gdb.mi/mi-async.exp: Use 'set target-async'.
15194 * lib/mi-support.exp: Use 'set/show target-async'.
15196 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15198 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15200 2008-08-17 Tom Tromey <tromey@redhat.com>
15202 * gdb.base/help.exp (help catch): Rewrite.
15204 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15206 * gdb.base/define.exp: Test indented command documentation.
15207 * gdb.python/python.exp: Test indented multi-line command.
15209 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
15211 * testsuite/gdb.arch/vsx-regs.c: New source file.
15212 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15213 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15215 2008-08-14 Tom Tromey <tromey@redhat.com>
15217 * gdb.base/macscp.exp: Add regression test for "macro define" or
15218 "macro undef" with no arguments.
15220 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15222 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
15224 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15226 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15228 2008-08-06 Tom Tromey <tromey@redhat.com>
15230 * gdb.python/python.exp: New file.
15232 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15234 Fix for PR gdb/1543.
15235 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15237 (location): New variable.
15238 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15239 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15240 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15241 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15242 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15243 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15244 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15245 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15246 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15247 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15248 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15249 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15250 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15251 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15252 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15253 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15254 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15255 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15256 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15257 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15258 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15259 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15260 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15261 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15262 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15263 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15264 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15265 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15266 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15267 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15268 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15269 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15270 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15271 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15272 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15273 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15274 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15275 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15276 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15277 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15278 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15279 gdb.base/type-opaque.exp, gdb.base/until.exp,
15280 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15281 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15282 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15283 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15284 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15285 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15286 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15287 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15288 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15289 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15290 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15291 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15292 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15293 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15294 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15295 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15296 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15297 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15298 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15299 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15300 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15301 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15302 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15303 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15304 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15305 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15306 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15307 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15308 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15309 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15310 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15311 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15312 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15313 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15314 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15315 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15316 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15317 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15318 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15319 to bug-gdb@prep.ai.mit.edu .
15321 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15323 * lib/mi-support.exp (mi_load_shlibs): New.
15324 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15326 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15328 * lib/mi-support.exp (get_mi_thread_list)
15329 (check_mi_and_console_threads): New, moved from ...
15330 * gdb.mi/mi-pthread.exp: ...here.
15331 * gdb.mi/gdb669.exp (get_mi_thread_list)
15332 (check_mi_and_console_threads): Delete.
15333 * gdb.mi/mi2-pthread.exp: Likewise.
15335 2008-07-28 Tom Tromey <tromey@redhat.com>
15337 * Makefile.in (just-check): Remove. Move body to...
15340 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15342 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15343 Add a test for duplicated SIGINTs.
15345 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15347 * gdb.threads/schedlock.exp (get_args): Update to work for any
15349 (Top level): Report the number of threads that did not resume.
15351 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15353 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15355 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15357 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15360 2008-07-26 Tom Tromey <tromey@redhat.com>
15362 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15363 (function_struct, function_struct_ptr): New globals.
15364 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15365 function pointer in a struct.
15367 2008-07-26 Tom Tromey <tromey@redhat.com>
15369 * gdb.base/macscp.exp: Add test for macro lexing bug.
15371 2008-07-18 Tom Tromey <tromey@redhat.com>
15373 * gdb.base/macscp.exp: Add macro tests.
15375 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15377 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15379 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15381 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15383 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15385 * gdb.cp/class2.exp: fix for failure on spu-elf
15387 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15389 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
15391 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15393 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15395 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15397 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15399 2008-07-11 Kevin Buettner <kevinb@redhat.com>
15401 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15402 of regexp to account for changes made to GDB in the printing of
15405 2008-07-11 Tom Tromey <tromey@redhat.com>
15407 * gdb.base/completion.exp: Add 'help' completion test.
15409 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15411 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15413 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15415 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15417 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15419 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15421 2008-07-09 Pedro Alves <pedro@codesourcery.com>
15423 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15425 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15427 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15429 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15431 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15432 previous commit. Add a comment.
15434 2008-06-28 Pedro Alves <pedro@codesourcery.com>
15436 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15438 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15440 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15442 2008-06-27 Pedro Alves <pedro@codesourcery.com>
15444 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15445 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15446 compiling an executable, link in an object that forces unbuffered
15448 * lib/set_unbuffered_mode.c: New file.
15450 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15452 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15454 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15456 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15458 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15459 Demand that *running is output.
15460 (detect_async): Perform checking every time.
15461 (mi_send_resuming_command): Extract everything into...
15462 (mi_send_resuming_command_raw): ...this.
15463 (mi_expect_stop): Don't accept any output before *stopped.
15465 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15467 Robustify mi-simplerun.
15468 * gdb.mi/basics.c (main): Add a call to sleep.
15469 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15470 * gdb.mi/mi2-cli.exp: Likewise.
15471 * gdb.mi/mi-break.exp: Likewise.
15473 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
15475 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15477 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15479 * gdb.mi/mi-console.exp: Adjust.
15480 * gdb.mi/mi-syn-frame.exp: Adjust.
15481 * gdb.mi/mi2-console.exp: Adjust.
15482 * gdb.mi/mi2-syn-frame.exp: Adjust.
15483 * lib/mi-support.exp (mi_run_cmd): Adjust.
15484 (mi_send_resuming_command): Adjust.
15486 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15488 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
15489 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15490 testing of stopped.
15491 * gdb.mi/mi2-syn-frame.exp: Likewise.
15492 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15493 (async, detect_async): New.
15494 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15495 depending on if we're running in sync or async mode.
15497 2008-06-09 Tom Tromey <tromey@redhat.com>
15499 * gdb.base/completion.exp: New tests for field name completion
15500 with spaces, and field name completion with '->'.
15502 2008-06-06 Tom Tromey <tromey@redhat.com>
15504 * gdb.base/break1.c (struct some_struct): New struct.
15505 (values): New global.
15506 * gdb.base/completion.exp: Add field name completion test.
15508 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15510 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15512 * gdb.cp/call-c.cc: Likewise.
15514 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
15516 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15519 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15520 Pedro Alves <pedro@codesourcery.com>
15522 * gdb.threads/execl.c, gdb.threads/execl1.c,
15523 gdb.threads/execl.exp: New tests.
15525 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15526 Daniel Jacobowitz <dan@codesourcery.com>
15528 * gdb.cp/exception.exp: Activate test, make it work with pending
15531 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15533 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15535 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15537 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15539 * gdb.mi/mi2-var-cmd.exp: Likewise.
15541 2008-05-27 Andreas Schwab <schwab@suse.de>
15543 * gdb.base/frame-args.exp: Handle arguments that are optimized
15546 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
15548 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15549 quiet for ppc32 and group options into a single variable.
15551 2008-05-23 Joel Brobecker <brobecker@adacore.com>
15553 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15554 of zero-size elements.
15555 * gdb.ada/null_array.exp: Test printing this new array.
15557 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15559 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15561 2008-05-21 Joel Brobecker <brobecker@adacore.com>
15563 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15564 of the "finish" command.
15566 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
15568 * gdb.base/annota1.exp: Test for new annotation.
15570 2008-05-16 Pedro Alves <pedro@codesourcery.com>
15572 * gdb.base/fixsection.exp: New file.
15573 * gdb.base/fixsection0.c: New file.
15574 * gdb.base/fixsection1.c: New file.
15576 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15578 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15579 * gdb.base/annota3.exp: Likewise.
15581 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15583 * gdb.base/watch_thread_num.exp: Don't run tests that require
15584 watchpoints if the target doesn't support them.
15586 2008-05-12 Doug Evans <dje@google.com>
15588 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15590 2008-05-09 Joel Brobecker <brobecker@adacore.com>
15592 * gdb.ada/assign_1.exp: New testcase.
15594 2008-05-09 Doug Evans <dje@google.com>
15596 * gdb.base/find.exp: New file.
15597 * gdb.base/find.c: New file.
15599 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15601 * gdb.base/commands.exp (watchpoint_command_test): Handle
15602 gdb,no_hardware_watchpoints.
15603 * gdb.base/float.exp: Allow ARM targets without floating point.
15604 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15606 2008-05-06 Jerome Guitton <guitton@adacore.com>
15607 Joel Brobecker <brobecker@adacore.com>
15609 * gdb.ada/lang_switch: New test program.
15610 * gdb.ada/lang_switch.exp: New testcase.
15612 2008-05-05 Doug Evans <dje@google.com>
15614 * gdb.base/help.exp (disassemble): Update expected help text.
15616 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15618 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15620 2008-05-04 Pedro Alves <pedro@codesourcery.com>
15622 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15625 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15627 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15628 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15629 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15630 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15632 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15634 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15635 notification to appear.
15637 2008-05-04 Daniel Jacobowitz <dan@debian.org>
15639 * gdb.base/fullname.c: New file.
15640 * gdb.base/fullname.exp: New file.
15641 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15643 2008-05-03 Pedro Alves <pedro@codesourcery.com>
15645 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15646 expressions with macros.
15648 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15650 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15652 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15654 * gdb.base/completion.exp: Handle lack of other symbols beginning
15657 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15659 2008-05-02 Jim Blandy <jimb@codesourcery.com>
15661 * gdb.asm/asmsrc1.s: Add scratch space.
15663 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15664 Daniel Jacobowitz <dan@codesourcery.com>
15666 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15667 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15668 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15670 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15672 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15674 2008-05-01 Joel Brobecker <brobecker@adacore.com>
15676 * gdb.base/info-target.exp: New testcase.
15678 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15680 * gdb.cp/hang.exp: Use .cc instead of .C.
15681 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15682 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15684 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15686 * gdb.base/gdb1250.exp: Remove perror.
15687 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15689 2008-04-30 Pedro Alves <pedro@codesourcery.com>
15691 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15694 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15696 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15697 (maybe_kfail): New.
15699 2008-04-25 Pedro Alves <pedro@codesourcery.com>
15701 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15703 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15705 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15706 * gdb.mi/mi2-syn-frame.exp: Likewise.
15707 * lib/mi-support.exp: Likewise.
15709 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15711 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15712 to specify regexp for the location to stop at.
15713 * gdb.base/break-always.c: New.
15714 * gdb.base/break-always.exp: New.
15716 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15718 * lib/mi-support.exp (mi_runto_helper): Adjust
15719 for the original-location field.
15720 (mi_create_breakpoint, mi_list_breakpoints): New.
15721 * gdb.mi/mi-break.exp: Adjust.
15722 * gdb.mi/mi2-break.exp: Adjust.
15723 * gdb.mi/mi-pending.exp: Adjust.
15724 * gdb.mi/mi-simplerun.exp: Adjust.
15725 * gdb.mi/mi2-simplerun.exp: Adjust.
15726 * gdb.mi/mi-syn-frame.exp: Adjust.
15727 * gdb.mi/mi2-syn-frame.exp: Adjust.
15728 * gdb.mi/mi-until.exp: Adjust.
15729 * gdb.mi/mi2-until.exp: Adjust.
15730 * gdb.mi/mi-var-display.exp: Adjust.
15731 * gdb.mi/mi2-var-display.exp: Adjust.
15732 * gdb.mi/mi-watch.exp: Adjust.
15733 * gdb.mi/mi2-watch.exp: Adjust.
15735 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
15737 * aclocal.m4: Add override.m4.
15738 * configure: Regenerate.
15740 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15742 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15743 '-var-update --all-values' reports new value even the type
15744 of a variable object has changed.
15746 2008-04-18 Craig Silverstein <csilvers@google.com>
15748 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15751 2008-04-18 Joel Brobecker <brobecker@adacore.com>
15753 * gdb.ada/atomic_enum: New test program.
15754 * gdb.ada/atomic_enum.exp: New testcase.
15756 2008-04-17 Doug Evans <dje@google.com>
15758 * gdb.opt/Makefile.in: Fix whitespace.
15760 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15762 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15764 2008-04-17 Doug Evans <dje@google.com>
15766 * gdb.base/hashline1.exp: New testcase.
15767 * gdb.base/hashline2.exp: New testcase.
15768 * gdb.base/hashline2.exp: New testcase.
15770 2008-04-17 Pedro Alves <pedro@codesourcery.com>
15772 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15774 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15776 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15777 temporary breakpoint to match "Temporary breakpoint".
15778 * gdb.base/break.exp (delete_breakpoints): Likewise.
15779 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15780 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15781 * gdb.base/display.exp: Likewise.
15782 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15783 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15784 * gdb.base/restore.exp (restore_tests): Likewise.
15785 * gdb.base/sepdebug.exp: Likewise.
15786 * gdb.base/watchpoint.exp: Likewise.
15787 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15788 * gdb.mi/mi-pending.exp: Likewise.
15789 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15790 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15791 * gdb.mi/mi-var-cmd.exp: Likewise.
15792 * gdb.mi/mi-var-display.exp: Likewise.
15793 * gdb.mi/mi2-cli.exp: Likewise.
15794 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15795 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15796 * gdb.mi/mi2-var-display.exp: Likewise.
15797 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15798 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15800 (mi_expect_stop): Move after_reason argument to be really after
15801 reason. This is to support fix for PR2424.
15803 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15805 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15807 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15809 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
15810 field. Add more floating varobj tests.
15811 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
15813 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15814 (main): Call do_at_tests.
15815 * lib/mi-support.exp (mi_create_floating_varobj)
15816 (mi_varobj_update_with_type_change): New.
15818 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15820 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15821 option of -var-evaluate-expression.
15822 * gdb.mi/mi2-var-display.exp: Likewise.
15824 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15826 Introduce test setup helpers.
15827 * lib/gdb.exp (build_executable, clean_restart)
15828 (prepare_for_testing): New.
15829 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15830 * gdb.base/return.exp: Likewise.
15831 * gdb.base/ending-run.exp: Likewise.
15833 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
15835 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15836 Interface (MI) responses.
15838 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15840 * gdb.cp/breakpoint.cc: New code to test conditions involving
15842 * gdb.cp/breakpoint.exp: Test condition involving member
15845 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15847 * lib/mi-support.exp (mi_expect_stop): New.
15848 (mi_run_cmd): Change the
15849 token. Use mi_send_resuming_command, use
15851 (mi_execute_to_helper): Rename to mi_execute_to.
15852 (mi_send_resuming_command): Add more error patterns.
15853 (mi_wait_for_stop): Renamed to...
15854 (mi_get_stop_line): ...this.
15855 (mi_run_inline_test): Adjust.
15857 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15858 * gdb.mi/mi-console.exp: Likewise.
15859 * gdb.mi/mi-pending.exp: Likewise.
15860 * gdb.mi/mi-simplerun.exp: Likewise.
15861 * gdb.mi/mi-stack.exp: Likewise.
15862 * gdb.mi/mi-stepi.exp: Likewise.
15863 * gdb.mi/mi-syn-frame.exp: Add comment.
15864 * gdb.mi/mi-until.exp: Likewise.
15865 * gdb.mi/mi-var-display.exp: Likewise.
15866 * gdb.mi/mi-watch.exp: Likewise.
15867 * gdb.mi/mi2-cli.exp: Likewise.
15868 * gdb.mi/mi2-console.exp: Likewise.
15869 * gdb.mi/mi2-simplerun.exp: Likewise.
15870 * gdb.mi/mi2-stack.exp: Likewise.
15871 * gdb.mi/mi2-stepi.exp: Likewise.
15872 * gdb.mi/mi2-until.exp: Likewise.
15873 * gdb.mi/mi2-var-display.exp: Likewise.
15874 * gdb.mi/mi2-watch.exp: Likewise.
15876 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15878 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15880 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15882 2008-04-04 Pedro Alves <pedro@codesourcery.com>
15884 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15885 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15886 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15887 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15888 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15889 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15890 expect an mi error duplicated in stderr.
15892 2008-04-03 Joel Brobecker <brobecker@adacore.com>
15894 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15895 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15896 Add a couple of tests that verify the behavior when the new setting
15897 is set to "cancel" and "all".
15898 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15899 "ask" before we start the testing.
15901 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15903 * gdb.cp/casts.cc: Add class reference variables.
15904 * gdb.cp/casts.exp: New test cases for up/down casting references.
15906 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15908 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15909 instead of beginning to make an extra test pass.
15910 * gdb.mi/mi2-var-display.exp: Likewise.
15912 2008-03-31 Maciej W. Rozycki <macro@mips.com>
15914 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15916 2008-03-31 Markus Deuling <deuling@de.ibm.com>
15917 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15919 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15920 value. Add xfail for older kernels.
15922 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15924 Bring mi-support in line with gdb.exp.
15925 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15926 (mi_gdb_start): New function.
15928 2008-03-28 Maciej W. Rozycki <macro@mips.com>
15930 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15932 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15934 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15935 * gdb.mi/mi2-var-display.exp: Likewise.
15937 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15939 * lib/mi-support.exp (mi_create_varobj_checked): New.
15940 (mi_list_varobj_children): Allow to check for a
15942 (mi_list_array_varobj_children): New.
15944 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15945 and mi_list_varobj_children, as opposed to hardcoding
15947 * gdb.mi/gdb701.exp: Likewise.
15948 * gdb.mi/gdb792.exp: Likewise.
15949 * gdb.mi/mi-var-block.exp: Likewise.
15950 * gdb.mi/mi-var-cmd.exp: Likewise.
15951 * gdb.mi/mi-var-invalidate.exp: Likewise.
15952 * gdb.mi/mi2-var-block.exp: Likewise.
15953 * gdb.mi/mi2-var-child.exp: Likewise.
15954 * gdb.mi/mi2-var-cmd.exp: Likewise.
15955 * gdb.mi/mi2-var-display.exp: Likewise.
15957 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15959 Fix random false FAILs on i386.
15960 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15962 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15965 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15967 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15970 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15972 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15974 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15977 2008-03-21 Pedro Alves <pedro@codesourcery.com>
15979 * gdb.threads/fork-child-threads.exp: Test next over fork.
15981 2008-03-21 Chris Demetriou <cgd@google.com>
15983 * gdb.base/break.exp (rbreak junk): New test for rbreak
15984 "Junk at end of arguments" issue.
15986 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15988 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15989 *& to work on created array elements.
15990 (Top level): Test print $pc with a file. Test string operations
15992 * gdb.base/ptype.exp: Do not expect *& to work on created array
15995 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15997 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15998 gdb.threads/staticthreads.exp: Update exit query.
16000 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
16002 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
16004 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
16006 * gdb.base/watchpoint.c (global_ptr, func4): New.
16007 (main): Call func4.
16008 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
16009 (test_inaccessible_watchpoint): New.
16011 2008-02-29 Maciej W. Rozycki <macro@mips.com>
16013 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
16014 select the largest.
16016 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16018 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
16019 frames-invalid annotations.
16021 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
16023 * gdb.base/assign.exp: avoid same output for different tests.
16025 2008-02-27 Doug Evans <dje@google.com>
16027 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
16029 (breakpoint_to_handler_entry): Ditto.
16031 2008-02-27 Joel Brobecker <brobecker@adacore.com>
16033 * gdb.base/ending-run.exp: Use the first line of code inside
16034 function body to test breakpoints.
16035 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
16036 location where the breakpoint is inserted when using the line
16037 where a function is declared. Fix typo in the description of
16039 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16041 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16043 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
16046 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16048 * gdb.base/args.exp: avoid same output for tests
16049 with single quotes.
16051 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16053 * gdb.base/annota1.exp: Adjust for 'info break'
16055 * gdb.base/annota3.exp: Likewise.
16056 * gdb.base/break.exp: Likewise.
16057 * gdb.base/condbreak.exp: Likewise.
16058 * gdb.base/pending.exp: Likewise.
16059 * gdb.base/sepdebug.exp: Likewise.
16060 * gdb.base/unload.exp: Likewise.
16061 * gdb.cp/ovldbreak.exp: Likewise.
16062 * gdb.mi/mi-pending.exp: Likewise.
16064 2008-02-07 Doug Evans <dje@google.com>
16066 * gdb.cp/mb-inline.exp: New.
16067 * gdb.cp/mb-inline.h: New.
16068 * gdb.cp/mb-inline1.cc: New.
16069 * gdb.cp/mb-inline2.cc: New.
16071 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16073 * gdb.pascal/floats.pas: New test program.
16074 * gdb.pascal/floats.exp: New testcase.
16076 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16078 * gdb.base/callfuncs.c (t_float_many_args): New function.
16079 (t_double_many_args): New function.
16080 * gdb.base/callfuncs.exp: Add tests for exceeding float
16081 and double parameters passed through the stack.
16083 2008-02-05 Joel Brobecker <brobecker@adacore.com>
16085 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16086 gdb.ada/complete/foo.adb: New files.
16087 * gdb.ada/complete.exp: New testcase.
16089 2008-02-03 Doug Evans <dje@google.com>
16091 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16093 * gdb.cp/gdb2384.exp: New file.
16094 * gdb.cp/gdb2384.cc: New file.
16095 * gdb.cp/gdb2384-base.h: New file.
16096 * gdb.cp/gdb2384-base.cc: New file.
16098 2008-02-02 Doug Evans <dje@google.com>
16100 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16102 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16104 * gdb.ada/sym_print_name: New test program.
16105 * gdb.ada/sym_print_name.exp: New testcase.
16107 2007-02-01 Joel Brobecker <brobecker@adacore.com>
16109 * gdb.ada/nested/hello.adb: New file.
16110 * gdb.ada/nested.exp: New testcase.
16111 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16113 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16115 * gdb.mi/basic.c (return_1): New function.
16116 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16117 don't cause future evaluations of function to report
16118 creation of internal breakpoints.
16120 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16122 * gdb.mi/mi-break.exp (test_error): New.
16125 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
16127 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16128 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16130 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16132 * gdb.pascal/integers.pas: New test program.
16133 * gdb.pascal/integers.exp: New testcase.
16135 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16137 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16139 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
16141 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16142 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16144 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16146 * gdb.ada/formatted_ref: New test program.
16147 * gdb.ada/formatted_ref.exp: New testcase.
16149 * gdb.cp/formatted-ref.cc: New file.
16150 * gdb.cp/formatted-ref.exp: New testcase.
16152 2008-01-30 Joel Brobecker <brobecker@adacore.com>
16154 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16156 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
16158 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16159 (test_file_list_exec_source_file): Update to new macro-info field.
16161 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16163 * gdb.ada/exprs: New test program.
16164 * gdb.ada/exprs.exp: New testcase.
16166 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16168 * dfp-test.c (DELTA, DELTA_B): New definitions.
16169 (double_val1, double_val2, double_val3, double_val4, double_val5,
16170 double_val6, double_val7, double_val8, double_val9, double_val10,
16171 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16172 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16173 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16174 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16175 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16176 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16177 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16178 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16179 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16180 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16181 dec128_val16): New global variables.
16182 (decimal_dec128_align): New function.
16183 (decimal_mixed): Likewise.
16184 (decimal_many_args_dec32): Likewise.
16185 (decimal_many_args_dec64): Likewise.
16186 (decimal_many_args_dec128): Likewise.
16187 (decimal_many_args_mixed): Likewise.
16188 * dfp-test.exp: Add tests calling new inferior functions.
16190 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16192 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16193 gdb.server/ext-run.exp: New files.
16194 * lib/gdbserver-support.exp (gdbserver_download): New.
16195 (gdbserver_start): New. Update gdbserver expected
16197 (gdbserver_spawn): Use them.
16198 (gdbserver_start_extended): New.
16200 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16202 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16204 (do_exec_tests): Check for systems which do not support catchpoints.
16205 Do not match START.
16206 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16207 Run on GNU/Linux. Enable verbose output.
16208 (check_fork_catchpoints): New.
16209 (explicit_fork_child_follow, catch_fork_child_follow)
16210 (tcatch_fork_parent_follow): Update expected messages.
16211 (do_fork_tests): Use check_fork_catchpoints.
16212 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16213 Run on GNU/Linux. Enable verbose output.
16214 (check_vfork_catchpoints): New.
16215 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16217 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16219 2008-01-29 Jim Blandy <jimb@red-bean.com>
16221 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16223 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16225 2008-01-29 Jim Blandy <jimb@red-bean.com>
16227 * gdb.threads/sigthread.c: Use barriers to ensure that
16228 child_thread and child_thread_two are always initialized before we
16231 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16233 * gdb.base/watchpoint-solib.exp: New.
16234 * gdb.base/watchpoint-solib.c: New.
16235 * gdb.base/watchpoint-solib-shr.c: New.
16237 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16239 * gdb.base/gdb1056.exp: Add unsigned integer test.
16241 2008-01-28 Doug Evans <dje@google.com>
16243 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16245 2008-01-27 Jim Blandy <jimb@codesourcery.com>
16247 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16249 * gdb.base/expand-psymtabs.exp: Doc fix.
16251 2008-01-26 Mark Kettenis <kettenis@gnu.org>
16253 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16255 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
16257 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
16260 2008-01-23 Chris Demetriou <cgd@google.com>
16262 * gdb.threads/thread_events.c: New testcase source file.
16263 * gdb.threads/thread_events.exp: New testcase expect file.
16265 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
16267 * lib/gdb.exp: Add the variable octal.
16269 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
16272 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16273 Vladimir Prus <vladimir@codesourcery.com>
16275 * gdb.base/float.exp: Allow missing floating point for m68k and
16278 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16280 * gdb.mi/basics.c: Setup for testing breakpoints
16282 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16283 * gdb.mi/mi-cli.exp: Adjust.
16284 * gdb.mi/mi2-cli.exp: Adjust.
16286 2008-01-17 Pedro Alves <pedro@codesourcery.com>
16288 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16289 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16290 with dummy_ptr's address.
16291 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16292 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16294 * gdb.mi/mi2-var-child.exp: Likewise.
16296 2008-01-09 Joel Brobecker <brobecker@adacore.com>
16298 * gdb.ada/null_array: New test program.
16299 * gdb.ada/null_array.exp: New testcase.
16301 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
16303 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16304 with required float modifiers.
16306 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16308 * gdb.ada/funcall_param: New test program.
16309 * gdb.ada/funcall_param.exp: New testcase.
16311 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16313 * gdb.ada/arrayparam: New test program.
16314 * gdb.ada/arrayparam.exp: New testcase.
16316 2008-01-08 Joel Brobecker <brobecker@adacore.com>
16318 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16319 landed. Should also fix random failures in the test following it.
16321 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16323 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16324 for expressions with decimal float values.
16325 (test_dfp_conversions): New function to test casts to and from
16326 decimal float types.
16327 Call test_dfp_conversions.
16328 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16330 (main): Initialize ds.float4 and ds.double8 elements.
16331 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16332 string to new error message.
16333 (d64_set_tests): Likewise.
16334 (d128_set_tests): Likewise.
16335 Add tests for expressions with decimal float variables. Add tests for
16336 conversions to and from decimal float types.
16338 2008-01-05 Joel Brobecker <brobecker@adacore.com>
16340 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16341 * gdb.ada/packed_tagged.exp: New testcase.
16343 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16345 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16346 gdb.ada/homonym/homonym_main.adb: New files.
16347 * gdb.ada/homonym.exp: New testcase.
16349 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16351 * gdb.ada/packed_array.exp: Add testing of references to
16354 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16356 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16358 * gdb.ada/type_coercion.exp: New testcase.
16360 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16362 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16363 gdb.ada/tagged/foo.adb: New file.
16364 * gdb.ada/tagged.exp: New testcase.
16366 2008-01-04 Joel Brobecker <brobecker@adacore.com>
16368 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16369 gdb.ada/ptype_field/foo.adb: New files.
16370 * gdb.ada/ptype_field.exp: New testcase.
16372 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16374 * gdb.ada/print_pc.exp: New testcase.
16376 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16378 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16379 gdb.ada/taft_type/p.adb: New files.
16380 * gdb.ada/taft_type.exp: New testcase.
16382 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16384 * gdb.ada/array_bounds/bar.adb: New file.
16385 * gdb.ada/array_bounds.exp: New testcase.
16387 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16389 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16390 gdb.ada/arrayptr/foo.adb: New files.
16391 * gdb.ada/arrayptr.exp: New testcase.
16393 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16395 * gdb.base/set-lang-auto.exp: New testcase.
16397 2008-01-03 Joel Brobecker <brobecker@adacore.com>
16399 * gdb.ada/fun_addr/foo.adb: New file.
16400 * gdb.ada/fun_addr.exp: New testcase.
16402 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16404 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16407 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16409 * array_subscript_addr/p.adb: New file.
16410 * array_subscript_addr.exp: New testcase.
16412 2008-01-02 Joel Brobecker <brobecker@adacore.com>
16414 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
16416 * gdb.ada/str_cmp_ref.exp: New testcase.
16418 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16420 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16421 gdb.ada/fun_in_declare/foo.adb: New files.
16422 * gdb.ada/fun_in_declare.exp: New testcase.
16424 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16426 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16427 gdb.ada/ref_param/pck.ads: New files.
16428 * gdb.ada/ref_param.exp: New testcase.
16430 2008-01-01 Joel Brobecker <brobecker@adacore.com>
16432 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16433 gdb.ada/interface/foo.adb: New files.
16434 * gdb.ada/interface.exp: New testcase.
16436 2007-12-31 Jim Blandy <jimb@codesourcery.com>
16438 * gdb.base/multi-forks.exp: Consume all output from child
16439 processes before proceeding to next test.
16441 2007-12-29 Jim Blandy <jimb@codesourcery.com>
16443 * configure: Regenerated.
16445 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16447 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16448 gdb.ada/fixed_cmp/fixed.adb: New files.
16449 * gdb.ada/fixed_cmp.exp: New testcase.
16451 2007-12-27 Joel Brobecker <brobecker@adacore.com>
16453 * gdb.ada/boolean_expr.exp: New testcase.
16455 2007-12-26 Jim Blandy <jimb@codesourcery.com>
16457 * gdb.base/multi-forks.exp: Doc fix.
16459 2007-12-26 Joel Brobecker <brobecker@adacore.com>
16461 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16462 * gdb.ada/char_param.exp: Do not compile our test program with
16463 -gnata, this is unnecessary.
16464 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16466 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16468 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16469 gdb.ada/print_chars/foo.adb: New files.
16470 * gdb.ada/print_chars.exp: New testcase.
16472 2007-12-24 Joel Brobecker <brobecker@adacore.com>
16474 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16475 gdb.ada/char_param/foo.adb: New files.
16476 * gdb.ada/char_param.exp: New testcase.
16478 2007-12-22 Jim Blandy <jimb@codesourcery.com>
16480 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16481 hard-coding source line numbers into the test.
16482 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16483 gdb_get_line_number to find.
16485 2007-12-22 Joel Brobecker <brobecker@adacore.com>
16487 * gdb.base/ptype.c (highest): New struct type.
16488 (the_highest): New variable of that type.
16489 (main): Add dummy assignment to a field of variable the_highest.
16490 * gdb.base/ptype.exp: Test type printing of our new variable.
16492 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16494 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
16495 and record first explicitly generated thread number.
16496 Use that thread number for thread specific watchpoint test.
16497 Add iteration number to repetitive tests.
16499 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16500 Jim Blandy <jimb@codesourcery.com>
16502 * gdb.base/expand-psymtabs.c: New testcase
16504 * gdb.base/expand-psymtabs.exp: New testcase
16507 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
16509 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16510 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16512 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16514 * gdb.ada/frame_args/foo.adb: New file.
16515 * gdb.ada/frame_args/pck.ads: New file.
16516 * gdb.ada/frame_args/pck.adb: New file.
16517 * gdb.ada/frame_args.exp: New testcase.
16519 2007-12-17 Joel Brobecker <brobecker@adacore.com>
16521 * gdb.base/frame-args.c: New file.
16522 * gdb.base/frame-args.exp: New testcase.
16524 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
16525 Joseph Myers <joseph@codesourcery.com>
16527 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16529 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
16531 * gdb.mi/mi-pending.exp: New.
16532 * gdb.mi/mi-pending.c: New.
16533 * gdb.mi/mi-pendshr.c: New.
16535 2007-12-06 Jim Blandy <jimb@codesourcery.com>
16537 * gdb.base/default.exp: Update expected output for 'info catch'.
16539 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16541 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16542 must be set to binary.
16544 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16546 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16548 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16550 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16551 gdb.mi/mi-file-transfer.exp: New.
16553 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16555 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16557 2007-11-22 Maciej W. Rozycki <macro@mips.com>
16559 * gdb.trace/backtrace.exp: Fix a typo.
16560 * gdb.trace/circ.exp: Likewise.
16561 * gdb.trace/collection.exp: Likewise.
16562 * gdb.trace/limits.exp: Likewise.
16563 * gdb.trace/report.exp: Likewise.
16564 * gdb.trace/tfind.exp: Likewise.
16565 * gdb.trace/while-dyn.exp: Likewise.
16567 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
16569 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16570 objects of pointers that can't be dereferenced are now
16573 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16575 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16576 (target_cpu): Remove.
16578 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16580 * gdb.base/ending-run.exp: Expect the list of cleared
16581 breakpoint to come in natural order, not the reversed one.
16583 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16585 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16586 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
16588 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
16590 * gdb.base/printcmds.exp: New function
16591 test_printf_with_dfp.
16593 2007-11-02 Doug Evans <dje@google.com>
16595 * gdb.disasm/t01_mov.s: Remove carriage returns.
16596 * gdb.disasm/t02_mova.s: Ditto.
16597 * gdb.disasm/t03_add.s: Ditto.
16598 * gdb.disasm/t04_sub.s: Ditto.
16599 * gdb.disasm/t05_cmp.s: Ditto.
16600 * gdb.disasm/t06_ari2.s: Ditto.
16601 * gdb.disasm/t07_ari3.s: Ditto.
16602 * gdb.disasm/t08_or.s: Ditto.
16603 * gdb.disasm/t09_xor.s: Ditto.
16604 * gdb.disasm/t10_and.s: Ditto.
16605 * gdb.disasm/t11_logs.s: Ditto.
16606 * gdb.disasm/t12_bit.s: Ditto.
16607 * gdb.disasm/t13_otr.s: Ditto.
16609 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16611 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16613 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16615 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16616 provide DFP support.
16618 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16620 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16621 Test "set powerpc vector-abi". Skip auto-detection tests for old
16624 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16626 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16627 with [string compare].
16629 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16631 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16632 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16634 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
16636 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16637 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16638 * gdb.opt/Makefile.in: New makefile.
16639 * Makefile.in: Create new directory "gdb.opt".
16640 * configure.ac: Add "gdb.opt" directory.
16641 * configure: Regenerated.
16643 2007-10-25 Doug Evans <dje@google.com>
16645 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16646 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16648 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
16649 Thiago Jung Bauermann <bauerman@br.ibm.com>
16651 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16652 Floating Point expressions.
16653 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16654 Floating Point variables.
16655 * gdb.base/dfp-test.c: new file containing program with Decimal
16656 Floating variables, used by gdb.base/dfp-test.exp.
16658 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16660 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16662 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16664 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16665 compiling test case with GCC.
16666 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16668 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16670 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16673 2007-10-18 Michael Snyder <msnyder@specifix.com>
16675 * gdb.base/dbx.exp: Add missing "-re " operator.
16677 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16679 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16680 * configure.ac: Removed trailing spaces after backslash.
16681 * gdb.modula2: New directory.
16682 * gdb.modula2/Makefile.in: New file.
16683 * gdb.modula2/unbounded-array.exp: New file.
16684 * gdb.modula2/unbounded1.c: New file.
16686 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16688 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16690 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
16692 * gdb.base/sigstep.c (main): Add checks for
16693 return values for setitimer call.
16694 Call setitimer again with itimer = ITIMER_REAL
16695 if first call to setitimer fails.
16697 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
16699 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16702 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16704 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16706 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
16708 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16709 of gdb_expect call, to avoid interruption.
16711 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16713 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16714 (v_unsigned_long_long, v_long_long_array)
16715 (v_signed_long_long_array, v_unsigned_long_long_array)
16716 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16717 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16718 [!NO_LONG_LONG]: New.
16719 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16720 v_long_long_member.
16722 (v_long_long_func, v_signed_long_long_func)
16723 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16724 (main) [!NO_LONG_LONG]: Initialize long long variants.
16726 * gdb.base/whatis.exp: If board file requests no_long_long, build
16727 test with NO_LONG_LONG defined. Test long long, signed long long,
16728 and unsigned long long variants but only if board file doesn't
16731 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
16732 Daniel Jacobowitz <dan@codesourcery.com>
16734 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16735 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16736 * configure: Regenerated.
16737 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16738 gdb.pascal/types.exp, lib/pascal.exp: New files.
16740 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16742 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16744 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16745 to return to the call.
16746 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16747 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16748 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16749 * gdb.mi/mi-until.exp (test_until): Likewise.
16750 * gdb.mi/mi2-until.exp (test_until): Likewise.
16752 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16754 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16756 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16758 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16760 * gdb.threads/watchthreads.c (thread_function): Sleep between
16762 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16763 at once for S/390. Generate matching fails and passes.
16765 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16767 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16768 the 'struct_declarations' variable to zeros.
16770 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16772 * gdb.cp/mb-ctor.cc: New.
16773 * gdb.cp/mb-ctor.exp: New.
16774 * gdb.cp/mb-templates.cc: New.
16775 * gdb.cp/mb-templates.exp: New.
16777 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16779 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16781 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16783 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16785 * configure: Regenerate.
16787 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
16789 * gdb.base/annota1.exp: Adjust for 'info break'
16791 * gdb.base/annota3.exp: Likewise.
16792 * gdb.base/break.exp: Likewise.
16793 * gdb.base/condbreak.exp: Likewise.
16794 * gdb.base/pending.exp: Likewise.
16795 * gdb.base/sepdebug.exp: Likewise.
16796 * gdb.base/unload.exp: Likewise.
16797 * gdb.base/ovldbreak.exp: Likewise.
16799 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16801 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16803 * gdb.base/chng-syms.exp: Likewise.
16804 * gdb.base/unload.exp: Likewise.
16806 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16808 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16810 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16812 * schedlock.c (NUM): Change to 1.
16813 (main): Use args[0] for the main thread.
16814 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16815 regardless of the number of threads.
16817 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16819 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16821 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16823 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16824 watchpoint type down.
16825 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16828 2007-09-14 Maciej W. Rozycki <macro@mips.com>
16830 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16831 Move all the tests here and run them twice, once using software
16832 watchpoints and once using hardware watchpoints.
16833 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16835 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16837 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16840 2007-09-10 Mark Kettenis <kettenis@gnu.org>
16842 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16845 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16846 know about $ORIGIN. Calculate output dir from $dest instead of
16847 using ${objdir}/{$subdir}.
16849 2007-09-09 Mark Kettenis <kettenis@gnu.org>
16851 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16852 gcore, before continuing with the test.
16854 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16856 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16857 * gdb.mi/mi-watch.exp: Likewise.
16859 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16860 Jim Blandy <jimb@codesourcery.com>
16862 * gdb.arch/i386-sse.exp: Do not expect character constants.
16863 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16864 * gdb.base/display.exp: Allow print/s.
16865 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16866 and unsigned char array changes.
16868 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16870 * gdb.base/display.exp: Add tests for printf %p.
16872 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16874 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16875 the dll name to unicode.
16877 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16879 * gdb.base/default.exp (show version): Update the version text.
16880 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16882 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16884 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16887 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16889 * lib/gdb.exp (build_id_debug_filename_get): New function.
16890 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16891 Remove the generate DEBUG file for the future testcase runs.
16892 New testcase for the NT_GNU_BUILD_ID retrieval.
16893 Move the final testing step to ...
16894 (test_different_dir): ... a new function.
16895 New parameter XFAIL to XFAIL all the tests performed.
16896 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16897 New parameter TYPE to PF_PREFIX all the tests performed.
16899 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16901 * gdb.mi/mi-var-cp.cc (path_expression): New
16903 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16905 2007-08-27 Markus Deuling <deuling@de.ibm.com>
16907 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16908 to fit into SPU Local Store memory.
16910 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16912 * gdb.base/default.exp: Adjust the expected output of "info
16913 warranty" after the switch to GPLv3.
16915 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16917 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16918 to 30000 (from 20000).
16920 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16922 Switch the license of all .exp files to GPLv3.
16923 Switch the license of all .f and .f90 files to GPLv3.
16924 Switch the license of all .s and .S files to GPLv3.
16926 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16928 * configure.ac: Switch license to GPLv3.
16930 2007-08-23 Joel Brobecker <brobecker@adacore.com>
16932 Switch the licensing to GPLv3 for all .ads and .adb files.
16934 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16936 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16938 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16940 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16942 * gdb.base/step-line.c: Switch license to GPL version 3, and
16943 update copyright year.
16944 * gdb.base/step-line.inp: Likewise.
16946 2007-08-17 Joel Brobecker <brobecker@adacore.com>
16948 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16949 changes inside gdb1555.c.
16950 * gdb.base/pending.exp: Likewise.
16952 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16954 * config/default.exp: New file.
16956 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16958 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16959 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16961 2007-07-30 Maciej W. Rozycki <macro@mips.com>
16963 * gdb.base/dump.exp: Force the correct endianness for binary
16964 formats not carrying this information.
16966 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16968 * gdb.threads/staticthreads.exp: Match .*sem_post.
16970 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16972 * gdb.base/readline.exp (operate_and_get_next): Match the final
16975 2007-07-23 Kevin Buettner <kevinb@redhat.com>
16977 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16980 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16982 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16983 prior to `gdb_start'.
16985 2007-07-18 Kevin Buettner <kevinb@redhat.com>
16987 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16988 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16989 Remove call to gdb_unload.
16991 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16992 Daniel Jacobowitz <dan@codesourcery.com>
16994 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16996 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16997 * gdb.base/unload.exp: Use shared library test routines.
16999 2007-07-03 Markus Deuling <deuling@de.ibm.com>
17001 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
17002 * gdb.base/solib-symbol-lib.c: Likewise.
17003 * gdb.base/solib-symbol-main.c: Likewise.
17005 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
17007 * config/gdbserver.exp (gdb_reconnect): New.
17008 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
17009 gdb.base/solib-disc.exp: New files.
17010 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
17012 (gdb_compile): Add shlib_load flag.
17013 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
17015 (gdbserver_reconnect): New.
17017 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
17018 Daniel Jacobowitz <dan@codesourcery.com>
17020 * gdb.base/annota3.exp: Test for if construct.
17022 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
17024 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
17026 2007-06-21 Chris Dearman <chris@mips.com>
17027 Maciej W. Rozycki <macro@mips.com>
17029 * gdb.base/display.exp: Allow a newline after display/i.
17030 * gdb.base/pc-fp.exp: Likewise.
17031 * gdb.base/sigbpt.exp: Likewise.
17033 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17035 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
17036 required features to be included.
17038 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17040 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17041 in info threads output.
17043 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17044 Markus Deuling <deuling@de.ibm.com>
17046 * gdb.arch/spu-info.exp: New testcase.
17047 * gdb.arch/spu-info.c: New file.
17049 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17051 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17052 tpcs_offset. Restore lr after the call.
17053 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17055 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17057 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17058 (gdbserver_run): Kill any running gdbserver.
17059 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17061 2007-05-17 Maciej W. Rozycki <macro@mips.com>
17063 * gdb.base/sigbpt.exp: Preset segv_addr.
17065 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17067 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17068 (gdb_compile_shlib): Likewise.
17069 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17070 (default_gdb_init): Clear cleanfiles.
17071 (gdb_finish): Delete recorded cleanfiles.
17072 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17074 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17075 Do not use isnative.
17076 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17077 gdb.base/so-impl-ld.exp: Likewise.
17078 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17079 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17082 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17084 * config/unknown.exp: Remove.
17086 2007-05-15 Markus Deuling <deuling@de.ibm.com>
17088 * gdb.base/info-proc.exp: Check is_remote.
17090 2007-05-14 Markus Deuling <deuling@de.ibm.com>
17092 * gdb.base/gcore.exp: Initialize variable core_supported.
17094 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17096 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17098 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17100 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17101 * gdb.threads/print-threads.exp (test_all_threads): Allow
17102 negative and hexadecimal thread IDs.
17104 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17106 * gdb.java/jprint.java (public): Avoid invalid call to static
17109 2007-05-14 Denis Pilat <denis.pilat@st.com>
17111 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17112 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17113 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17114 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17115 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17117 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17119 * gdb.base/overlays.exp: Add support for targets with only code
17120 overlay support, not data overlay. Support spu-*-* target in
17122 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17123 * gdb.base/spu.ld: New file.
17125 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17127 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17129 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17131 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17133 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17135 * gdb.java/jmain.exp: Handle demangled names with and without method
17138 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17140 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17141 (have_a_very_merry_interrupt): Remove calls to puts.
17142 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17144 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17147 2007-04-29 Markus Deuling <deuling@de.ibm.com>
17148 Daniel Jacobowitz <dan@codesourcery.com>
17150 * gdb.base/auxv.exp (core_works): Also check is_remote.
17151 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17153 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
17155 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17156 message, not the undefined 'module' variable.
17157 * gdb.base/siginfo.exp: Likewise.
17158 * gdb.base/sigstep.exp: Likewise.
17159 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17161 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17163 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
17165 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17166 target sim fails. Return 0 otherwise.
17167 (gdb_load): Return prematurely if gdb_target_sim fails.
17169 2007-04-16 Denis Pilat <denis.pilat@st.com>
17171 * gdb.base/setshow.exp: Reset height after having set it to 100.
17173 2007-04-16 Denis Pilat <denis.pilat@st.com>
17175 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17177 2007-04-16 Denis Pilat <denis.pilat@st.com>
17179 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17181 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17183 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17184 tests. Run the frozen varobjs test.
17185 * gdb.mi/var-cmd.c (do_frozen_tests): New.
17186 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
17188 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17190 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17191 gdb.base/type-opaque.exp: New files.
17193 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
17195 * gdb.mi/mi-var-child.c
17196 (do_children_tests): User char[2] instead of
17197 char so that automatic printing of pointers to char
17198 don't give unpredicable result.
17199 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17201 * gdb.mi/mi-var-child.exp: Step to right line
17202 of do_children_tests.
17203 * gdb.mi/mi2-var-child.exp: Likewise.
17204 * gdb.mi/mi-var-cmd.exp: Step to right line of
17206 (do_children_tests): User char[2] instead of
17207 char so that automatic printing of pointers to char
17208 don't give unpredicable result.
17209 * gdb.mi/mi2-var-cmd.exp: Likewise.
17210 * lib/mi-support.exp (mi_continue_to_line):
17211 Pass test name to mi_wait_for_stop.
17213 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17215 * gdb.asm/asm-source.exp: Remove d10v case.
17216 * lib/gdb.exp (skip_cplus_tests): Likewise.
17217 * gdb.asm/d10v.inc: Deleted.
17219 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17221 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17223 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17225 * config/netware.exp: Delete file.
17227 2007-03-29 Joel Brobecker <brobecker@adacore.com>
17229 * gdb.dwarf2/dw2-noloc.S: New file.
17230 * gdb.dwarf2/dw2-noloc.exp: New file.
17232 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17234 * gdb.cp/method2.cc: New test.
17235 * gdb.cp/method2.exp: New test.
17236 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17238 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17240 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17242 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17244 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17246 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17248 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17249 (gdb_load): Delete, replace with...
17250 (gdb_reload): ...this.
17251 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17252 * gdb.server/server-mon.exp: Likewise.
17253 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17254 (gdb_start_cmd): New.
17255 (gdb_file_cmd): Save the last loaded file.
17257 (gdb_gnu_strip_debug): Use transform.
17258 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17259 support here. Use new $last_loaded_file. Check mtime.
17260 (gdb_target_cmd): Handle ObjC failure case.
17261 (infer_host_exec): Delete.
17262 (gdbserver_load): Rename to...
17263 (gdbserver_run): ...this. Simplify.
17264 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17265 (mi_gdb_load): Move most contents to a new function...
17266 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17267 (mi_run_cmd): Use mi_gdb_target_load.
17268 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17269 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17271 * gdb.base/charsign.exp: Remove incorrect comment.
17272 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17273 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17274 gdb.base/start.exp: Use gdb_start_cmd.
17276 2007-03-23 Nigel Stephens <nigel@mips.com>
17277 Maciej W. Rozycki <macro@mips.com>
17279 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17280 * gdb.base/signull.exp: Similarly.
17282 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17284 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17285 messages available to test cases (like chng-sym.exp).
17287 2007-03-14 Andreas Schwab <schwab@suse.de>
17289 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17292 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17294 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17295 (optimized_1): New.
17296 (main): Call optimized_1.
17297 (gdb2029): Correct typos. Call gdb2029_marker.
17298 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17301 2007-03-12 Mark Kettenis <kettenis@gnu.org>
17303 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17304 as tabs. Remove redundant test pattern.
17306 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17308 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17309 for /a format output.
17311 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17313 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17314 collect output incrementally.
17316 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17318 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17319 for -var-create lpcharacter test.
17320 * gdb.mi/mi2-var-cmd.exp: Likewise.
17322 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17324 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17325 pass on targets where address zero is readable.
17327 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17329 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17330 just a single architecture.
17332 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17334 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17335 (fetch_all_registers): New function, uses gdb_test_multiple and
17336 exp_continue to fetch inferior output line-by-line.
17337 Replace all uses of do_get_all_registers by fetch_all_registers.
17339 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17341 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17344 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17346 * gdb.threads/manythreads.exp: Use $message string for
17347 consistancy; add a default (timeout) case.
17349 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17351 * gdb.base/watchpoint.exp: Fix truncated comment.
17353 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17355 * Makefile.in: Remove spurious single-quotes from sed command.
17357 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17359 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17361 * gdb.mi/mi2-var-cmd.exp: Likewise.
17363 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17365 * gdb.dwarf2/dw2-producer.S: New file.
17366 * gdb.dwarf2/dw2-producer.exp: New testcase.
17368 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
17370 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17371 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17372 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17373 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17374 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17375 Revert tests to use mi_gdb_test and include value field in output
17378 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17380 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17382 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17384 * gdb.base/maint.exp: Remove full paths from test names.
17385 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17386 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17388 2007-02-27 Joel Brobecker <brobecker@adacore.com>
17390 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17392 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17394 * gdb.server/server-mon.exp: New test.
17396 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17398 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17400 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17402 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17403 register capitalization.
17405 2007-02-13 Denis Pilat <denis.pilat@st.com>
17407 * gdb.mi/mi-var-invalidate.exp: New file.
17409 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17411 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17413 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17415 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17417 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17419 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17420 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17422 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
17424 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17425 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17426 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17427 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17428 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17429 * gdb.mi/gdb792.exp, lib/mi-support.exp:
17430 Update tests to include value field in output of -var-create.
17432 2007-02-08 Andreas Schwab <schwab@suse.de>
17434 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17436 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17438 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17439 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17441 2007-02-02 Denis Pilat <denis.pilat@st.com>
17443 * gdb.threads/threadapply.exp: check that frame is not changed by
17444 the thread apply all command.
17446 2007-01-31 Andreas Schwab <schwab@suse.de>
17448 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17450 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17451 in the dwarf sections.
17452 * gdb.dwarf2/mac-fileno.S: Likewise.
17454 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17455 bspstore register on ia64.
17457 2007-01-29 Andreas Schwab <schwab@suse.de>
17459 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17460 "frame-begin" annotation.
17462 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17463 number of "frames-invalid" annotations.
17465 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17467 * gdb.base/commands.exp: Call if_commands_test.
17468 (gdb_test_no_prompt, if_commands_test): New.
17470 2007-01-28 Mark Kettenis <kettenis@gnu.org>
17472 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17474 2007-01-27 Andreas Schwab <schwab@suse.de>
17476 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17477 .short/.int/.quad in the dwarf sections.
17478 * gdb.dwarf2/dw2-intercu.S: Likewise.
17479 * gdb.dwarf2/dw2-intermix.S: Likewise.
17481 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17483 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
17484 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17486 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17487 * gdb.base/setvar.exp: Likewise.
17489 2007-01-26 Andreas Schwab <schwab@suse.de>
17491 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17494 * gdb.base/multi-forks.exp ("restart $i"): Also match
17495 __kernel_syscall_via_break.
17497 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17499 * lib/mi-support.exp (mi_delete_varobj): New.
17500 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17502 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17503 (main): Call the above.
17504 (reference_update_test, base_in_reference_test)
17505 (reference_to_pointer): Delete the created varobjs.
17507 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17509 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17510 * configure: Regenerated.
17511 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17512 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17513 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17514 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17515 * lib/gdb.exp (gdb_skip_xml_test): New function.
17517 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17519 * gdb.base/sigrepeat.exp: Correct error message.
17521 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17522 Daniel Jacobowitz <dan@codesourcery.com>
17524 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17525 gdb.arch/i386-gnu-cfi-asm.S: New files.
17527 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17529 * lib/gdb.exp: Abort on missing `site.exp'.
17531 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17532 Daniel Jacobowitz <dan@codesourcery.com>
17534 * gdb.base/included.c, gdb.base/included.exp,
17535 gdb.base/included.h: New files.
17537 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17539 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17540 (maximize_rlimit): Reduce limits on 64-bit systems.
17542 2007-01-19 Mark Kettenis <kettenis@gnu.org>
17544 From Marcus Deuling <deuling@de.ibm.com>:
17545 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17548 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
17550 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17551 (test_path_specification): Use objdir instead of srcdir to always
17552 get an absolute filename.
17554 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17556 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17558 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17560 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17561 Make sure the variable we're using is in scope.
17562 (reference_to_pointer): Likewise.
17564 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17566 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17567 has no debug information.
17569 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17571 * gdb.base/annota1.exp: Remove extra send_gdb.
17573 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17575 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17577 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17579 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17581 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
17582 Daniel Jacobowitz <dan@codesourcery.com>
17584 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17585 lcharacter or linteger change. Correct duplicated test name.
17586 * gdb.mi/mi2-var-cmd.exp: Likewise.
17588 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17590 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17592 2007-01-05 Joel Brobecker <brobecker@adacore.com>
17594 * gdb.base/nofield.c: New file.
17595 * gdb.base/nofield.exp: New testcase.
17597 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
17599 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17601 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17604 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17606 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17608 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17610 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17613 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17615 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17616 Expect ".exe" extension.
17618 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17620 * gdb.base/charset.exp: Add explicit filename to break.
17621 * gdb.base/dbx.exp: Add explicit filename to breaks.
17623 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17625 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17626 * gdb.mi/mi2-file.exp: Likewise.
17628 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17630 Implement specification of MI tests as comments
17631 in C and C++ sources.
17632 * lib/mi-support.exp (mi_autotest_data): New variable.
17633 (mi_autotest_source): New variable.
17634 (count_newlines, mi_prepare_inline_tests)
17635 (mi_get_inline_test, mi_continue_to_line)
17636 (mi_run_inline_test, mi_tbreak)
17637 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17638 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17640 * gdb.mi/mi-var-cp.cc: Define tests here.
17642 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17644 Simplify usage of mi_continue_to.
17645 * lib/mi-support.exp (mi_runto_helper): Renamed
17646 from mi_runto, added new parameter 'run_or_continue'.
17647 (mi_runto): Use mi_runto_helper.
17648 (mi_continue_to): Accept just function name as parameter.
17649 Use mi_runto_helper.
17650 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17651 * gdb.mi/mi2-var-cmd.exp: Likewise.
17653 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17655 Make this testcase a bit more realistic. The current code
17656 is too simplistic, and allows the compiler to optimize out
17657 some of the entities we need for this testcase.
17658 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17659 (Do_Nothing): Add extra parameter.
17660 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17661 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17662 by using a variable of type Void_Star.
17664 2006-01-04 Joel Brobecker <brobecker@adacore.com>
17666 * gdb.ada/catch_ex/foo.adb: New file.
17667 * gdb.ada/catch_ex.exp: New testcase.
17669 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17671 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17672 pass --image-base to linker.
17674 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17675 Daniel Jacobowitz <dan@codesourcery.com>
17677 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17680 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17682 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17683 output. Test the types of members and member pointers.
17684 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17686 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17687 statement. Enable for GCC. Update expected output for some tests
17688 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17690 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17691 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17692 (Diamond::vget_base): New.
17693 (main): Add new tests.
17694 * gdb.cp/printmethod.exp: Update expected output for member functions.
17695 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17696 print pEe->D::vg().
17698 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17700 * gdb.threads/tls.exp: Allow stops in sem_post.
17702 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17704 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17705 * gdb.base/annota3.exp: Likewise.
17706 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17707 again (instead of timing out).
17708 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17710 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17711 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17712 test from jmisc1.exp.
17713 * gdb.java/jmisc1.exp: Delete.
17714 * gdb.java/jprint.exp: Adjust to work with method signatures including
17716 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17717 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17718 * lib/java.exp (compile_java_from_source): Pass the correct type
17721 2006-12-31 Joel Brobecker <brobecker@adacore.com>
17723 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17724 (stack_align_edx): New function.
17725 (stack_align_eax): New function.
17726 (main): Add calls to stack_align_edx and stack_align_eax.
17727 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17728 Add testing for the cases where the register used during a stack
17729 realignment is edx. Same for eax.
17731 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17733 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17734 and generic PE targets.
17736 2006-12-29 Joel Brobecker <brobecker@adacore.com>
17738 * gdb.ada/array_return.exp: Update copyright date list.
17740 2006-12-27 Joel Brobecker <brobecker@adacore.com>
17742 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17743 (Create_Small_Float_Vector): New function.
17744 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17746 * gdb.ada/array_return/p.adb: Use new type and function from
17748 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17749 able to print the value returned by a function returning an
17752 2006-12-20 Joel Brobecker <brobecker@adacore.com>
17754 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17755 The associated tests should be PASSing.
17757 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17759 Test for base in references.
17760 * gdb.mi/mi-var-cp.cc: Add test code.
17761 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17762 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17763 * gdb.mi/mi2-watch.exp: Likewise.
17764 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17765 (mi_list_varobj_children): New function.
17767 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17769 * lib/mi-support.exp
17770 (mi_runto): Accept "()" after function name.
17771 (mi_create_varobj): New function.
17772 (mi_varobj_update): New function.
17773 (mi_Check_varobj_value): New function.
17774 * gdb.mi/mi-var-cp.exp: New file.
17775 * gdb.mi/mi-var-cp.cc: New file.
17777 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17779 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17780 gdb.base/weaklib2.c: New files.
17782 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
17784 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17785 info. Adjust test names.
17787 * gdb.base/break.c (main): Move position of malloc.
17788 * gdb.base/break.exp: Revert mistaken checkin.
17790 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17792 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17793 assignement of arrays and function pointers.
17794 * gdb.mi/var-cmd.c: Add declaration necessary for above
17797 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17799 * gdb.base/break.c (main): Call malloc.
17801 * gdb.threads/linux-dp.exp: Read thread table before and after
17802 creating each philosopher and verify it.
17804 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17805 Paul Brook <paul@codesourcery.com>
17806 Daniel Jacobowitz <dan@codesourcery.com>
17808 * gdb.base/ending-run.exp: Flatten expect script stepping out of
17809 main to remove duplication. Add start function of the form
17810 '_*start[1-9]*'. Add RVDS start function.
17812 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17814 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17816 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17818 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17819 * gdb.asm/spu.inc: New file.
17820 * gdb.base/term.exp: Disable if [target_info exists noargs].
17821 * gdb.gdb/complaints.exp: Disable if ![isnative].
17822 * gdb.gdb/selftest.exp: Likewise.
17823 * gdb.gdb/observer.exp: Likewise.
17824 * gdb.gdb/xfullpath.exp: Likewise.
17825 * gdb.base/attach.exp: Disable on SPU target.
17826 * gdb.cp/bs145503.exp: Likewise.
17827 * gdb.cp/exception.exp: Likewise.
17828 * gdb.cp/userdef.exp: Likewise.
17830 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17832 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17834 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17836 * gdb.base/completion.exp: Fix completion tests for
17837 'info' and 'info '.
17838 * gdb.base/help.exp (help_test_raw, test_class_help)
17839 (test_prefix_command_help): Move...
17840 * lib/gdb.exp: Here.
17841 * gdb.base/main.exp: Adjust.
17842 * gdb.cp/maint.exp: Adjust.
17843 * gdb.trace/tracecmd.exp: Use test_help_class.
17845 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17847 * gdb.stabs/weird.exp (print_weird_var): Use
17848 gdb_test_multiple instead of gdb_expect.
17850 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17852 * gdb.base/help.exp (help_test_raw): New.
17853 (test_class_help): New.
17854 (test_prefix_command_help): New.
17857 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
17859 * gdb.base/constvars.c (main): Write to crass and crips, so that
17860 they are allocated by the compiler.
17862 2006-10-27 Andreas Schwab <schwab@suse.de>
17864 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17867 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17869 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17872 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17874 * gdb.base/sepdebug.exp: Remove debug format test.
17875 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17877 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17879 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17881 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17882 int to pointer or pointer to int.
17883 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17885 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17887 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17889 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17891 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17893 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17896 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17898 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17900 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17901 the corresponding bug has been fixed in GDB (PR/2018).
17903 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17905 * gdb.base/subst.exp: New testcase.
17907 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17909 * gdb.ada/array_return/pck.ads: Add copyright notice.
17910 * gdb.ada/array_return/pck.adb: Likewise.
17911 * gdb.ada/array_return/p.adb: Likewise.
17912 * gdb.ada/exec_changed/first.adb: Likewise.
17913 * gdb.ada/exec_changed/second.adb: Likewise.
17915 2006-10-06 Joel Brobecker <brobecker@adacore.com>
17917 * gdb.ada/watch_arg/watch.adb: New file.
17918 * gdb.ada/watch_arg.exp: New testcase.
17920 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17922 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
17923 via string_to_regexp.
17924 * gdb.mi/mi2-basics.exp: Likewise.
17926 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
17928 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17929 Remove unused / obsolete files.
17931 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
17933 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17935 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17937 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17938 HIGH_FRAME argument to -stack-list-arguments can be larger than
17939 the number of frames.
17941 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17943 * gdb.base/args.c (main): Add breakpoint marker.
17944 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17945 really test empty arguments.
17946 (args_load): Delete.
17949 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
17951 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
17952 check for one file.
17954 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17956 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17957 HIGH_FRAME argument to -stack-list-locals can be larger than
17958 the number of frames.
17960 2006-08-18 Fred Fish <fnf@specifix.com>
17962 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17963 '$' in front of skip_vmx_tests_saved when setting that.
17965 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17967 * gdb.base/trace-commands.exp: New file.
17969 2006-08-10 Joel Brobecker <brobecker@adacore.com>
17970 Daniel Jacobowitz <dan@codesourcery.com>
17972 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17973 expected output of the backtrace commands.
17975 2006-08-09 Joel Brobecker <brobecker@adacore.com>
17977 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17978 untested followed by return combination.
17979 * gdb.arch/altivec-regs.exp: Likewise.
17980 * gdb.arch/e500-abi.exp: Likewise.
17981 * gdb.arch/e500-regs.exp: Likewise.
17982 * gdb.arch/gdb1291.exp: Likewise.
17983 * gdb.arch/gdb1431.exp: Likewise.
17984 * gdb.arch/gdb1558.exp: Likewise.
17985 * gdb.arch/i386-prologue.exp: Likewise.
17986 * gdb.arch/i386-unwind.exp: Likewise.
17987 * gdb.asm/asm-source.exp: Likewise.
17988 * gdb.base/a2-run.exp: Likewise.
17989 * gdb.base/advance.exp: Likewise.
17990 * gdb.base/all-bin.exp: Likewise.
17991 * gdb.base/annota1.exp: Likewise.
17992 * gdb.base/annota3.exp: Likewise.
17993 * gdb.base/args.exp: Likewise.
17994 * gdb.base/arithmet.exp: Likewise.
17995 * gdb.base/assign.exp: Likewise.
17996 * gdb.base/async.exp: Likewise.
17997 * gdb.base/attach.exp: Likewise.
17998 * gdb.base/bang.exp: Likewise.
17999 * gdb.base/bigcore.exp: Likewise.
18000 * gdb.base/bitfields.exp: Likewise.
18001 * gdb.base/bitfields2.exp: Likewise.
18002 * gdb.base/break.exp: Likewise.
18003 * gdb.base/call-sc.exp: Likewise.
18004 * gdb.base/call-strs.exp: Likewise.
18005 * gdb.base/callfuncs.exp: Likewise.
18006 * gdb.base/checkpoint.exp: Likewise.
18007 * gdb.base/chng-syms.exp: Likewise.
18008 * gdb.base/code-expr.exp: Likewise.
18009 * gdb.base/commands.exp: Likewise.
18010 * gdb.base/completion.exp: Likewise.
18011 * gdb.base/cond-expr.exp: Likewise.
18012 * gdb.base/condbreak.exp: Likewise.
18013 * gdb.base/consecutive.exp: Likewise.
18014 * gdb.base/constvars.exp: Likewise.
18015 * gdb.base/corefile.exp: Likewise.
18016 * gdb.base/cvexpr.exp: Likewise.
18017 * gdb.base/dbx.exp: Likewise.
18018 * gdb.base/define.exp: Likewise.
18019 * gdb.base/detach.exp: Likewise.
18020 * gdb.base/display.exp: Likewise.
18021 * gdb.base/dump.exp: Likewise.
18022 * gdb.base/ena-dis-br.exp: Likewise.
18023 * gdb.base/ending-run.exp: Likewise.
18024 * gdb.base/environ.exp: Likewise.
18025 * gdb.base/eval-skip.exp: Likewise.
18026 * gdb.base/exprs.exp: Likewise.
18027 * gdb.base/fileio.exp: Likewise.
18028 * gdb.base/finish.exp: Likewise.
18029 * gdb.base/float.exp: Likewise.
18030 * gdb.base/foll-exec.exp: Likewise.
18031 * gdb.base/foll-fork.exp: Likewise.
18032 * gdb.base/foll-vfork.exp: Likewise.
18033 * gdb.base/freebpcmd.exp: Likewise.
18034 * gdb.base/funcargs.exp: Likewise.
18035 * gdb.base/gcore.exp: Likewise.
18036 * gdb.base/gdb1090.exp: Likewise.
18037 * gdb.base/gdb1250.exp: Likewise.
18038 * gdb.base/huge.exp: Likewise.
18039 * gdb.base/info-proc.exp: Likewise.
18040 * gdb.base/interrupt.exp: Likewise.
18041 * gdb.base/jump.exp: Likewise.
18042 * gdb.base/langs.exp: Likewise.
18043 * gdb.base/lineinc.exp: Likewise.
18044 * gdb.base/list.exp: Likewise.
18045 * gdb.base/logical.exp: Likewise.
18046 * gdb.base/long_long.exp: Likewise.
18047 * gdb.base/macscp.exp: Likewise.
18048 * gdb.base/maint.exp: Likewise.
18049 * gdb.base/mips_pro.exp: Likewise.
18050 * gdb.base/miscexprs.exp: Likewise.
18051 * gdb.base/multi-forks.exp: Likewise.
18052 * gdb.base/opaque.exp: Likewise.
18053 * gdb.base/overlays.exp: Likewise.
18054 * gdb.base/pc-fp.exp: Likewise.
18055 * gdb.base/pointers.exp: Likewise.
18056 * gdb.base/printcmds.exp: Likewise.
18057 * gdb.base/psymtab.exp: Likewise.
18058 * gdb.base/ptype.exp: Likewise.
18059 * gdb.base/recurse.exp: Likewise.
18060 * gdb.base/relational.exp: Likewise.
18061 * gdb.base/relocate.exp: Likewise.
18062 * gdb.base/remote.exp: Likewise.
18063 * gdb.base/reread.exp: Likewise.
18064 * gdb.base/restore.exp: Likewise.
18065 * gdb.base/return.exp: Likewise.
18066 * gdb.base/return2.exp: Likewise.
18067 * gdb.base/scope.exp: Likewise.
18068 * gdb.base/sect-cmd.exp: Likewise.
18069 * gdb.base/sep.exp: Likewise.
18070 * gdb.base/sepdebug.exp: Likewise.
18071 * gdb.base/setshow.exp: Likewise.
18072 * gdb.base/setvar.exp: Likewise.
18073 * gdb.base/sigall.exp: Likewise.
18074 * gdb.base/sigbpt.exp: Likewise.
18075 * gdb.base/signals.exp: Likewise.
18076 * gdb.base/signull.exp: Likewise.
18077 * gdb.base/sizeof.exp: Likewise.
18078 * gdb.base/solib.exp: Likewise.
18079 * gdb.base/step-line.exp: Likewise.
18080 * gdb.base/step-test.exp: Likewise.
18081 * gdb.base/structs.exp: Likewise.
18082 * gdb.base/structs2.exp: Likewise.
18083 * gdb.base/term.exp: Likewise.
18084 * gdb.base/twice.exp: Likewise.
18085 * gdb.base/until.exp: Likewise.
18086 * gdb.base/varargs.exp: Likewise.
18087 * gdb.base/volatile.exp: Likewise.
18088 * gdb.base/watchpoint.exp: Likewise.
18089 * gdb.base/whatis-exp.exp: Likewise.
18090 * gdb.base/whatis.exp: Likewise.
18091 * gdb.cp/ambiguous.exp: Likewise.
18092 * gdb.cp/annota2.exp: Likewise.
18093 * gdb.cp/annota3.exp: Likewise.
18094 * gdb.cp/bool.exp: Likewise.
18095 * gdb.cp/breakpoint.exp: Likewise.
18096 * gdb.cp/casts.exp: Likewise.
18097 * gdb.cp/class2.exp: Likewise.
18098 * gdb.cp/classes.exp: Likewise.
18099 * gdb.cp/cplusfuncs.exp: Likewise.
18100 * gdb.cp/ctti.exp: Likewise.
18101 * gdb.cp/derivation.exp: Likewise.
18102 * gdb.cp/exception.exp: Likewise.
18103 * gdb.cp/gdb1355.exp: Likewise.
18104 * gdb.cp/hang.exp: Likewise.
18105 * gdb.cp/inherit.exp: Likewise.
18106 * gdb.cp/local.exp: Likewise.
18107 * gdb.cp/m-data.exp: Likewise.
18108 * gdb.cp/m-static.exp: Likewise.
18109 * gdb.cp/member-ptr.exp: Likewise.
18110 * gdb.cp/method.exp: Likewise.
18111 * gdb.cp/misc.exp: Likewise.
18112 * gdb.cp/namespace.exp: Likewise.
18113 * gdb.cp/overload.exp: Likewise.
18114 * gdb.cp/ovldbreak.exp: Likewise.
18115 * gdb.cp/pr-1023.exp: Likewise.
18116 * gdb.cp/pr-1210.exp: Likewise.
18117 * gdb.cp/pr-574.exp: Likewise.
18118 * gdb.cp/printmethod.exp: Likewise.
18119 * gdb.cp/psmang.exp: Likewise.
18120 * gdb.cp/ref-params.exp: Likewise.
18121 * gdb.cp/ref-types.exp: Likewise.
18122 * gdb.cp/rtti.exp: Likewise.
18123 * gdb.cp/templates.exp: Likewise.
18124 * gdb.cp/try_catch.exp: Likewise.
18125 * gdb.cp/userdef.exp: Likewise.
18126 * gdb.cp/virtfunc.exp: Likewise.
18127 * gdb.disasm/am33.exp: Likewise.
18128 * gdb.disasm/h8300s.exp: Likewise.
18129 * gdb.disasm/mn10300.exp: Likewise.
18130 * gdb.disasm/sh3.exp: Likewise.
18131 * gdb.disasm/t01_mov.exp: Likewise.
18132 * gdb.disasm/t02_mova.exp: Likewise.
18133 * gdb.disasm/t03_add.exp: Likewise.
18134 * gdb.disasm/t04_sub.exp: Likewise.
18135 * gdb.disasm/t05_cmp.exp: Likewise.
18136 * gdb.disasm/t06_ari2.exp: Likewise.
18137 * gdb.disasm/t07_ari3.exp: Likewise.
18138 * gdb.disasm/t08_or.exp: Likewise.
18139 * gdb.disasm/t09_xor.exp: Likewise.
18140 * gdb.disasm/t10_and.exp: Likewise.
18141 * gdb.disasm/t11_logs.exp: Likewise.
18142 * gdb.disasm/t12_bit.exp: Likewise.
18143 * gdb.disasm/t13_otr.exp: Likewise.
18144 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18145 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18146 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18147 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18148 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18149 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18150 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18151 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18152 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18153 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18154 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18155 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18156 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18157 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18158 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18159 * gdb.mi/gdb701.exp: Likewise.
18160 * gdb.mi/gdb792.exp: Likewise.
18161 * gdb.mi/mi-basics.exp: Likewise.
18162 * gdb.mi/mi-break.exp: Likewise.
18163 * gdb.mi/mi-cli.exp: Likewise.
18164 * gdb.mi/mi-console.exp: Likewise.
18165 * gdb.mi/mi-disassemble.exp: Likewise.
18166 * gdb.mi/mi-eval.exp: Likewise.
18167 * gdb.mi/mi-file.exp: Likewise.
18168 * gdb.mi/mi-read-memory.exp: Likewise.
18169 * gdb.mi/mi-regs.exp: Likewise.
18170 * gdb.mi/mi-return.exp: Likewise.
18171 * gdb.mi/mi-simplerun.exp: Likewise.
18172 * gdb.mi/mi-stack.exp: Likewise.
18173 * gdb.mi/mi-stepi.exp: Likewise.
18174 * gdb.mi/mi-syn-frame.exp: Likewise.
18175 * gdb.mi/mi-until.exp: Likewise.
18176 * gdb.mi/mi-var-block.exp: Likewise.
18177 * gdb.mi/mi-var-child.exp: Likewise.
18178 * gdb.mi/mi-var-cmd.exp: Likewise.
18179 * gdb.mi/mi-var-display.exp: Likewise.
18180 * gdb.mi/mi-watch.exp: Likewise.
18181 * gdb.mi/mi2-basics.exp: Likewise.
18182 * gdb.mi/mi2-break.exp: Likewise.
18183 * gdb.mi/mi2-cli.exp: Likewise.
18184 * gdb.mi/mi2-console.exp: Likewise.
18185 * gdb.mi/mi2-disassemble.exp: Likewise.
18186 * gdb.mi/mi2-eval.exp: Likewise.
18187 * gdb.mi/mi2-file.exp: Likewise.
18188 * gdb.mi/mi2-read-memory.exp: Likewise.
18189 * gdb.mi/mi2-regs.exp: Likewise.
18190 * gdb.mi/mi2-return.exp: Likewise.
18191 * gdb.mi/mi2-simplerun.exp: Likewise.
18192 * gdb.mi/mi2-stack.exp: Likewise.
18193 * gdb.mi/mi2-stepi.exp: Likewise.
18194 * gdb.mi/mi2-syn-frame.exp: Likewise.
18195 * gdb.mi/mi2-until.exp: Likewise.
18196 * gdb.mi/mi2-var-block.exp: Likewise.
18197 * gdb.mi/mi2-var-child.exp: Likewise.
18198 * gdb.mi/mi2-var-cmd.exp: Likewise.
18199 * gdb.mi/mi2-var-display.exp: Likewise.
18200 * gdb.mi/mi2-watch.exp: Likewise.
18201 * gdb.stabs/exclfwd.exp: Likewise.
18202 * gdb.stabs/weird.exp: Likewise.
18203 * gdb.threads/gcore-thread.exp: Likewise.
18204 * gdb.trace/actions.exp: Likewise.
18205 * gdb.trace/backtrace.exp: Likewise.
18206 * gdb.trace/circ.exp: Likewise.
18207 * gdb.trace/collection.exp: Likewise.
18208 * gdb.trace/deltrace.exp: Likewise.
18209 * gdb.trace/infotrace.exp: Likewise.
18210 * gdb.trace/limits.exp: Likewise.
18211 * gdb.trace/packetlen.exp: Likewise.
18212 * gdb.trace/passc-dyn.exp: Likewise.
18213 * gdb.trace/passcount.exp: Likewise.
18214 * gdb.trace/report.exp: Likewise.
18215 * gdb.trace/save-trace.exp: Likewise.
18216 * gdb.trace/tfind.exp: Likewise.
18217 * gdb.trace/tracecmd.exp: Likewise.
18218 * gdb.trace/while-dyn.exp: Likewise.
18219 * gdb.trace/while-stepping.exp: Likewise.
18221 2006-08-08 Joel Brobecker <brobecker@adacore.com>
18223 * gdb.base/step-bt.c: New file.
18224 * gdb.base/step-bt.exp: New testcase.
18226 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18228 * config/monitor.exp (gdb_load): Remove support for obsolete
18229 download-write-size.
18230 * gdb.base/remote.exp: Likewise. Update all callers of
18233 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18235 * cursal.exp: Pass binfile to gdb_load.
18237 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18239 * gdb.base/cursal.exp: Add "" to gdb_load call.
18241 2006-07-29 Mark Kettenis <kettenis@gnu.org>
18243 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18244 NetBSD/ELF targets.
18246 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18248 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18251 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18253 * gdb.base/completion.exp: Update for change in "file" behavior.
18254 * gdb.stabs/weird.exp: Likewise.
18255 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18256 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18258 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18260 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18261 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18263 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18265 * gdb.base/default.exp: Update source command error message.
18266 * gdb.base/help.exp: Update 'help source' message.
18268 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18270 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18273 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18275 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18277 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18279 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18281 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18283 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18285 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18287 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18288 *-*-openbsd* from targets for wich we expect ARM FPA floating
18291 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
18293 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18295 2006-07-17 Mark Kettenis <kettenis@gnu.org>
18297 * gdb.base/annota3.exp: Expect frame-begin annotation.
18299 2006-07-14 Joel Brobecker <brobecker@adacore.com>
18301 * gdb.base/help.exp: Adjust "help unset" test to accept
18302 any list of unset commands.
18304 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18305 Daniel Jacobowitz <dan@codesourcery.com>
18307 * gdb.cp/ref-params.exp: New test.
18308 * gdb.cp/ref-params.cc: New source file.
18309 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18311 2006-07-08 Mark Kettenis <kettenis@gnu.org>
18313 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18314 spaces/tabs in regular expressions since they might not be there.
18316 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18318 * gdb.base/ifelse.exp: New file.
18320 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18322 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18324 * gdb.base/huge.exp: Loop over compilation to find a size that
18326 * gdb.base/remote.exp: Correct expected strings.
18327 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18329 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18331 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18333 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18335 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18338 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18340 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18341 enable stabs testing.
18343 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18345 * gdb.base/auxv.exp: Intercept undefined command messages before
18346 gdb_test_multiple does.
18348 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18350 * Makefile.in (host_alias): Remove.
18351 (target_alias): Use @target_noncanonical@.
18352 (site.exp): Don't set host_alias.
18353 * aclocal.m4: Remove contents. Include acx.m4.
18354 * configure: Regenerated.
18355 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18357 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18359 * lib/gdb.exp (gdb_load_cmd): New.
18361 * gdb.base/fileio.c: Add system(NULL) test.
18362 * gdb.base/fileio.exp: Check it.
18364 * gdb.base/break.c: Add 10a breakpoint at }
18365 * gdb.base/break.exp: Add test for breakpoint at }
18366 * gdb.cp/anon-union.cc: Add code at end of function.
18367 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18368 * gdb.mi/var-cmd.c: Add code at end of function.
18369 * gdb.mi/mi-var-display.exp: Adjust end of next.
18370 * gdb.mi/mi2-var-display.exp: Likewise.
18371 * gdb.base/fileio.c: Add stop function and insert calls at
18373 * gdb.base/fileio.exp: Breakpoint stop function and remove
18374 explicit line number references.
18376 2006-05-19 Joel Brobecker <brobecker@adacore.com>
18378 * gdb.base/del.exp (test_delete_alias): New function.
18379 Now check that both "del" and "d" work as aliases for "delete".
18381 2006-05-18 Fred Fish <fnf@specifix.com>
18383 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18384 required. Check for spurious output after program exits normally.
18386 2006-05-17 Fred Fish <fnf@specifix.com>
18388 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18389 gdb_load, so it works in the simulator.
18391 2006-05-11 Fred Fish <fnf@specifix.com>
18393 * gdb.base/bang.exp: Ignore unexpected output between the
18394 "program exited normally" and the gdb prompt, as many other
18397 2006-05-07 Mark Kettenis <kettenis@gnu.org>
18399 * gdb.base/help.exp: Make "delete checkpoint" part option for
18400 "help d" and "help delete" tests.
18402 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18404 * gdb.mi/mi-basics.exp: Add missing serial number to
18405 expected output in some mi_gdb_test statements.
18406 * gdb.mi/mi2-basics.exp: Likewise.
18408 2006-05-05 Joel Brobecker <brobecker@adacore.com>
18410 * gdb.base/del.c: New file.
18411 * gdb.base/del.exp: New testcase.
18413 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
18415 * gdb.base/break.exp: Do not assume a breakpoint on
18416 main will actually be in $srcfile when optimizing.
18417 * gdb.base/savedregs.exp: Do not require that the dummy
18418 frame location match up to a symbol and source file location.
18419 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18420 will get printed without a mi_cmd_data_list_register_values prefix.
18421 (*-data-list-register-*): Correct regular expressions to expect the new
18422 pseudo d? floating point registers.
18423 * gdb.mi/mi2-regs.exp: Likewise.
18425 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
18427 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18428 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18429 is allocated by the compiler.
18430 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18431 anons, e, anone to force their allocation by the compiler.
18433 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
18435 * gdb.base/help.exp: Update expected text for help d and
18438 2006-05-02 Mark Kettenis <kettenis@gnu.org>
18440 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18441 NetBSD/ELF targets.
18443 2006-04-30 Mark Kettenis <kettenis@gnu.org>
18445 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18446 single-step breakpoint fails; make this a KFAIL on
18448 * gdb.base/siginfo.exp: Likewise.
18449 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18451 2006-04-26 Michael Snyder <msnyder@redhat.com>
18453 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18454 which may have to consume output from other forks.
18455 Add tests to make sure that "delete fork" succeeded.
18457 2006-04-20 Michael Snyder <msnyder@redhat.com>
18459 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18460 Add support for the Renesas M32C and M16C.
18462 * gdb.asm/asm-source.exp: Add m32c target.
18463 * gdb.asm/m32c.inc: Support for m32c target.
18465 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18467 * gdb.base/commands.exp (recursive_source_test): New test.
18469 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
18471 * gdb.base/float.exp: Add pattern for sparc targets.
18473 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18475 * gdb.base/commands.exp (stray_arg0_test): New test.
18477 2006-03-30 Paul Brook <paul@codesourcery.com>
18479 * gdb.mi/mi-until.exp: kfail broken until command.
18480 * gdb.mi/mi2-until.exp: Ditto.
18482 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
18484 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18486 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
18488 * gdb.base/prelink.exp: Anchor tested-for regular expression
18491 2006-03-07 Paul Brook <paul@codesourcery.com>
18493 * gdb.base/assign.exp: Correct fail message.
18495 2006-03-07 Paul Brook <paul@codesourcery.com>
18497 * lib/compiler.c: Extract armcc version number.
18498 * lib/compiler.cc: Ditto.
18500 2006-03-07 Paul Brook <paul@codesourcery.com>
18502 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18503 additional_flags=-w.
18504 * gdb.arch/altivec-regs.exp: Ditto.
18505 * gdb.arch/e500-abi.exp: Ditto.
18506 * gdb.arch/e500-regs.exp: Ditto.
18507 * gdb.base/all-bin.exp: Ditto.
18508 * gdb.base/annota1.exp: Ditto.
18509 * gdb.base/annota3.exp: Ditto.
18510 * gdb.base/args.exp: Ditto.
18511 * gdb.base/arithmet.exp: Ditto.
18512 * gdb.base/assign.exp: Ditto.
18513 * gdb.base/async.exp: Ditto.
18514 * gdb.base/bang.exp: Ditto.
18515 * gdb.base/break.exp: Ditto.
18516 * gdb.base/call-rt-st.exp: Ditto.
18517 * gdb.base/completion.exp: Ditto.
18518 * gdb.base/cond-expr.exp: Ditto.
18519 * gdb.base/condbreak.exp: Ditto.
18520 * gdb.base/consecutive.exp: Ditto.
18521 * gdb.base/define.exp: Ditto.
18522 * gdb.base/display.exp: Ditto.
18523 * gdb.base/ena-dis-br.exp: Ditto.
18524 * gdb.base/environ.exp: Ditto.
18525 * gdb.base/eval-skip.exp: Ditto.
18526 * gdb.base/info-proc.exp: Ditto.
18527 * gdb.base/jump.exp: Ditto.
18528 * gdb.base/logical.exp: Ditto.
18529 * gdb.base/long_long.exp: Ditto.
18530 * gdb.base/maint.exp: Ditto.
18531 * gdb.base/miscexprs.exp: Ditto.
18532 * gdb.base/pc-fp.exp: Ditto.
18533 * gdb.base/pointers.exp: Ditto.
18534 * gdb.base/relational.exp: Ditto.
18535 * gdb.base/reread.exp: Ditto.
18536 * gdb.base/sect-cmd.exp: Ditto.
18537 * gdb.base/sep.exp: Ditto.
18538 * gdb.base/sepdebug.exp: Ditto.
18539 * gdb.base/until.exp: Ditto.
18540 * gdb.base/whatis-exp.exp: Ditto.
18541 * gdb.cp/annota2.exp: Ditto.
18542 * gdb.cp/annota3.exp: Ditto.
18543 * gdb.trace/actions.exp: Ditto.
18544 * gdb.trace/backtrace.exp: Ditto.
18545 * gdb.trace/circ.exp: Ditto.
18546 * gdb.trace/collection.exp: Ditto.
18547 * gdb.trace/deltrace.exp: Ditto.
18548 * gdb.trace/infotrace.exp: Ditto.
18549 * gdb.trace/limits.exp: Ditto.
18550 * gdb.trace/packetlen.exp: Ditto.
18551 * gdb.trace/passc-dyn.exp: Ditto.
18552 * gdb.trace/passcount.exp: Ditto.
18553 * gdb.trace/report.exp: Ditto.
18554 * gdb.trace/save-trace.exp: Ditto.
18555 * gdb.trace/tfind.exp: Ditto.
18556 * gdb.trace/tracecmd.exp: Ditto.
18557 * gdb.trace/while-dyn.exp: Ditto.
18558 * gdb.trace/while-stepping.exp: Ditto.
18559 * lib/gdb.exp: Ditto.
18560 (gdb_compile): Handle nowarning option.
18562 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
18564 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18565 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18566 Rename executable to prelinkt. Don't re-prelink if we didn't
18567 get a core file. Test prelink -u exit status to tell whether
18568 prelinking failed. Use gdb_test_multiple.
18570 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18572 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18573 (do_tests): Call it.
18575 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
18577 * gdb.base/prelink.exp: New test.
18578 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18580 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18582 * gdb.fortran/derived-type.f90: New file.
18583 * gdb.fortran/derived-type.exp: New testcase.
18585 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18587 * gdb.base/default.exp: Allow ';' as a directory separator.
18589 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18591 * gdb.base/help.exp (help add-symbol-file): Update.
18593 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18595 * gdb.base/help.exp (help load): Update expected results.
18597 2006-02-19 Fred Fish <fnf@specifix.com>
18599 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18600 specifix hex value as part of results.
18601 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
18603 2006-02-16 Fred Fish <fnf@specifix.com>
18605 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18606 ushort_addr, and slong_addr, so the typedefs are not optimized
18608 * gdb.base/whatis.exp: Add tests using type name for struct type,
18609 union type, enum type, and typedef.
18611 2006-02-13 Mark Kettenis <kettenis@gnu.org>
18613 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18615 2006-02-13 Jim Blandy <jimb@redhat.com>
18617 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18618 case where it takes two "next" commands to skip past the init
18621 2006-02-12 Fred Fish <fnf@specifix.com>
18623 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18624 to handle cases where it takes two "next" commands to skip
18625 past the init call.
18627 2006-02-07 Joel Brobecker <brobecker@adacore.com>
18629 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18632 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
18634 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18637 2006-01-29 Mark Kettenis <kettenis@gnu.org>
18639 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18641 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18643 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18646 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18648 * gdb.cp/maint.exp: Set complaints to a positive value.
18650 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18652 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18653 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18656 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18658 * gdb.base/checkpoint.c: Update copyright notice. Include
18661 2006-01-04 Jim Blandy <jimb@redhat.com>
18663 * gdb.asm/asm-source.exp: Independently provide default values for
18664 asm-flags and debug-flags. Use 'string equal' to do the
18665 comparison, not the implicit expr's '==' operator. Remove
18666 now-unneeded assignments to asm-flags. In h8300 case, place
18667 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18669 2006-01-04 Michael Snyder <msnyder@redhat.com>
18671 * gdb.base/checkpoint.c: New file.
18672 * gdb.base/checkpoint.exp: New file.
18673 * gdb.base/multi-fork.c: New file.
18674 * gdb.base/multi-fork.exp: New file.
18675 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18677 2006-01-04 Fred Fish <fnf@specifix.com>
18679 * gdb.base/ptype.c (foo): Add typedef.
18680 (intfoo): Add function.
18681 * gdb.base/ptype1.c: New file.
18682 * gdb.base/ptype.exp: Handle compilation and linking with two
18683 source files. Test that proper type for "foo" is found based
18684 on source context rather than first match found in symtabs.
18686 2005-12-28 Mark Kettenis <kettenis@gnu.org>
18688 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18689 * gdb.asm/openbsd.inc: Indent commands.
18691 2005-12-26 Mark Kettenis <kettenis@gnu.org>
18693 * gdb.base/freebpcmd.exp: Increase timeout.
18695 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18697 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18699 * gdb.base/default.exp: Update check for "show version".
18701 2005-12-09 Randolph Chung <tausq@debian.org>
18703 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18704 * gdb.asm/pa64.inc: New file.
18706 2005-12-09 Randolph Chung <tausq@debian.org>
18708 * gdb.asm/common.inc: Indent commands.
18709 * gdb.asm/asmsrc1.s: Likewise.
18710 * gdb.asm/asmsrc2.s: Likewise.
18712 2005-12-09 Randolph Chung <tausq@debian.org>
18714 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18715 (get_addr_of_sym): Remove duplicate print.
18716 (gen_core): xfail hppa*-*-hpux*, update expected output.
18717 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18718 * gdb.arch/pa64-nullify.s: New file.
18720 2005-12-09 Randolph Chung <tausq@debian.org>
18722 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18724 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
18726 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18727 code generation for these functions.
18728 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18731 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18733 * gdb.base/help.exp (help b, help br, help bre, help brea)
18734 (help break): Update the expected message.
18736 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18738 * gdb.asm/m68hc11.inc: Setup the data section.
18739 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18740 script for this test.
18741 (m6812-*-*): Likewise.
18743 2005-11-09 Randolph Chung <tausq@debian.org>
18745 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18747 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18749 * gdb.base/break.exp: Fix a comment typo.
18751 2005-11-03 Jim Blandy <jimb@redhat.com>
18753 Checked in by Elena Zannoni <ezannoni@redhat.com>
18755 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
18757 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
18759 * gdb.arch/gdb1558.c: Include stdio.h.
18761 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18763 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18765 2005-10-31 Mark Kettenis <kettenis@gnu.org>
18767 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18769 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18771 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18772 vscr" tests to better match output.
18774 2005-10-12 Jim Blandy <jimb@redhat.com>
18776 * gdb.base/structs.exp (any): New function.
18777 (test_struct_returns): Don't make any assumptions at all about
18778 what value the function returns when GDB can't set the return
18781 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18783 * gdb.ada/arrayidx/p.adb: New file.
18784 * gdb.ada/arrayidx.exp: New testcase
18786 2005-10-09 Joel Brobecker <brobecker@adacore.com>
18788 * gdb.ada/array_return/pck.ads: New file.
18789 * gdb.ada/array_return/pck.adb: New file.
18790 * gdb.ada/array_return/p.adb: New file.
18791 * gdb.ada/array_return.exp: New testcase.
18793 2005-10-03 Joel Brobecker <brobecker@adacore.com>
18795 * gdb.base/arrayidx.c: New file.
18796 * gdb.base/arrayidx.exp: New testcase.
18798 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
18800 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18801 frames-invalid and breakpoints-invalid are no longer generated
18802 with level 3 so don't expect them in the output.
18804 2005-09-27 Bob Rossi <bob@brasko.net>
18806 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
18807 from test. Escape the | in mi_gdb_test call.
18808 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18809 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18810 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18811 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18812 expected regex's in mi_gdb_test calls.
18813 * lib/mi-support.exp: Remove arbitrary .* from tests.
18814 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18815 Fully anchor GDB/MI expected results in mi_gdb_test.
18816 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18817 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18819 2005-09-26 Paul Brook <paul@codesourcery.com>
18821 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18823 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18825 * bfp-test.c: New file.
18826 * bfp-test.exp: New testcase.
18828 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18830 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18831 of subarray and substring variable.
18832 * gdb.fortran/subarray.f: New source file for the test of subarray
18833 and substring variable evaluation.
18834 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18835 of string constant.
18837 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18839 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18842 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18844 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18845 powerpc altivec' test with an almost identical 'info vector' test.
18847 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18849 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18850 vscr" tests to match output.
18852 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18854 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18857 2005-09-11 Bob Rossi <bob@brasko.net>
18859 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18860 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18861 commands that return an MI output command and an asyncronous MI output
18863 * gdb.mi/mi-console.exp: Ditto.
18865 2005-09-11 Bob Rossi <bob@brasko.net>
18867 * gdb.mi/mi-var-child.c: Include <string.h>.
18869 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18871 * killed.exp: Correct gdb_expect syntax.
18873 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
18875 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18877 2005-08-02 Bob Rossi <bob@brasko.net>
18879 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18880 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18881 Change tests to inferior-tty-set/show.
18882 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18883 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18884 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18885 inferior. Use mi_gdb_test to get GDB and Inferior output.
18886 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18888 (mi_inferior_tty_name): Add inferior PTY file name.
18889 (mi_gdb_start): Add INFERIOR_PTY parameter.
18890 (mi_gdb_test): Add IPATTERN parameter.
18892 2005-08-02 Bob Rossi <bob@brasko.net>
18894 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18895 parameter to mi_gdb_test.
18896 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18898 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18900 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18901 struct_declarations.
18902 * gdb.mi/mi-var-child.exp: Step over the initialization of
18903 struct_declarations.
18905 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18907 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18908 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18909 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18910 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18911 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18914 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
18916 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18917 (do_children_tests): Assign values to the extra elements.
18919 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18920 them for tests for "-var-update --no-values" and
18921 "-var-update --all-values".
18922 Add test for "-var-list-children --simple-values".
18924 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18926 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18927 "-stack-list-locals --simple-values" Improve doc strings and
18930 2005-07-18 Mark Kettenis <kettenis@gnu.org>
18932 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18934 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18936 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18939 2005-07-14 Bob Rossi <bob@brasko.net>
18941 * gdb.base/default.exp (tty): Changed output of command.
18942 * gdb.base/help.exp (help tty): Ditto.
18944 2005-07-12 Mark Kettenis <kettenis@gnu.org>
18946 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18948 2005-07-10 Mark Kettenis <kettenis@gnu.org>
18950 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18951 -stack-select-frame without arguments.
18952 (test_stack_frame_listing): Add test for newly implemented command
18955 2005-07-06 Bob Rossi <bob@brasko.net>
18957 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18959 (Copyright): Update copyright.
18961 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18963 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18964 tests to evaluate exponentiation expression.
18966 2005-06-29 Andreas Schwab <schwab@suse.de>
18968 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18969 main to avoid warnings.
18971 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18973 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
18975 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18976 -stack-select-frame without arguments.
18977 (test_stack_frame_listing): Add test for newly implemented command
18980 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18982 * gdb.fortran/array-element.f: New file.
18983 * gdb.fortran/array-element.exp: New testcase.
18985 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18987 * gdb.base/bigcore.exp: Correct checks for systems which can
18988 not dump a large core file.
18990 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18992 * gdb.base/relocate.c: Add a copyright notice.
18994 * gdb.base/relocate.exp: Test printing the values of variables
18995 from a relocatable file.
18997 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18999 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
19000 excess MI output after an error.
19002 2005-05-29 Joel Brobecker <brobecker@adacore.com>
19004 * gdb.arch/alpha-step.c: New file.
19005 * gdb.arch/alpha-step.exp: New testcase.
19007 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
19008 Dennis Brueni <dennis@slickedit.com>
19010 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
19011 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
19012 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
19013 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
19014 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
19015 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
19016 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
19018 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
19019 Wu Zhou <woodzltc@cn.ibm.com>
19021 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
19022 IBM's xlc compiler.
19023 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
19024 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
19026 2005-05-13 Jim Blandy <jimb@redhat.com>
19028 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
19029 calling gdb_suppress_entire_file.
19030 * gdb.base/charset.exp: Same.
19031 * gdb.base/call-rt-st.exp: Same.
19033 2005-05-05 Bob Rossi <bob_rossi@cox.net>
19035 * lib/gdb.exp (fullname_syntax): Added global regex.
19036 (fullname_syntax_POSIX): Ditto.
19037 (fullname_syntax_UNC): Ditto.
19038 (fullname_syntax_DOS_CASE): Ditto.
19039 (fullname_syntax_DOS): Ditto.
19040 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19041 fullname_syntax variable to scope and use it.
19042 (test_file_list_exec_source_files): Ditto.
19043 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19045 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19047 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19049 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19051 * lib/gdb.exp (skip_altivec_tests): New function, based on
19052 check_vmx_hw_available from the GCC testsuite.
19053 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19054 * lib/gdb.arch/altivec-regs.exp: Likewise.
19056 2005-05-02 Jim Blandy <jimb@redhat.com>
19058 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19059 calling gdb_suppress_entire_file.
19061 2005-04-30 Randolph Chung <tausq@debian.org>
19063 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19064 Slightly relax "sem_post" name checking.
19066 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19068 * gdb.base/unload.exp: Use new shared library infrastructure.
19070 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19072 * gdb.base/so-impl-ld.exp: Use new shared library
19075 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
19077 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19078 * gdb.asm/h8300.inc: New file.
19080 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19082 * gdb.base/shlib-call.exp: Change to use new shared library
19085 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19087 * gdb.base/pending.exp: Change to use new shared library
19090 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19092 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19093 use test_compiler_info instead of gcc_compiled, and update copyright.
19095 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19097 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19098 shared objects being adjusted and update copyright years.
19100 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19102 * ChangeLog: Correct some 2003-01-13 dates.
19103 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19104 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19105 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19106 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19107 gdb.trace/tfind.exp: Update copyright years.
19109 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19110 Daniel Jacobowitz <dan@codesourcery.com>
19112 * lib/gdb.exp (gdb_compile): Handle shlib=.
19113 (gdb_compile_shlib): New function.
19115 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19117 * lib/gdb.exp (test_compiler_info): Give argument a default value.
19119 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19121 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19123 * configure.ac: Likewise.
19124 * configure: Regenerated.
19125 * gdb.gdbserver/Makefile.in: Moved to...
19126 * gdb.server/Makefile.in: ... here.
19127 * gdb.gdbserver/server.c: Moved to...
19128 * gdb.server/server.c: ... here.
19129 * gdb.gdbserver/server-run.exp: Moved to...
19130 * gdb.server/server-run.exp: ... here.
19132 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19134 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19135 * configure.ac: Create gdb.gdbserver/Makefile.
19136 * configure: Regenerated.
19137 * lib/gdbserver-support.exp: New file, derived from
19138 config/gdbserver.exp.
19139 * config/gdbserver.exp: Use gdbserver-support.exp.
19140 * gdb.gdbserver/Makefile.in: New file.
19141 * gdb.gdbserver/server.c: New file.
19142 * gdb.gdbserver/server-run.exp: New file.
19144 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19146 * lib/gdb.exp (test_compiler_info): Return compiler_info
19147 if no arguments are given.
19149 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19151 * gdb.arch/altivec-abi.exp: Check for compiler and set
19152 use altivec' flag accordingly.
19153 * gdb.arch/altivec-regs.exp: Likewise.
19155 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19157 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19159 2005-03-27 Andreas Schwab <schwab@suse.de>
19161 * gdb.base/bigcore.c (main): Add missing mode argument in open
19164 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19166 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19168 * config/gdbserver.exp (gdb_load): Likewise.
19170 2005-03-14 Paul Brook <paul@codesourcery.com>
19172 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19175 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19177 * gdb.dwarf2/dup-psym.S: New file.
19178 * gdb.dwarf2/dup-psym.exp: New testcase.
19180 2005-03-09 Joel Brobecker <brobecker@adacore.com>
19182 * gdb.ada/exec_changed/first.adb: New file.
19183 * gdb.ada/exec_changed/second.adb: New file.
19184 * gdb.ada/exec_changed.exp: New testcase.
19186 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19188 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19190 (main): Test operator+.
19191 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19194 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19195 * gdb.base/signull.exp: Disable if gdb,nosignals.
19196 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19197 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19198 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19199 * gdb.mi/mi2-console.exp: Likewise.
19200 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19201 continue output at start.
19202 (gdb_collect_locals_test): Robustify regexp.
19203 * gdb.trace/passc-dyn.exp: Fix comment typo.
19204 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19206 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
19208 * gdb.asm/asm-source.exp: Add iq2000 case.
19209 * gdb.asm/iq2000.inc: New file.
19211 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
19213 * gdb.base/command.exp: Change hardcoded value to regular expression.
19214 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19216 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19218 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19219 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19220 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19221 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19222 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19224 2005-03-05 Mark Kettenis <kettenis@gnu.org>
19226 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19229 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19231 * lib/compiler.c: Add test for IBM's xlc compiler.
19232 * lib/compiler.cc: Likewise.
19234 2004-02-24 Joel Brobecker <brobecker@adacore.com>
19236 * gdb.ada/fixed_points.exp: Create compilation object directory
19237 before running the test.
19238 * gdb.ada/null_record.exp: Likewise.
19239 * gdb.ada/packed_array.exp: Likewise.
19240 * gdb.ada/start.exp: Likewise.
19242 2005-02-15 Joel Brobecker <brobecker@adacore.com>
19244 * gdb.ada/packed_array/pa.adb: New file.
19245 * gdb.ada/packed_array.exp: New testcase.
19247 2005-02-10 Mark Kettenis <kettenis@gnu.org>
19249 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19252 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19253 on *-*-openbsd*. Correctly match whitespace in regukar
19256 2005-02-10 Daniel Jacobowitz <dan@debian.org>
19258 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19260 * gdb.base/gdb1821.c: New test file.
19261 * gdb.base/gdb1821.exp: New test file.
19263 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19265 * gdb.base/start.c: New file.
19266 * gdb.base/start.exp: New testcase.
19268 2005-02-09 Joel Brobecker <brobecker@adacore.com>
19270 * gdb.ada/start/dummy.adb: New file.
19271 * gdb.ada/start.exp: New testcase.
19273 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
19275 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19276 for printing symbols and statistics.
19277 Add test for using relative pathnames in "maint print msymbols" test.
19278 Mark "maint info sections DATA" XFAIL on Cygwin.
19279 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19282 2005-02-09 Andreas Schwab <schwab@suse.de>
19284 Committed by Andrew Cagney <cagney@gnu.org>
19285 * gdb.base/remotetimeout.exp: New file.
19287 2005-02-07 Mark Kettenis <kettenis@gnu.org>
19289 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19291 2005-02-03 Joel Brobecker <brobecker@adacore.com>
19293 * gdb.ada/gnat_ada.gpr: New file.
19294 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19295 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19296 * configure.ac: No longer generate gnat_ada.gpr.
19297 * configure: Regenerate.
19298 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19299 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19300 * gdb.ada/null_record/bar.ads: Likewise.
19301 * gdb.ada/null_record/bar.adb: Likewise.
19302 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19303 * gdb.ada/null_record.exp (testdir): New variable.
19304 (testfile): executable is now in testdir subdirectory.
19305 (srcfile): Use full path to the main compilation unit.
19306 * gdb.ada/fixed_points.exp: Same changes as above.
19308 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
19310 * gdb.base/interp.exp: New test.
19312 2005-01-24 Andrew Cagney <cagney@gnu.org>
19314 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19316 2005-01-19 Andrew Cagney <cagney@gnu.org>
19318 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19319 configure.ac not configure.in.
19321 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19323 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
19324 * gdb.base/list.exp (test_list_function)
19325 (test_list_filename_and_function): Ditto.
19326 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19328 2005-01-16 Andrew Cagney <cagney@gnu.org>
19330 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19332 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19334 2005-01-14 Andrew Cagney <cagney@gnu.org>
19336 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19337 * gdb.mi/mi2-var-cmd.exp: Ditto.
19339 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
19341 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19343 2005-01-07 Andrew Cagney <cagney@gnu.org>
19345 * configure.ac: Rename configure.in, require autoconf 2.59.
19346 * configure: Re-generate.
19347 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19348 * gdb.stabs/configure: Re-generate.
19349 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19350 * gdb.hp/configure: Re-generate.
19351 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19353 * gdb.hp/gdb.objdbg/configure: Re-generate.
19354 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19356 * gdb.hp/gdb.defects/configure: Re-generate.
19357 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19359 * gdb.hp/gdb.compat/configure: Re-generate.
19360 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19362 * gdb.hp/gdb.base-hp/configure: Re-generate.
19363 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19365 * gdb.hp/gdb.aCC/configure: Re-generate.
19367 2004-12-15 Jim Blandy <jimb@redhat.com>
19369 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19370 under NPTL when there is debugging info available for libpthread.
19372 2004-12-13 Jerome Guitton <guitton@gnat.com>
19374 * gdb.ada/fixed_points.c: New file.
19375 * gdb.ada/fixed_points.exp: New file.
19377 2004-12-03 Randolph Chung <tausq@debian.org>
19379 * gdb.arch/pa-nullify.exp: New file.
19380 * gdb.arch/pa-nullify.s: New file.
19382 2004-11-30 Randolph Chung <tausq@debian.org>
19384 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19385 instead of "tbug". Fix regexp to work properly with gdb_test.
19387 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19389 * gdb.base/bitfields2.exp: New test.
19390 * gdb.base/bitfields2.c: New file.
19392 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
19394 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19396 2004-11-16 Randolph Chung <tausq@debian.org>
19398 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19400 2004-11-14 Daniel Jacobowitz <dan@debian.org>
19402 * gdb.threads/threadapply.exp: Correct "macro details" test.
19404 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19406 * gdb.threads/threadapply.exp: New test.
19407 * gdb.threads/threadapply.c: New file.
19409 2004-11-07 Mark Kettenis <kettenis@gnu.org>
19411 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19414 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
19416 * gdb.base/cursal.exp: New file.
19417 * gdb.base/cursal.c: New file.
19419 2004-11-03 Andrew Cagney <cagney@gnu.org>
19421 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19423 2004-10-30 Mark Kettenis <kettenis@gnu.org>
19425 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19426 NetBSD/ELF targets.
19428 2004-10-29 Joel Brobecker <brobecker@gnat.com>
19430 * gdb.threads/bp_in_thread.c: New file, copied from
19431 pthread_cond_wait.c.
19432 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19433 file, rather than reusing the .c file from another testcase.
19435 2004-10-20 Joel Brobecker <brobecker@gnat.com>
19437 * gdb.ada/null_record.exp: Check where we stopped after
19438 sending the start command, instead of where the associated
19439 temporary breakpoint was inserted.
19441 2004-10-14 Andrew Cagney <cagney@gnu.org>
19443 * gdb.mi/gdb701.c (main): Return 0.
19445 2004-10-13 Daniel Jacobowitz <dan@debian.org>
19447 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
19449 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19451 * gdb.threads/schedlock.c: Add comment markers to use to find
19453 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19455 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19458 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19460 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19462 2004-10-12 Daniel Jacobowitz <dan@debian.org>
19464 * configure.in: Add gdb.dwarf2.
19465 * configure: Regenerated.
19466 * Makefile.in: Add gdb.dwarf2.
19467 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19468 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19469 gdb.dwarf2/file1.txt: New files.
19471 2004-10-11 Orjan Friberg <orjanf@axis.com>
19473 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
19474 of "run", since the latter doesn't work with remote targets. Adjust
19475 the breakpoint numbering accordingly.
19476 * gdb.threads/pthread_cond_wait.exp: Ditto.
19478 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19480 * gdb.base/overlays.exp: Update copyright years.
19482 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19484 * gdb.base/overlays.exp: Disable if target is Linux.
19486 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
19488 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19490 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19492 * gdb.asm/asm-source.exp: Add m32r-linux target.
19493 * gdb.asm/m32r-linux.inc: New file.
19495 2004-09-24 Andrew Cagney <cagney@redhat.com>
19496 David Anderson <anderson@redhat.com>
19498 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19499 command fails, assume things will work.
19500 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19501 (_GNU_SOURCE): Define.
19502 (print_unsigned, print_hex): Change parameter to "long long".
19503 (print_byte_count): New function, use to print byte counts.
19504 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19506 (main): Compute an upper bound on a corefile in max_core_size.
19507 Limit memory chunk size to max_core_size. Limit total memory
19508 allocated to max_core_size.
19510 2004-09-23 Andrew Cagney <cagney@gnu.org>
19512 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19513 from a separate process with code that creates a corefile by
19514 making the inferior dump core.
19516 2004-09-23 Mark Kettenis <kettenis@gnu.org>
19518 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19521 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19523 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19524 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19525 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19528 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19530 * gdb.java/jprint.exp: New test case for java inferior call.
19531 * gdb.java/jprint.java: Ditto.
19533 2004-09-15 Joel Brobecker <brobecker@gnat.com>
19535 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19537 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19539 * gdb.threads/killed.c: Include <stdlib.h>.
19540 * gdb.threads/pthreads.c: Likewise.
19542 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19544 * gdb.threads/killed.c: Add copyright notice.
19546 2004-09-10 Jason Molenda (jmolenda@apple.com)
19548 * gdb.base/define.exp: Two new tests to verify zero space chars
19549 after 'if' and 'while' commands in a user-defined command is correctly
19552 2004-09-08 Andrew Cagney <cagney@gnu.org>
19554 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19555 delivery test with duplicate at end of file.
19557 2004-09-06 Mark Kettenis <kettenis@jive.nl>
19559 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19561 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19563 * config/hppro.exp: Removed.
19565 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19567 * config/sparclet.exp: Removed.
19569 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19571 * config/udi.exp: Removed.
19573 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19575 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19577 (advancei): Likewise.
19579 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19581 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19583 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19585 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
19586 to check for nodebug in executable.
19587 * gdb.gdb/observer.exp (setup_test): Likewise.
19588 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19589 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19591 2004-09-01 Andrew Cagney <cagney@gnu.org>
19593 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19596 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19598 * gdb.base/unload.exp: Fix expected warning message to match
19601 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
19603 * gdb.base/call-rt-st.exp: Fix typos.
19605 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19607 * gdb.threads/thread_check.exp: New testcase.
19608 * gdb.threads/thread_check.c: New testcase.
19610 2004-08-31 Andrew Cagney <cagney@gnu.org>
19612 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19613 (skip_to_handler_entry): New procedures. Test stepping into a
19614 handler when the breakpoint is at the handler's entry point.
19616 2004-08-30 Andrew Cagney <cagney@gnu.org>
19618 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19621 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19623 With code from Manoj Iyer <manjo@austin.ibm.com>:
19624 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19625 return value. Add an arm for "no debugging symbols found".
19626 Change a stray "error" to "perror".
19627 (gdb_run_cmd): Adapt to new return value.
19628 * gdb.base/remote.exp: Adapt to new return value.
19629 * gdb.gdb/complaints.exp: Likewise.
19630 * gdb.gdb/observer.exp: Likewise.
19631 * gdb.gdb/selftest.exp: Likewise.
19632 * gdb.gdb/xfullpath.exp: Likewise.
19634 2004-08-27 Joel Brobecker <brobecker@gnat.com>
19636 * gdb.threads/bp_in_thread.exp: New testcase.
19638 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19640 Fix PR testsuite/1735.
19641 * gdb.threads/schedlock.c (thread_function): Add a cast
19642 to suppress a gcc warning.
19643 * gdb.threads/thread-specific.c (thread_function): Likewise.
19645 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19647 * gdb.base/unload.c: Include <stdlib.h>.
19649 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19651 From Paul Gilliam <pgilliam@us.ibm.com>:
19652 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19653 synchronized after the "return".
19655 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19657 * gdb.mi/basics.c: Include <stdio.h>.
19658 * gdb.mi/pthreads.c: Include <stdlib.h>.
19659 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19661 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19663 * gdb.threads/schedlock.c: Add copyright notice.
19665 2004-08-25 Andrew Cagney <cagney@gnu.org>
19667 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19668 (skip_over_handler, breakpoint_over_hander): New test procedures.
19669 (advance, advancei): Add a proper prefix, do not use
19671 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19673 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19675 * gdb.mi/basics.c: Add copyright notice.
19676 * gdb.mi/var-cmd.c: Add copyright notice.
19678 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19680 * lib/gdb.exp: Remove signed_keyword_not_used.
19681 * lib/compiler.c: Likewise.
19682 * lib/compiler.cc: Likewise.
19684 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19686 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19687 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19689 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19691 * gdb.base/whatis.c: Add copyright notice.
19693 2004-08-20 Mark Kettenis <kettenis@gnu.org>
19695 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19696 it to skip the breakpoints encoded in the inline assembly.
19698 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19700 * Makefile.in: Add gdb.fortran.
19702 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19704 * gdb.base/call-sc.exp (test_scalar_returns):
19705 Fix cut-and-paste glitch in "Make fun return now".
19707 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19709 * configure.in: Add gdb.fortran.
19710 * configure: Regenerate.
19711 * gdb.fortran/Makefile.in: New file.
19712 * lib/gdb.exp (skip_fortran_tests): New procedure.
19714 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19716 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19717 reference to bug-gnu@prep.ai.mit.edu.
19718 * gdb.mi/mi-var-child.exp: Likewise.
19719 * gdb.mi/mi-var-cmd.exp: Likewise.
19720 * gdb.mi/mi-var-display.exp: Likewise.
19721 * gdb.mi/mi2-var-block.exp: Likewise.
19722 * gdb.mi/mi2-var-child.exp: Likewise.
19723 * gdb.mi/mi2-var-cmd.exp: Likewise.
19724 * gdb.mi/mi2-var-display.exp: Likewise.
19726 2004-08-15 Mark Kettenis <kettenis@gnu.org>
19728 * gdb.base/unload.c (main): Make local variable msg const.
19730 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19732 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19733 to bug-gnu@prep.ai.mit.edu.
19734 * gdb.mi/mi-disassemble.exp: Likewise.
19735 * gdb.mi/mi-eval.exp: Likewise.
19736 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19737 default line number.
19738 * gdb.mi/mi-return.exp: Likewise.
19739 * gdb.mi/mi-simplerun.exp: Likewise.
19740 * gdb.mi/mi-stack.exp: Likewise.
19741 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19742 number with explicit range test.
19743 * gdb.mi/mi-watch.exp: Likewise.
19744 * gdb.mi/mi2-break.exp: Likewise.
19745 * gdb.mi/mi2-cli.exp: Likewise.
19746 * gdb.mi/mi2-disassemble.exp: Likewise.
19747 * gdb.mi/mi2-eval.exp: Likewise.
19748 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19749 default line number.
19750 * gdb.mi/mi2-return.exp: Likewise.
19751 * gdb.mi/mi2-simplerun.exp: Likewise.
19752 * gdb.mi/mi2-stack.exp: Likewise.
19753 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19754 number with explicit range test.
19755 * gdb.mi/mi2-watch.exp: Likewise.
19757 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19759 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19760 * gdb.cp/m-static.exp: Likewise.
19761 * gdb.cp/rtti.exp: Likewise.
19763 2004-08-14 Mark Kettenis <kettenis@gnu.org>
19765 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19767 2004-08-14 Eli Zaretskii <eliz@gnu.org>
19769 * ChangeLog: Prefix Local Variables with semi-colons and indent
19770 the reference to older ChangeLog files, to fix fontification in
19773 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19775 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19776 * gdb.mi/mi2-break.exp: Likewise.
19778 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19780 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19782 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19784 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19786 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19788 * gdb.cp/classes.exp: Remove unused declarations. Just let
19789 test names default instead of providing special names. Remove
19790 extraneous demangler test.
19792 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19794 * gdb.base/unload.exp: New test for breakpoints in dynamically
19796 * gdb.base/unload.c: Ditto.
19797 * gdb.base/unloadshr.c: Ditto.
19799 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19801 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19802 cp_test_ptype_class.
19803 (test_enums): Likewise.
19805 2004-08-10 Andrew Cagney <cagney@gnu.org>
19807 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19810 2004-08-10 Andrew Cagney <cagney@gnu.org>
19812 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19815 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19817 * ChangeLog: Add copyright notice. The notice is copied
19818 from emacs 21.3 top level ChangeLog.
19820 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19822 * lib/cp-support.exp: New file.
19823 * lib/cp-support.exp (cp_test_type_class): New function.
19824 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19825 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19826 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19827 cp_test_ptype_class.
19829 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19831 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19832 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19833 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19834 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19835 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19836 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19837 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19838 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19839 gdb.mi/mi2-watch.exp: Update copyright years.
19841 2004-08-09 Mark Kettenis <kettenis@gnu.org>
19843 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19845 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19847 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19848 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19849 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19850 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19851 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19852 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19853 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19854 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19855 gdb.mi/mi-watch.exp: Update copyright years.
19857 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19860 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19861 from a breakpoint with a pending signal.
19863 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19866 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19867 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19869 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19871 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19873 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19875 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19878 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19881 2004-08-08 Daniel Jacobowitz <dan@debian.org>
19883 * gdb.arch/i386-prologue.exp: Compile without debug information.
19885 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19887 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19888 rather than asking gdb to search.
19890 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19892 * gdb.base/gcore.c: Include <string.h>.
19894 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19896 * gdb.base/gcore.c: Add copyright notice.
19898 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19900 * gdb.base/freebpcmd.c: Include <stdio.h>.
19901 * gdb.base/long_long.c: Include <string.h>.
19902 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19903 * gdb.base/siginfo.c: Include <string.h>.
19904 * gdb.base/sigstep.c: Include <string.h>.
19906 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19908 * gdb.base/complex.c: Include <stdlib.h>.
19910 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19912 * gdb.base/complex.c: Add copyright notice.
19914 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19916 * gdb.base/charset.c: Include <stdlib.h>.
19918 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19920 * gdb.base/auxv.c: Include <stdlib.h>.
19922 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19924 * gdb.base/auxv.c: Add copyright notice.
19926 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19928 * gdb.base/coremaker.c: Add copyright notice.
19929 * gdb.base/coremaker2.c: Add copyright notice.
19931 2004-08-04 Andrew Cagney <cagney@gnu.org>
19933 * gdb.base/store.exp: Update copyright.
19934 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19935 names, do not import gdb_prompt.
19937 2004-08-01 Andrew Cagney <cagney@gnu.org>
19939 Fix PR testsuite/1729.
19940 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19941 not use capture_value with value 4.
19942 (capture_value): Add optional test name parameter.
19943 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19944 the prefix, pass to capture_value.
19946 2004-08-01 Mark Kettenis <kettenis@gnu.org>
19948 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19949 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19950 (main): Call new function.
19952 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19954 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19956 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19958 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19960 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19962 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
19963 Accept more values of vtbl pointer. Remove some messages
19964 about "obsolete gcc or gdb".
19966 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19968 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19970 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19972 * gdb.base/asm-source.exp: Properly convert target board
19973 debug flags from gcc format to binutils format.
19975 2004-07-28 Mark Kettenis <kettenis@gnu.org>
19977 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19978 gdb1718". PR backtrace/1718 partially fixed.
19980 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19982 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19984 2004-07-26 Nick Clifton <nickc@redhat.com>
19986 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19987 good default value for a specific architecture is available then
19988 set it to that value. Otherwise default to the -gstabs switch.
19989 Remove the -g... switches from the asm-flags variable. Allow the
19990 target board info to override the value if it wants to. Pass the
19991 switch on the assembler command line.
19993 2004-07-23 Mark Kettenis <kettenis@gnu.org>
19995 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19996 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19997 (main): Call new function.
19999 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
20001 Test for PR exp/1715.
20002 * gdb.base/radix.exp: Refactor common procedures. Make all
20003 test names unique. Change XFAIL to KFAIL.
20005 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
20007 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
20008 * gdb.ada/gnat_ada.gin: ... to here.
20009 * configure.in: Use gnat_ada.gin.
20010 * configure: Regenerate.
20012 2004-07-20 Andrew Cagney <cagney@gnu.org>
20014 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
20015 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
20016 XFAILs. Clean up test messages and comments. Check backtraces.
20017 Delete re-sync code.
20019 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20022 * gdb.base/annota1.exp: Honor gdb,nosignals.
20023 * gdb.base/annota3.exp: Likewise.
20025 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
20027 * lib/java.exp: Update copyright notice.
20029 2004-07-19 Andrew Cagney <cagney@gnu.org>
20031 * gdb.base/selftest.exp: Copy file from here ...
20032 * gdb.gdb/selftest.exp: ... to here.
20034 2004-07-16 Andrew Cagney <cagney@redhat.com>
20036 * lib/insight-support.exp: Delete file.
20037 * lib/java.exp (java_init): Fix copyright.
20039 2004-07-16 Andrew Cagney <cagney@gnu.org>
20041 * gdb.base/restore.c: Append "prologue" to comments marking the a
20042 function's prologue.
20043 * gdb.base/restore.exp: Update copyright, re-indent.
20044 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20045 callerN" prefix where needed. Update patterns that match a
20046 function's prologue.
20048 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20050 * gdb.base/restore.c: Add copyright notice.
20052 2004-07-16 Andrew Cagney <cagney@gnu.org>
20054 * gdb.base/logical.exp: Update copyright.
20055 (evaluate): New procedure. Use to re-implement tests using
20058 2004-07-14 Martin Hunt <hunt@redhat.com>
20060 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20061 which fixes some problems where init.tcl was not found.
20063 2004-07-13 Andrew Cagney <cagney@gnu.org>
20065 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20066 (check_sizeof, check_valueof): Do not include the output in the
20067 test name. Use gdb_test.
20068 (get_valueof): Use gdb_test_multiple.
20070 * gdb.base/step-test.exp: Update copyright. Use
20071 gdb_test_multiple. Ensure that test names do not include
20072 architecture dependent output.
20074 * gdb.gdb/observer.exp: Update copyright.
20075 (setup_test): Use gdb_test_multiple.
20076 (attach_first_observer, attach_second_observer)
20077 (attach_third_observer, detach_first_observer)
20078 (detach_second_observer, detach_third_observer)
20079 (reset_counters, check_counters): Make $message a prefix.
20080 (test_normal_stop_notifications): Add "args" parameter - a list of
20081 init functions to be called. Make $message a prefix,
20082 (test_observer_normal_stop): Change the message prefixes so that
20083 they are unique, pass the attach / detach procedures to
20084 test_normal_stop_notifications.
20086 * gdb.base/signull.exp (test_segv): Prefix all tests with
20087 "${name}". Clean up test messages.
20089 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20091 * gdb.base/ena-dis-br.exp: Update copyright.
20092 (break_at): New function. Replace send_gdb with gdb_test,
20093 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20094 ignore count, not stopped at bpt", with KFAIL.
20096 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
20098 * gdb.base/attach.exp: Remove cleanupfile handling.
20100 2004-07-12 Andrew Cagney <cagney@gnu.org>
20102 * gdb.base/annota1.exp: Cleanup corefile test name.
20103 * gdb.base/annota3.exp: Ditto.
20105 2004-07-12 Andrew Cagney <cagney@gnu.org>
20107 * gdb.base/signals.exp: Clean up copyright, re-indent.
20109 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20110 gdb_test and gdb_test_multiple.
20112 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20114 * gdb.java/jmain.exp: Fix expected line number for main to
20115 break at. Set XFAIL for break at main test since gcj does not
20116 provide line number info for first statement in main.
20118 2004-07-08 Andrew Cagney <cagney@gnu.org>
20120 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20122 * gdb.base/sigbpt.exp: Make the common part of each test name a
20123 prefix instead of suffix.
20125 2004-07-07 Bob Rossi <bob_rossi@cox.net>
20127 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20128 test from test_tbreak_creation_and_listing to
20129 test_file_list_exec_source_file
20130 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20131 Changed name of test from test_tbreak_creation_and_listing to
20132 test_file_list_exec_source_file
20134 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20136 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20137 the jmisc() constructor instead of <init>.
20138 * gdb.java/jmisc1.exp: Ditto.
20140 2004-07-07 Andrew Cagney <cagney@gnu.org>
20142 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20145 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20147 * gdb.cp/templates.exp: Accept whitespace change in demangler
20150 2004-07-06 Andrew Cagney <cagney@gnu.org>
20152 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20154 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20156 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20157 * lib/compiler.cc: Likewise.
20159 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20161 * lib/compiler.cc: Work around string preprocessing problem
20162 with old hp c++ compiler.
20163 * lib/compiler.c: Likewise.
20165 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20167 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20168 directives to conditionalize symbol prefixing.
20169 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20170 additional_flags handling. Add underscore prefix for Cygwin.
20171 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20172 conditionalize symbol prefixing.
20173 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20174 additional_flags handling. Add underscore prefix for Cygwin.
20176 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
20178 * gdb.base/bigcore.exp: Skip test on Cygwin.
20180 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20182 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20183 formats for "info register". Use gdb_test_multiple. Fix
20184 the "invalid register" test.
20186 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
20188 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20189 PID for Cygwin. Add Cygwin specific strings to check for in some
20191 (do_attach_tests): Add a test for user interaction when attaching
20192 to a process with no matching symbol table already loaded.
20194 2004-06-26 Andrew Cagney <cagney@gnu.org>
20196 Test PR java/1567 and PR java/1565.
20197 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20198 * gdb.java/jmisc2.exp: Delete file.
20200 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20202 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20204 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
20206 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20209 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20211 * gdb.cp/pr-1553.exp: Remove.
20213 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20215 * gdb.cp/pr-1553.cc: Remove.
20216 * gdb.cp/pr-1553.exp: Disable this test.
20218 2004-06-20 Jim Blandy <jimb@redhat.com>
20220 Fix PR testsuite/1680.
20221 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20222 regular expressions.
20224 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20226 Fix PR testsuite/1679.
20227 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20228 Issue an UNSUPPORTED result instead.
20230 2004-06-18 Jim Blandy <jimb@redhat.com>
20232 * gdb.base/charset.exp: Only send a control-C if we see a new
20233 prompt and incomplete command.
20235 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20237 * gdb.cp/pr-574.cc: Add copyright notice.
20239 2004-06-17 Jim Blandy <jimb@redhat.com>
20241 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20242 cases where the regexp has no groups; this grabs random text from
20243 the previous test suite, whatever that was.
20245 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20247 * gdb.cp/printmethod.cc: Add copyright notice.
20249 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20251 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20253 2004-06-16 Andrew Cagney <cagney@gnu.org>
20255 * gdb.base/signull.c: Update copyright. Include <string.h>.
20256 (bowler): Replace data_pointer with data_read
20257 and data_write cases. Add code_descriptor case.
20258 (zero, desc): New array and pointer.
20259 (data, code): Change to simple pointers.
20260 * gdb.base/signull.exp: Fix probe pattern matching a function
20261 descriptor SIGSEGV. Replace data_pointer with data_read and
20264 2004-06-16 Andrew Cagney <cagney@gnu.org>
20266 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20268 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20270 * gdb.base/long_long.c: Add copyright notice.
20272 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20274 * gdb.base/long_long.exp: Remove reference to
20275 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20276 to gdb_breakpoint and gdb_continue_to_breakpoint.
20278 2004-06-14 Jim Blandy <jimb@redhat.com>
20280 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20283 2004-06-14 Andrew Cagney <cagney@gnu.org>
20285 * gdb.base/gcore.exp (capture_command_output): Delete the always
20286 passing tests containing inferior values.
20287 * gdb.base/ending-run.exp: Do not include the breakpoint address
20288 in the test message. Update copyright.
20289 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20290 size in the test name, use gdb_test_multiple. Update copyright.
20292 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20294 * gdb.cp/ref-types.cc: Add copyright notice.
20296 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20298 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20300 * lib/compiler.cc: Likewise.
20301 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20302 'set' commands. Log diagnostics for other lines. Set
20303 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20305 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20307 * gdb.cp/try_catch.cc: Add copyright notice.
20309 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20311 * gdb.cp/userdef.cc: Add copyright notice.
20313 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20315 * gdb.cp/virtfunc.cc: Add copyright notice.
20317 2004-06-11 Randolph Chung <tausq@debian.org>
20319 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20322 2004-06-10 Andrew Cagney <cagney@gnu.org>
20324 * lib/compiler.cc, lib/compiler.c: Append either
20325 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20326 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20327 instead of gcc-3-3.
20329 2004-06-09 Andrew Cagney <cagney@gnu.org>
20331 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20332 gdb/1455, bug is specific to "long long" and "double".
20334 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20335 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20336 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20339 2004-06-09 Andrew Cagney <cagney@gnu.org>
20341 * gdb.base/structs.exp (test_struct_returns): Replace
20342 "return_value_unknown" and "finish_value_unknown" by
20343 "return_value_known" and "finish_value_known". Instead of
20344 "return_value_unknown" iff "finish_value_unknown", check
20345 "return_value_known" implies "finish_value_known".
20347 2004-06-08 Martin Hunt <hunt@redhat.com>
20349 * gdb.base/float.exp: Add pattern for mips targets.
20351 2004-06-08 Randolph Chung <tausq@debian.org>
20353 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20354 message for unknown architectures more clear.
20356 2004-06-08 Joel Brobecker <brobecker@gnat.com>
20358 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20359 start the execution of the program.
20361 2004-06-07 Jim Blandy <jimb@redhat.com>
20363 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20364 * gdb.arch/i386-cpuid.h: New helper file.
20366 2004-06-07 Randolph Chung <tausq@debian.org>
20368 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20371 2004-06-04 Roland McGrath <roland@redhat.com>
20374 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20375 differently to be robust to output buffering differences.
20377 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20379 * gdb.threads/pthreads.exp: Update copyright years.
20380 (check_control_c): Change asynchronous 'after' to synchronous.
20382 2004-06-04 Roland McGrath <roland@redhat.com>
20384 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20387 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20390 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20391 calls to synchronous.
20393 2004-05-26 Jim Blandy <jimb@redhat.com>
20395 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20397 2004-05-24 Randolph Chung <tausq@debian.org>
20399 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20400 * gdb.asm/pa.inc: New file.
20402 2004-05-22 Mark Kettenis <kettenis@gnu.org>
20404 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20406 2004-05-21 Joel Brobecker <brobecker@gnat.com>
20407 Daniel Jacobowitz <drow@mvista.com>
20409 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20412 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20414 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
20415 setjmp/longjmp. Use sigaction instead of signal.
20417 2004-05-19 J. Brobecker <brobecker@gnat.com>
20418 Michael Snyder <msnyder@redhat.com>
20420 * gdb.threads/pthread_cond_wait.c: New file.
20421 * gdb.threads/pthread_cond_wait.exp: New testcase.
20423 2004-05-13 Andrew Cagney <cagney@redhat.com>
20425 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20426 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20428 2004-05-11 Andrew Cagney <cagney@redhat.com>
20430 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20431 fixed but revealed gdb/1639.
20433 2004-05-10 Andrew Cagney <cagney@redhat.com>
20435 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20436 func1" and "next to 2nd alarm", kernel bug avoided.
20438 2004-05-10 Daniel Jacobowitz <dan@debian.org>
20441 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20442 XFAIL if it is smaller than bytes_allocated.
20443 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20444 (main): Make chunks_allocated unsigned. Correct comment.
20446 2004-05-07 Joel Brobecker <brobecker@gnat.com>
20448 * gdb.arch/powerpc-aix-prologue.c: New file.
20449 * gdb.arch/powerpc-aix-prologue.exp: New file.
20451 2004-05-07 Jim Blandy <jimb@redhat.com>
20453 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20454 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20456 2004-05-06 Joel Brobecker <brobecker@gnat.com>
20458 * gdb.base/sep.exp: No longer setup_kfail when the program was
20461 2004-05-05 Jim Ingham <jingham@apple.com>
20463 * gdb.base/pending.exp: Make sure pending breakpoints
20464 preserve the ignore count.
20466 2004-04-27 Jerome Guitton <guitton@gnat.com>
20468 * i386-prologue.exp: Add testcase for jump instruction as first
20469 instruction of the real code.
20470 * i386-prologue.c (jump_at_beginning): New function.
20472 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20474 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20477 2004-04-28 Mark Kettenis <kettenis@gnu.org>
20479 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20482 2004-04-25 Mark Kettenis <kettenis@gnu.org>
20484 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20485 expression that checks the return type.
20487 2004-04-23 Andrew Cagney <cagney@redhat.com>
20489 * gdb.base/call-sc.exp: New test of scalar call/return values.
20490 * gdb.base/call-sc.c: Ditto.
20492 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20494 * gdb.threads/manythreads.c: Reduce thread stack size.
20496 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20498 * gdb.threads/manythreads.c: Add copyright notice.
20500 2004-04-23 Andrew Cagney <cagney@redhat.com>
20502 * gdb.base/siginfo.exp: Better handle step out of signal.
20503 * gdb.base/sigstep.exp: Ditto.
20505 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
20506 Daniel Jacobowitz <drow@mvista.com>
20508 * gdb.threads/manythreads.c: New testcase.
20509 * gdb.threads/manythreads.exp: Ditto.
20511 2004-04-22 Jim Blandy <jimb@redhat.com>
20513 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20514 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20516 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20518 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20520 2004-04-21 Andrew Cagney <cagney@redhat.com>
20522 * gdb.base/sigstep.c: New file.
20523 * gdb.base/sigstep.exp: New file.
20525 2004-04-16 Joel Brobecker <brobecker@gnat.com>
20527 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20528 call to observer_notify_normal_stop.
20530 2004-04-15 Andrew Cagney <cagney@redhat.com>
20532 * gdb.base/siginfo.c: New file.
20533 * gdb.base/siginfo.exp: New file.
20535 2004-04-12 J. Brobecker <brobecker@gnat.com>
20537 * gdb.base/sep.exp: Fix typo in comment.
20539 2004-04-12 J. Brobecker <brobecker@gnat.com>
20541 * gdb.base/sep.c: New file.
20542 * gdb.base/sep-proc.c: New file.
20543 * gdb.base/sep.exp: New testcase.
20545 2004-04-09 Mark Kettenis <kettenis@gnu.org>
20547 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20550 2004-04-05 Andrew Cagney <cagney@redhat.com>
20552 * gdb.base/sigaltstack.c: New file.
20553 * gdb.base/sigaltstack.exp: New file.
20555 2004-04-04 Joel Brobecker <brobecker@gnat.com>
20557 * gdb.base/foll-fork.exp: Update the expected output for
20558 "help set follow-fork-mode", to match a change that was made
20559 to the help of this variable on 2004-01-13.
20561 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20563 * lib/ada.exp: Add copyright notice.
20564 * bar.ads: Likewise.
20565 * bar.adb: Likewise.
20566 * null_record.adb: Likewise.
20567 * null_record.exp: Likewise.
20568 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20570 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20572 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20573 * configure: Regenerate.
20575 2004-04-01 Joel Brobecker <brobecker@gnat.com>
20577 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20578 to build the application. Remove the message printed when in
20579 verbose mode, redundant with the UNSUPPORTED message above.
20581 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20583 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20584 * gdb.ada (null_record.exp): New testcase.
20586 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20588 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20590 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20592 * gdb.ada: New subdirectory.
20593 * gdb.ada/Makefile.in: New file.
20594 * gdb.ada/gnat_ada.gpr.in: New file.
20596 2004-03-31 Joel Brobecker <brobecker@gnat.com>
20598 * lib/ada.exp: New file.
20600 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
20602 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20603 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20605 2004-03-22 Andrew Cagney <cagney@redhat.com>
20607 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20608 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20609 Problem identified by Ulrich Weigand.
20611 2004-03-17 David Carlton <carlton@kealia.com>
20613 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20616 2004-03-16 Roland McGrath <roland@redhat.com>
20618 * gdb.base/auxv.exp: New file.
20619 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20621 2004-03-12 David Carlton <carlton@kealia.com>
20623 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20624 * gdb.cp/pr-1553.cc: Ditto.
20625 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20628 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20630 * gdb.cp/templates.exp: Accept more template types.
20632 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20634 From Corinna Vinschen with modifications.
20635 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20636 local variable obj_with_enum.
20637 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20638 results with obj_with_enum.
20640 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20642 * gdb.cp/classes.cc: New file, copied from misc.cc.
20643 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20645 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20647 * gdb.cp/misc.cc: Add copyright notice.
20649 2004-03-05 David Carlton <carlton@kealia.com>
20651 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20652 * gdb.cp/rtti.h: Update copyright.
20653 (namespace n2::n3): New.
20654 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20655 (n2::n3::func3): New.
20656 (main): Call n2::n3::func3.
20657 * gdb.cp/rtti2.cc: Update copyright.
20658 (n2::create3): New.
20660 2004-03-04 Mark Kettenis <kettenis@gnu.org>
20662 * gdb.asm/openbsd.inc: Fix typo.
20664 2004-03-03 Fred Fish <fnf@redhat.com>
20666 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20667 "val" instead of unused "size". Update copyright year.
20669 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20671 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20672 to use unsigned char.
20673 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20674 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20676 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
20678 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20681 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20683 * gdb.base/relocate.c (dummy): Initialize.
20685 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
20687 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20688 a breakpoint at exit.
20690 2004-02-27 Fred Fish <fnf@redhat.com>
20692 * gdb.base/chng-syms.exp: Add expect condition to match failing
20693 case that isn't a timeout.
20695 2004-02-27 Andrew Cagney <cagney@redhat.com>
20697 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20700 2004-02-26 Fred Fish <fnf@redhat.com>
20702 * gdb.arch/gdb1431.c: Remove.
20703 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20704 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20705 of "until" incorrectly.
20707 2004-02-26 J. Brobecker <brobecker@gnat.com>
20709 * gdb.cp/class2.cc (empty): New class.
20710 (refer): New function.
20711 (main): Declare an object of type empty and use it.
20712 * gdb.cp/class2.exp: Print the value of an object of type empty.
20714 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20716 * gdb.base/langs.exp: Update query string to match the
20717 new nquery format used for pending breakpoints.
20719 2004-02-26 Andrew Cagney <cagney@redhat.com>
20722 * gdb.base/charset.c: Update copyright notice.
20723 (main, init_string): Remove the escape character '\e' tests.
20724 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20725 * gdb.base/charset.exp (valid_host_charset): Ditto.
20726 * gdb.base/setvar.exp: Ditto.
20728 2004-02-24 Andrew Cagney <cagney@redhat.com>
20730 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20731 mmapped data in core file" PASS and FAIL messages consistent.
20733 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20734 setting a breakpoint. Work around PR java/1565.
20736 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20738 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20740 * gdb.base/pending.exp: Ditto.
20742 2004-02-22 Mark Kettenis <kettenis@gnu.org>
20744 * configure.in: Run stabs tests on *BSD.
20745 * configure: Regenerated.
20747 2004-02-21 Mark Kettenis <kettenis@gnu.org>
20749 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20751 2004-02-20 Fred Fish <fnf@redhat.com>
20753 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20754 blank in test for "returns short", for consistency with other
20755 "returns xxx" tests. Update copyright year.
20757 2004-02-19 Fred Fish <fnf@redhat.com>
20759 New testcase for PR breakpoint/1558.
20760 * gdb.arch/gdb1558.exp: New file.
20761 * gdb.arch/gdb1558.c: New file.
20763 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
20765 * gdb.base/nodebug.exp: Fix typo.
20767 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20769 Committed by Jim Blandy <jimb@redhat.com>.
20771 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20773 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20775 * gdb.base/float.exp: Support s390*-*-* targets.
20777 2004-02-17 Adam Fedor <fedor@gnu.org>
20779 * gdb.base/gdb1555.exp: New file.
20780 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20782 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
20784 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20786 2004-02-16 Fred Fish <fnf@redhat.com>
20788 * gdb.arch/gdb1291.c: Remove
20789 * gdb.arch/gdb1291.s: New test input file.
20790 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20791 fail. Test for correct result, known incorrect result, other
20792 failures and timeouts.
20794 2004-02-16 Andrew Cagney <cagney@redhat.com>
20796 * gdb.base/bigcore.exp: New file.
20797 * gdb.base/bigcore.c: New file.
20799 2004-02-13 Andrew Cagney <cagney@redhat.com>
20801 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20802 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20803 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20804 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20805 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20806 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20807 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20808 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20809 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20810 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20812 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20814 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20815 executed is an alloc instruction.
20817 2004-02-11 David Carlton <carlton@kealia.com>
20819 * gdb.cp/breakpoint.exp: New.
20820 * gdb.cp/breakpoint.cc: New.
20822 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20824 Partial fix for PR gdb/1543.
20825 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20826 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20827 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20828 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20829 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20830 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20831 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20832 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20833 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20834 to bug-gdb@prep.ai.mit.edu .
20835 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20836 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20837 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20840 2004-02-10 Andrew Cagney <cagney@redhat.com>
20842 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20843 using gdb_internal_error_resync.
20845 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
20847 * gdb.threads/thread-specific.exp: Stop early if no threads are
20850 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20852 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20854 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
20856 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20859 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
20861 * config/sim.exp (gdb_load): Handle $arg == "".
20862 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20863 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20865 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
20867 * gdb.base/maint.exp: Update test to reflect
20870 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20872 * gdb.base/pendshr.c (pendfunc): New function that calls
20874 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20876 2004-02-04 Fred Fish <fnf@redhat.com>
20878 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20879 function symbols and update copyright years.
20880 * gdb.arch/gdb1291.c: Ditto.
20882 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20884 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20886 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20888 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20890 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20892 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20894 2004-02-02 Fred Fish <fnf@redhat.com>
20896 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20897 remote targets. Update copyright years.
20899 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20901 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20903 * gdb.base/langs.exp: Fix test which attempts to create
20904 breakpoint on non-existent function to handle new pending
20906 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20908 * gdb.base/pending.exp: New test.
20909 * gdb.base/pending.c: New file.
20910 * gdb.base/pendshr.c: Ditto.
20912 2004-02-02 David Carlton <carlton@kealia.com>
20914 * gdb.cp/overload.exp: Add overloadNamespace tests.
20915 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20916 (overloadNamespace, XXX): New.
20917 (main): Call XXX::marker2.
20919 2004-02-01 Fred Fish <fnf@redhat.com>
20921 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20922 * gdb.base/finish.exp: Ditto.
20923 * gdb.base/gcore.exp: Ditto.
20924 * gdb.base/huge.exp: Ditto.
20925 * gdb.base/info-proc.exp: Ditto.
20926 * gdb.base/return2.exp: Ditto.
20927 * gdb.threads/gcore-thread.exp: Ditto.
20929 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20931 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20933 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20935 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20936 that opening the file succeeds on OpenBSD.
20938 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20940 * gdb.threads/thread-specific.c: New file.
20941 * gdb.threads/threads-specific.exp: New test script.
20942 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20945 2004-02-01 Mark Kettenis <kettenis@gnu.org>
20947 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20948 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20949 only on the "print_small_structs from print_long_arg_list" test.
20951 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
20953 * gdb.base/completion.exp: Kill a stray backslash.
20955 From Jim Ingham <jingham@apple.com>:
20956 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20957 agrees with the result from sending a tab.
20959 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
20961 * gdb.base/chng-syms.exp: Remove stray newline.
20963 2004-01-31 Mark Kettenis <kettenis@gnu.org>
20965 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20967 * gdb.asm/openbsd.inc: New file.
20969 2004-01-30 Mark Kettenis <kettenis@gnu.org>
20971 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20972 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20973 *-*solaris2*. Remove commented out default settings for
20974 asm-flags. Replace gdb_compile with target_link.
20976 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20978 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20979 for all tests. Remove old hp-ux and cygnus xfail cases.
20981 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20983 * gdb.base/chng-syms.exp: New file.
20984 * gdb.base/chng-syms.c: New file.
20986 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20988 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20989 Provide arms for current output in all my configurations.
20991 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20993 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20994 * lib/compiler.cc: Likewise.
20995 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20996 get the right preprocessor. Eval the output directly. Remove
20997 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20998 hp_f77_compiler and hp_f90_compiler completely.
20999 (gdb_preprocess): Delete.
21000 (get_compiler): Delete.
21002 2004-01-24 Mark Kettenis <kettenis@gnu.org>
21004 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
21007 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
21009 * gdb.mi/mi-stack.exp: Update copyright.
21011 2004-01-23 David Carlton <carlton@kealia.com>
21013 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
21014 test for cp_lookup_transparent_type.
21015 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
21018 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
21020 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
21023 2004-01-23 David Carlton <carlton@kealia.com>
21025 * gdb.cp/namespace.cc (C::ensureRefs): New.
21026 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
21028 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
21030 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
21031 case "-stack-list-locals 2".
21032 * gdb.mi/mi-var-child.exp: Test for case
21033 "-var-list-children --all-values NAME".
21035 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
21037 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21039 2004-01-18 Mark Kettenis <kettenis@gnu.org>
21041 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21042 used with gdb_test_multiple.
21044 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21045 read at address 0. This fixes PR testsuite/1504.
21047 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
21049 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21050 Remove downloading, guessing the host executable, the calls to
21051 gdb_file_cmd and gdb_target_cmd, and "load" support.
21052 (infer_host_exec): New function broken out from gdb_load.
21053 (gdb_load): New wrapper for gdbserver_gdb_load.
21054 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21055 gdb_target_cmd. Use -target-select.
21056 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21057 Download binaries to the host. Clear last_mi_remote_file when
21058 we load a new binary.
21059 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21060 call gdbserver_gdb_load and mi_gdb_target_cmd.
21062 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21064 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21067 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21069 * gdb.cp/templates.exp: Fix typo in test name of
21070 "print Foo<volatile char*>::foo".
21072 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21074 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21076 2004-01-16 Ben Elliston <bje@wasabisystems.com>
21078 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21079 (clean mostlyclean): Remove empty rm.
21081 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21083 * gdb.base/setvar.exp: Add copyright years.
21085 2004-01-14 David Carlton <carlton@bactrian.org>
21087 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21088 PR c++/1511 and update coment.
21089 * gdb.cp/templates.exp: Update patterns to match current output.
21090 If changes involve something other than whitespace, KFAIL
21091 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21093 2004-01-14 David Carlton <carlton@kealia.com>
21095 * gdb.cp/namespace.exp: Add tests involving classes defined within
21097 * gdb.cp/namespace.cc (C::CClass): New.
21098 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21100 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
21102 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21103 what debug info we have. Print a better message if something goes
21104 wrong while producing the separate debug info file.
21106 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21108 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21110 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21112 * gdb.base/callfuncs.c: Add copyright notice.
21114 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21116 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21117 inheritance. PR gdb/1498, PR gcc/13539.
21119 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
21121 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21122 test specific name.
21123 * gdb.mi/gdb669.exp: Ditto.
21124 * gdb.mi/mi-pthreads.exp: Ditto.
21125 * gdb.mi/mi1-pthreads.exp: Ditto.
21126 * gdb.mi/mi2-pthreads.exp: Ditto.
21128 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21130 * gdb.cp/member-ptr.cc: Add copyright notice.
21132 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21134 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21135 some patterns for recent versions of gcc and hpacc. Delete
21136 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21137 Delete tests that access a NULL pointer-to-member-data. This
21138 script is still disabled for gcc.
21140 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21142 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
21145 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
21147 * gdb.base/sepdebug.exp: New file.
21148 * gdb.base/sepdebug.c: New file.
21149 * lib/gdb.exp (separate_debug_filename): New procedure.
21150 (gdb_gnu_strip_debug): New procedure.
21152 2004-01-12 Andrew Cagney <cagney@redhat.com>
21154 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21155 * gdb.mi/ChangeLog-1999-2003: New file.
21157 2004-01-12 Andrew Cagney <cagney@redhat.com>
21159 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21160 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21161 or EEXIST", treat EBUSY as an XFAIL.
21163 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21165 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21168 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21170 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21173 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21175 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21176 and "(aCC)" decorations. Remove obsolete doco about old
21179 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21181 * gdb.cp/exception.exp: Fix typo in doco.
21183 2004-01-09 Mark Kettenis <kettenis@gnu.org>
21185 * gdb.base/gdb1476.exp: Fix typo.
21187 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21189 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21192 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21194 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21195 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21196 Use gdb_compile. Remove restriction on gcc. Add some patterns
21197 for recent version of gdb. Delete second half, which was a copy
21198 of the first half with different build flags. This test is
21199 still disabled because it is still not ready for production.
21201 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21203 * gdb.cp/exception.cc: Add copyright notice.
21204 * gdb.cp/exception.exp: Add a notice that this file is broken
21205 because of line number changes caused by addition of copyright
21208 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21210 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21211 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21213 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21215 * gdb.cp/classes.exp: Accept gnu abi 2.
21216 * gdb.cp/derivation.exp: Likewise.
21217 * gdb.cp/overload.exp: Likewise.
21218 * gdb.cp/virtfunc.exp: Likewise.
21220 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21222 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21223 semicolon after end of function.
21225 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21227 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21228 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21229 boilerplate code for compiling and running the program under
21230 test. Add some string method tests.
21232 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21234 * gdb.cp/bs15503.cc: Add copyright notice.
21235 * gdb.cp/bs15503.exp: Adjust line number.
21237 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21239 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21240 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21242 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21244 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21247 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21249 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21250 * gdb.cp/ctti.exp: Use the marker instead of "next".
21251 With gcc, run further before bailing.
21253 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21255 * gdb.cp/cttiadd.cc: Add copyright notice.
21256 * gdb.cp/cttiadd1.cc: Likewise.
21257 * gdb.cp/cttiadd2.cc: Likewise.
21258 * gdb.cp/cttiadd3.cc: Likewise.
21260 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21262 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21263 Use gdb_test, gdb_test_multiple. Use floating-point values that
21264 have exact representations in IEEE-ish formats.
21266 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21268 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21269 compilers. Delete duplicate call to get_compiler_info.
21270 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21271 * gdb.base/volatile.exp: Likewise.
21273 2004-01-07 Mark Kettenis <kettenis@gnu.org>
21275 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21276 memory at address 0.
21278 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21280 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21281 to test for hp-ux assembler. Fix copyright years.
21283 2004-01-07 Andrew Cagney <cagney@redhat.com>
21285 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21287 2004-01-07 Andrew Cagney <cagney@redhat.com>
21289 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21290 when creating the read-only file. From analysis by Roland McGrath
21293 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21295 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21297 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21299 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21302 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21304 * gdb.cp/m-static.exp: Compile one source file at a time.
21305 Delete unused call to get_compiler_info.
21307 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21309 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21310 * gdb.base/call-rt-st.exp: Likewise.
21311 * gdb.base/nodebug.exp: Likewise.
21312 * gdb.base/volatile.exp: Likewise.
21313 * gdb.cp/ref-types.exp: Likewise.
21314 * gdb.cp/templates.exp: Likewise.
21316 2004-01-05 Mark Kettenis <kettenis@gnu.org>
21318 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21320 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21322 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21325 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21327 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21330 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21331 sparc64-*-* and sparc*-solaris2*.
21333 2004-01-04 Mark Kettenis <kettenis@gnu.org>
21335 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21336 return ${tests}" test. The ${tests} already mentions the
21339 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21341 * gdb.cp/local.exp: Accept gcc abi 2.
21343 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21345 * gdb.cp/templates.exp: Accept gcc abi 2.
21347 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21349 * lib/compiler.cc: Remove supports_template_debugging.
21350 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21352 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21354 * gdb.cp/namespace.exp: Accept gcc abi 2.
21356 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21358 * gdb.cp/method.exp: Accept gcc abi 2.
21360 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21362 * gdb.cp/classes.exp: Generate identical results as old version.
21363 * gdb.cp/derivation.exp: Likewise.
21364 * gdb.cp/overload.exp: Likewise.
21365 * gdb.cp/virtfunc.exp: Likewise.
21367 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21369 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21370 mysterious bug with sourceware version of expect.
21372 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21374 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21375 current versions of gcc, including gcc abi 2. Remove gratuitous
21376 restart of test program. Use gdb_test_multiple and gdb_test for
21377 all tests. Add patterns to xfail missing "const" in "const char *"
21378 and kfail PR gdb/1155.
21380 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21382 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21383 current versions of gcc, including gcc abi 2. Remove gratuitous
21384 restart of test program. Use gdb_test_multiple and gdb_test for
21385 all tests. Add patterns to kfail PR gdb/1498.
21387 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21389 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21390 current versions of gcc, including gcc abi 2. Use "breakpoint"
21391 and "continue" instead of restarting the target program. Use
21392 gdb_test_multiple and gdb_test for all tests.
21394 2004-01-01 Mark Kettenis <kettenis@gnu.org>
21396 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21399 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21401 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21402 current versions of gcc, including gcc abi 2. Use "breakpoint"
21403 and "continue" instead of restarting the target program several
21404 times. Use gdb_test_multiple and gdb_test for all tests.
21406 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21408 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21411 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21413 * gdb.base/environ.exp: Handle compiling test case from multiple
21416 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21418 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21420 2003-12-17 Jim Blandy <jimb@redhat.com>
21422 * gdb.base/freebpcmd.c: Add copyright notice.
21424 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21426 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21428 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21430 2003-12-13 Jim Blandy <jimb@redhat.com>
21432 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21434 2003-12-12 Kevin Buettner <kevinb@redhat.com>
21436 * gdb.asm/frv.inc: New file.
21437 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21439 2003-12-09 Fred Fish <fnf@redhat.com>
21441 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21442 functions to break1.c and leave prototypes behind. Add more
21443 "set breakpoint NN here" comments.
21444 * gdb.base/break1.c: New file.
21446 * gdb.base/break.exp: Handle compiling test case from multiple
21447 source files and change source file references as needed.
21448 * gdb.base/completion.exp: Ditto.
21449 * gdb.base/condbreak.exp: Ditto.
21450 * gdb.base/define.exp: Ditto.
21451 * gdb.base/ena-dis-br.exp: Ditto.
21452 * gdb.base/info-proc.exp: Ditto.
21453 * gdb.base/maint.exp: Ditto.
21454 * gdb.base/until.exp: Ditto.
21456 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21457 hardcoded line numbers.
21458 * gdb.base/define.exp: Ditto.
21459 * gdb.base/ena-dis-br.exp: Ditto.
21460 * gdb.base/maint.exp: Ditto.
21461 * gdb.base/until.exp: Ditto.
21463 * gdb.base/completion.exp: Use "break1" for completion tests since
21464 "break" is no longer a unique prefix.
21466 2003-12-06 Andrew Cagney <cagney@redhat.com>
21468 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21469 "return_value_unimplemented". When an unimplemented struct return
21470 architecture, report incorrect values as a KFAIL
21472 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21474 * gdb.cp/rtti.exp: Accept new wording of warning from
21475 cp_lookup_rtti_type.
21477 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21479 Partial fix for PR testsuite/1456.
21480 * gdb.base/scope.exp (test_at_main): Replace references to
21481 gcc_compiled with calls to test_compiler_info.
21482 (test_at_foo): Likewise.
21483 (test_at_bar): Likewise.
21485 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21487 Partial fix for PR testsuite/1456.
21488 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21489 to test_compiler_info.
21491 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21493 * gdb.base/so-impl-ld.exp: Update copyright notice.
21495 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21497 Partial fix for PR testsuite/1456.
21498 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21499 to test_compiler_info.
21501 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21503 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21504 from current versions of gdb. Clean up regular expressions.
21505 Delete redundant timeout case.
21507 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21509 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21510 from current versions of gdb. Clean up regular expressions.
21511 Delete redundant timeout case.
21513 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21515 Partial fix for PR testsuite/1456.
21516 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21517 gcc_compiled with call to test_compiler_info.
21519 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21521 Partial fix for PR testsuite/1456.
21522 * gdb.base/list.exp (test_list_function): Delete unused declaration
21525 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21527 Partial fix for PR testsuite/1456.
21528 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21529 call to test_compiler_info.
21531 2003-11-29 Mark Kettenis <kettenis@gnu.org>
21533 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21534 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21535 it to create the appropriate note.inc.
21536 * gdb.asm/asmsrc1.s: Include "note.inc".
21537 * gdb.asm/netbsd.inc: New file.
21538 * gdb.asm/empty.inc: New file.
21540 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21542 Partial fix for PR testsuite/1456.
21543 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21544 calls to test_compiler_info.
21546 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21548 Partial fix for PR testsuite/1456.
21549 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21550 calls to test_compiler_info.
21552 2003-11-27 Mark Kettenis <kettenis@gnu.org>
21554 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21555 pattern for the KFAILs.
21557 2003-11-25 Adam Fedor <fedor@gnu.org>
21559 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21560 * gdb.objc/objcdecode.m: New file.
21562 2003-11-25 Adam Fedor <fedor@gnu.org>
21564 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21565 * gdb.objc/nondebug.m: New file.
21567 2003-11-26 Ben Elliston <bje@wasabisystems.com>
21569 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21570 NetBSD as it does on FreeBSD. Modelled on a similar change by
21571 Mark Kettenis on 2003-05-30.
21572 (link-flags): Set to "--entry _start" regardless of target.
21573 Special linker flags are to be appended to $link-flags.
21574 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21576 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21578 * gdb.cp/method.exp: Accept output of new demangler.
21580 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21582 * gdb/class2.exp: New file.
21583 * gdb/class2.cc: New file.
21585 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21587 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21590 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21592 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21595 2003-11-23 Mark Kettenis <kettenis@gnu.org>
21597 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21598 "continue" into "run".
21600 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21602 Partial fix for PR testsuite/1456.
21603 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21604 call to test_compiler_info.
21605 * gdb.cp/ctti.exp: Likewise.
21606 * gdb.cp/derivation.exp: Likewise.
21607 * gdb.cp/member-ptr.exp: Likewise.
21608 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21609 reference to gcc_compiled.
21611 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21613 Fix PR testsuite/1463.
21614 * gdb.base/structs.exp (start_structs_test): Call
21615 get_debug_format before using the debug format.
21617 2003-11-22 Andrew Cagney <cagney@redhat.com>
21619 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21620 * gdb.base/structs.exp: Use gdb_test_multiple.
21622 2003-11-20 Andrew Cagney <cagney@redhat.com>
21624 * gdb.base/structs.exp: Handle and recover from internal errors.
21625 Replace "foo${n}" with "foo<n>" in test messages.
21627 * gdb.base/structs.exp: Update copyright. Rewrite.
21628 * gdb.base/structs.c: Update copyright. Rewrite.
21630 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21631 resync count exceeded.
21633 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21634 from the internal error.
21635 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21636 Original from Jim Blandy.
21637 (gdb_test_multiple): Use gdb_internal_error_resync.
21639 2003-11-19 Andrew Cagney <cagney@redhat.com>
21641 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21644 2003-11-17 Mark Kettenis <kettenis@gnu.org>
21646 New testcase for PR backtrace/1435.
21647 * gdb.arch/i386-unwind.exp: New file.
21648 * gdb.arch/i386-unwind.c: New file.
21650 2003-11-17 Andrew Cagney <cagney@redhat.com>
21652 * lib/gdb.exp (compiler_info): New global.
21653 (test_compiler_info): New function.
21654 (get_compiler_info): Set compiler_info.
21655 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21656 "compiler_info" to gcc-<major>-<minor>.
21658 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21660 * gdb.trace/configure: Remove.
21662 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
21664 * gdb.base/break.c: Add comments to aid finding line numbers for
21666 * gdb.base/break.exp: Remove all references to explicit line
21669 2003-11-11 Nick Clifton <nickc@redhat.com>
21671 * gdb.base/shreloc.exp: Do not run for targets which do not
21672 support shared objects.
21674 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
21676 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21677 Don't run tests if nofileio flag is given.
21679 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
21681 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
21682 as well as 'Watchpoint'.
21684 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21686 Reported by Jim Ingham <jingham@apple.com>:
21687 * gdb.base/annota1.exp: Match at least one occurrence of the
21688 signal handler annotation.
21690 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
21692 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21693 as well as 'Watchpoint'.
21695 2003-11-05 Michael Chastain <mec@shout.net>
21697 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21699 2003-11-03 Kris Warkentin <kewarken@qnx.com>
21701 * gdb.arch/gdb1291.c: New test file.
21702 * gdb.arch/gdb1291.exp: New test script.
21703 * gdb.arch/gdb1431.c: New test file.
21704 * gdb.arch/gdb1431.exp: New test script.
21706 2003-10-22 Michael Chastain <mec@shout.net>
21708 * gdb.mi/pthreads.c: Add copyright notice.
21710 2003-10-22 Michael Chastain <mec@shout.net>
21712 * gdb.threads/pthreads.c: Add copyright notice.
21714 2003-10-20 Michael Chastain <mec@shout.net>
21716 * gdb.base/gdb1056.exp: New test script.
21718 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21720 * gdb.threads/killed.exp: Use gdb_run_cmd.
21722 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
21724 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21725 create a core file.
21726 * gdb.threads/gcore-thread.exp: Likewise.
21728 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
21730 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21731 type, based on char type.
21732 (struct bit_flags_short_t): New bitfield type, based on short type.
21733 (init_bit_flags_char): New fuction.
21734 (init_bit_flags_short): Ditto.
21735 (print_bit_flags_char): Ditto.
21736 (print_bit_flags_short): Ditto.
21737 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21739 2003-10-11 Michael Chastain <mec@shout.net>
21741 * gdb.base/call-rt-st.exp: Update copyright year.
21743 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21745 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21746 * gdb.disasm/sh3.s: Ditto.
21748 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
21750 * gdb.threads/switch-threads.exp: New test.
21751 * gdb.threads/switch-threads.c: New source file.
21753 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
21755 * gdb.base/ending-run.exp: Add sh specific case.
21757 2003-10-06 Andrew Cagney <cagney@redhat.com>
21759 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21760 * gdb.disasm/mn10200.exp: Delete obsolete file.
21762 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
21764 * ChangeLog: Correct an entry command.exp -> commands.exp.
21765 * gdb.base/commands.exp (bp_deleted_in_command_test)
21766 (temporary_breakpoint_commands): Check noargs.
21768 2003-09-25 David Carlton <carlton@kealia.com>
21770 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21771 of some print tests, where appropriate. Add tests for C::D::cd,
21772 E::ce, F::cXfX, G::XgX.
21773 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21775 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
21777 * lib/java.exp (java_init): Import target_alias before using it.
21779 2003-09-25 David Carlton <carlton@kealia.com>
21781 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21783 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
21785 * gdb.base/selftest.exp: Accomodate more instruction reordering
21788 2003-09-17 Michael Chastain <mec@shout.net>
21790 * gdb.cp/gdb1355.exp: New file.
21791 * gdb.cp/gdb1355.c: New file.
21793 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
21795 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21796 * gdb.asm/sh.inc: New file.
21798 2003-09-11 David Carlton <carlton@kealia.com>
21800 * gdb.cp/namespace.exp: Add tests for namespace types.
21801 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
21802 (test_namespace): New.
21804 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
21806 * gdb.base/relocate.exp: Handle new gdb output at startup.
21807 * gdb.stabs/weird.exp: Ditto.
21809 2003-09-08 Michael Chastain <mec@shout.net>
21811 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21813 2003-09-07 Michael Chastain <mec@shout.net>
21815 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21818 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21820 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21822 2003-08-30 Michael Chastain <mec@shout.net>
21824 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21825 * gdb.gdb/observer.exp: Ditto.
21826 * gdb.gdb/xfullpath.exp: Ditto.
21828 2003-08-29 Mark Kettenis <kettenis@gnu.org>
21830 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21833 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21835 * gdb.base/dump.exp: Skip for ia64.
21837 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21839 * gdb.asm/asm-source.exp: Add ia64 support.
21840 * gdb.asm/ia64.inc: New file.
21842 2003-08-22 Michael Chastain <mec@shout.net>
21844 * gdb.cp: New directory.
21845 * gdb.cp/*: Copy from gdb.c++/*.
21846 * gdb.c++/*: Remove.
21847 * Makefile.in: Change gdb.c++ to gdb.cp.
21848 * configure.in: Ditto.
21849 * configure: Regnerate.
21851 2003-08-18 Mark Kettenis <kettenis@gnu.org>
21853 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21854 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21856 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21858 * mi-var-display.exp (-var-list-children weird): Accept function
21859 pointers with argument types.
21860 * mi1-var-display.exp (-var-list-children weird): Likewise.
21861 * mi2-var-display.exp (-var-list-children weird): Likewise.
21863 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
21865 * gdb.base/annota3.exp: Add missing newline.
21867 2003-08-06 Michael Chastain <mec@shout.net>
21869 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21871 2003-08-12 Michael Snyder <msnyder@redhat.com>
21873 * gdb.base/float.exp: Add test for SH.
21875 2003-08-10 Mark Kettenis <kettenis@gnu.org>
21877 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21879 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21881 * gdb.base/completion.exp: Remove reduntant completion test
21884 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21886 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21887 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21888 gdb.trace/save-trace.exp: Make sure that full pathnames are
21891 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
21893 * configure.in: Don't generate config.h from config.hin.
21894 * configure: Regenerate.
21895 * config.hin: Remove file.
21896 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21897 * gdb.threads/pthreads.c: Ditto.
21899 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
21901 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21902 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21903 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21904 Replace ld24 with seth/add3.
21906 2003-08-02 Andrew Cagney <cagney@redhat.com>
21908 * gdb.base/annota3.exp: New file.
21909 * gdb.base/annota3.c: New file.
21910 * gdb.c++/annota3.exp: New file.
21911 * gdb.c++/annota3.cc: New file.
21913 2003-07-29 Michael Chastain <mec@shout.net>
21915 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21917 (do_pass): Likewise.
21918 * gdb.threads/tls.exp: Always initialize no_of_threads.
21920 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
21922 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21924 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21925 * gdb.threads/tls.exp: Recognize one case of the host library not
21928 2003-07-27 Andrew Cagney <cagney@redhat.com>
21930 * gdb.base/fileio.exp: Use SH when running commands using
21933 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
21935 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21936 * gdb.base/relocate.c (dummy): New padding array.
21938 2003-07-22 Michael Snyder <msnyder@redhat.com>
21940 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
21942 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21943 patterns to be more general, accepting old and new output.
21944 Some output chars (such as '+') also must be quoted.
21945 Some addresses are displayed numerically instead of
21948 2003-07-23 Michael Snyder <msnyder@redhat.com>
21950 * gdb.base/return2.exp: Don't test long-long return.
21952 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21953 * gdb.disasm/t01_mov.exp: Ditto.
21954 * gdb.disasm/t02_mova.s: Ditto.
21955 * gdb.disasm/t02_mova.exp: Ditto.
21956 * gdb.disasm/t03_add.s: Ditto.
21957 * gdb.disasm/t03_add.exp: Ditto.
21958 * gdb.disasm/t04_sub.s: Ditto.
21959 * gdb.disasm/t04_sub.exp: Ditto.
21960 * gdb.disasm/t05_cmp.s: Ditto.
21961 * gdb.disasm/t05_cmp.exp: Ditto.
21962 * gdb.disasm/t06_ari2.s: Ditto.
21963 * gdb.disasm/t06_ari2.exp: Ditto.
21964 * gdb.disasm/t07_ari3.s: Ditto.
21965 * gdb.disasm/t07_ari3.exp: Ditto.
21966 * gdb.disasm/t08_or.s: Ditto.
21967 * gdb.disasm/t08_or.exp: Ditto.
21968 * gdb.disasm/t09_xor.s: Ditto.
21969 * gdb.disasm/t09_xor.exp: Ditto.
21970 * gdb.disasm/t10_and.s: Ditto.
21971 * gdb.disasm/t10_and.exp: Ditto.
21972 * gdb.disasm/t11_logs.s: Ditto.
21973 * gdb.disasm/t11_logs.exp: Ditto.
21974 * gdb.disasm/t12_bit.s: Ditto.
21975 * gdb.disasm/t12_bit.exp: Ditto.
21976 * gdb.disasm/t13_otr.s: Ditto.
21977 * gdb.disasm/t13_otr.exp: Ditto.
21979 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21981 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21983 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
21985 * gdb.threads/tls.c : New file.
21986 * gdb.threads/tls.exp : New file.
21987 * gdb.threads/tls-main.c : New file.
21988 * gdb.threads/tls-shared.c : New file.
21989 * gdb.threads/tls-shared.exp : New file.
21991 2003-07-22 Andreas Schwab <schwab@suse.de>
21993 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21995 2003-07-20 Andreas Schwab <schwab@suse.de>
21997 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21998 due to insn reordering.
22000 2003-07-15 Andrew Cagney <cagney@redhat.com>
22002 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
22004 2003-07-15 Michael Chastain <mec@shout.net>
22006 * gdb.base/gdb1250.exp: New file.
22007 * gdb.base/gdb1250.c: New file.
22009 2003-07-09 Michal Ludvig <mludvig@suse.cz>
22011 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
22012 expansion of size_t to 'unsigned long', not only to 'unsigned'.
22014 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22016 * gdb.threads/tls.c: New file.
22017 * gdb.threads/tls.exp: New file.
22018 * gdb.threads/tls-main.c: New file.
22019 * gdb.threads/tls-shared.c: New file.
22020 * gdb.threads/tls-shared.exp: New file.
22022 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
22024 * gdb.base/annota1.exp: Make sure that we properly escape the
22025 full path of the source file. Xfail more permissive patterns,
22026 due to a compiler debug info problem.
22028 2003-07-07 Andreas Schwab <schwab@suse.de>
22030 * gdb.asm/m68k.inc: New file.
22031 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
22033 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
22034 arguments"): Also match negative number.
22036 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
22038 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
22040 * gdb.base/store.c (charest): New typedef.
22041 (add_char): Rename to add_charest, update.
22042 (wack_char): Rename to wack_charest, update types. Return l + r
22043 to keep r live across the call.
22044 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22045 (wack_double, wack_doublest): Return l + r to keep r live across
22047 * gdb.base/store.exp: Accomodate store.c changes.
22049 2003-06-30 David Carlton <carlton@kealia.com>
22051 * gdb.c++/maint.exp (test_invalid_name): New.
22052 (test_first_component): Add tests for invalid names.
22054 2003-06-29 Michael Chastain <mec@shout.net>
22056 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22057 output of '<VTT for class>' for virtual base classes.
22059 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22061 * gdb.base/completion.exp: Tab-complete "complet" instead of
22063 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22065 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22067 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22068 * gdb.base/volatile.exp: Likewise.
22070 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
22072 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22075 2003-06-28 Michael Chastain <mec@shout.net>
22076 Daniel Jacobowitz <drow@mvista.com>
22078 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22079 initial line count of 'captured_main' from 26 to 32.
22080 (test_with_self): Allow xmalloc call to be interleaved with the
22081 preceding two lines.
22083 2003-06-24 Joel Brobecker <brobecker@gnat.com>
22085 * gdb.base/bang.exp: New testcase.
22087 2003-06-23 Joel Brobecker <brobecker@gnat.com>
22089 * gdb.base/langs.exp: Add some tests for the "minimal" language
22092 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
22094 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22097 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22099 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22102 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
22104 * gdb.c++/pr-1210.cc: New file.
22105 * gdb.c++/pr-1210.exp: New file.
22107 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
22109 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22112 2003-06-15 Mark Kettenis <kettenis@gnu.org>
22114 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22115 on *-*-*bsd* instead of *-*-freebsd*.
22117 2003-06-14 Andrew Cagney <cagney@redhat.com>
22119 * gdb.base/store.exp: Test longest and doublest. Test all
22120 parameters. Weaken return statement match.
22121 * gdb.base/store.c: Add longest and doublest - aka long long and
22122 long double functions. Put all parameters into local register
22123 variables. Use negative values.
22125 2003-06-14 Andrew Cagney <cagney@redhat.com>
22127 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22128 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22130 * gdb.base/fileio.exp: Disable target when nointerrupts and
22131 noinferiorio, instead of limiting it to remote. Use remote_exec
22134 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22136 * gdb.base/float.exp: Add ia64 support.
22138 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
22140 * gdb.base/fileio.exp: Run only on remote targets.
22142 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
22144 * gdb.base/fileio.c: New file, testing File-I/O.
22145 * gdb.base/fileio.exp: Ditto.
22147 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22149 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22150 shared objects after relocation at load time (gdb PR/1132).
22151 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
22152 as above, part of the shared object relocation test.
22154 2003-06-08 Mark Kettenis <kettenis@gnu.org>
22156 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22157 fully filled history list.
22158 * gdb.base/gdb_history: New file.
22160 * gdb.base/signals.exp: XFAIL "continue to func1" on
22163 * gdb.base/attach.exp: When trying to attach to a nonexistent
22164 process, make it possible to specify the PID based on the target,
22165 and do so for *-*-freebsd*.
22167 2003-06-02 Richard Henderson <rth@redhat.com>
22169 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22171 2003-06-02 Richard Henderson <rth@redhat.com>
22173 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22175 2003-06-02 Richard Henderson <rth@redhat.com>
22177 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22179 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
22181 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22184 2003-06-01 Mark Kettenis <kettenis@gnu.org>
22186 * gdb.asm/asm-source.exp: Check for memory read errors in
22187 disassembler test on *BSD too.
22189 2003-06-01 Richard Henderson <rth@redhat.com>
22191 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22193 (gdbasm_call): Lose ldgp.
22194 (gdbasm_startup): Add frame information.
22195 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22197 2003-05-31 Mark Kettenis <kettenis@gnu.org>
22199 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22202 2003-05-30 Mark Kettenis <kettenis@gnu.org>
22204 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22207 2003-05-29 Richard Henderson <rth@redhat.com>
22209 * gdb.asm/alpha.inc: New file.
22210 * gdb.asm/asm-source.exp: Use it.
22212 2003-05-29 Jim Blandy <jimb@redhat.com>
22214 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22217 2003-05-22 Jim Blandy <jimb@redhat.com>
22219 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22222 2003-05-20 David Carlton <carlton@math.stanford.edu>
22224 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22227 2003-05-19 David Carlton <carlton@bactrian.org>
22229 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22230 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22232 2003-05-19 David Carlton <carlton@bactrian.org>
22234 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22236 Bump copyright date.
22237 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22238 (main): Call C::D::marker2.
22239 * gdb.c++/namespace1.cc: New file.
22241 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22243 Roland McGrath <roland@redhat.com>
22244 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
22245 there is no manager thread.
22247 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22249 * gdb.threads/schedlock.exp: Remove assumption that all threads
22250 will run in a particular small time slice. Also ensure we break
22251 in one of the child threads rather than the main thread.
22253 2003-05-07 Jim Blandy <jimb@redhat.com>
22255 Add support for assembly source testing on the s390x.
22256 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22258 * gdb.asm/s390x.inc: New file.
22260 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22261 succession of 'if' statements.
22263 2003-05-05 Andrew Cagney <cagney@redhat.com>
22265 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22267 2003-05-05 Andrew Cagney <cagney@redhat.com>
22269 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22270 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22272 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
22274 * gdb.base/charset.exp: Update based on new behavior of set/show
22277 2003-05-01 Andrew Cagney <cagney@redhat.com>
22279 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22280 variable do not give memory errors.
22282 2003-04-30 Adam Fedor <fedor@gnu.org>
22284 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22285 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22286 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22287 gdb.objc/basicclass.m: : New files
22289 * lib/gdb.exp (gdb_compile_objc): New procedure.
22291 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
22293 * gdb.base/signals.exp: Make backtrace tests more specific.
22295 2003-04-23 David Carlton <carlton@bactrian.org>
22297 * gdb.c++/maint.exp (test_first_component): Add tests for
22298 'operator' in more locations.
22300 2003-04-16 Kevin Buettner <kevinb@redhat.com>
22302 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22304 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
22306 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
22307 func marke' instead. Update test name.
22309 2003-04-15 David Carlton <carlton@math.stanford.edu>
22311 * gdb.c++/maint.exp: New file.
22313 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22315 * gdb.threads/schedlock.c: Change type of thread function argument
22316 to long, to avoid warnings on 64-bit platforms.
22318 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
22320 * gdb.base/attach.exp: Add new message from ptrace in case of
22321 attaching to nonexistent process.
22323 2003-04-11 Jim Blandy <jimb@redhat.com>
22325 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22326 gdb.c++/userdef.cc: Place comments on the lines to which the
22327 marker function might return.
22328 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22329 gdb.c++/userdef.exp: Look for those comments to check that we've
22330 returned to the right place, instead of checking line numbers.
22332 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
22334 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22335 match on sourcefile name, instead of directory name.
22337 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
22339 * gdb.base/completion.exp: Use string_to_regexp to match the
22340 working directory name.
22342 2003-04-09 Jim Blandy <jimb@redhat.com>
22344 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22345 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22346 after an inferior function call, report the failure, but allow the
22349 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22351 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22354 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22356 * gdb.base/break.exp: Revert last patch.
22358 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22360 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22363 2003-04-02 Andrew Cagney <cagney@redhat.com>
22365 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22366 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22367 matching directories by the name breakpoint.
22368 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22369 Make "continue to marker1" consistent.
22370 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22371 message consistent.
22372 * lib/gdb.exp: Put "the program is no longer running", and "the
22373 program exited" in parenthesis.
22374 * lib/mi-support.exp: Ditto.
22376 2003-04-02 Bob Rossi <bob_rossi@cox.net>
22378 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22380 2003-03-29 Andrew Cagney <cagney@redhat.com>
22382 * gdb.base/sizeof.c (main): Print the value of '\377'.
22383 * gdb.base/sizeof.exp: Check the sign of '\377'.
22385 2003-03-27 Michael Chastain <mec@shout.net>
22387 * gdb.base/gdb1090.exp: New file.
22388 * gdb.base/gdb1090.cc: New file.
22390 2003-03-27 J. Brobecker <brobecker@gnat.com>
22392 * gdb.gdb/observer.exp: New regression test.
22394 2003-03-27 Michael Chastain <mec@shout.net>
22396 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22397 * gdb.base/ptype.exp: Likewise.
22399 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
22401 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22403 2003-03-26 Michael Chastain <mec@shout.net>
22405 * gdb.base/ptype.exp: Actually use some typedef'd types.
22407 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22409 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22410 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22412 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22414 * gdb.base/default.exp: Fix regular expression.
22416 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22418 * gdb.base/args.exp: Fix regular expression.
22420 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22422 * gdb.base/help.exp: Allow Win32 child process.
22424 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22426 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22427 when stepping out of main().
22429 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22431 * gdb.base/default.exp: Check for win32 specific message when calling
22432 "run" without executable.
22434 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22436 * gdb.base/args.exp: Expect .exe in output.
22438 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
22440 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22443 2003-03-17 Andrew Cagney <cagney@redhat.com>
22445 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22447 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22448 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22450 2003-03-17 David Carlton <carlton@math.stanford.edu>
22452 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22453 test, for PR breakpoints/38.
22454 Call test_watchpoint_and_breakpoint.
22455 * gdb.base/watchpoint.c (func3): New function.
22456 (main): Call func3.
22458 2003-03-04 David Carlton <carlton@math.stanford.edu>
22460 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22461 Garply<Garply<char> >:: garply".
22462 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22463 with respect to PR c++/1111; note also PR c++/1113.
22464 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22465 respect to PR c++/1062.
22466 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22468 2003-03-03 David Carlton <carlton@math.stanford.edu>
22470 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22471 with respect to PR c++/57.
22472 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22474 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22475 respect to PR c++/57.
22477 2003-03-03 David Carlton <carlton@math.stanford.edu>
22479 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22480 respect to PR c++/33 into FAILs.
22482 2003-03-03 Michael Chastain <mec@shout.net>
22484 * configure.in: Update copyright years.
22486 2003-03-03 Michael Chastain <mec@shout.net>
22488 * Makefile.in: Update copyright years.
22490 2003-02-28 David Carlton <carlton@math.stanford.edu>
22492 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22493 print class instead of struct and/or superfluous protection
22494 specifiers, as long as the resulting output is equivalent to the
22496 Delete FIXME from end of messages on tests that don't need
22499 2003-02-28 David Carlton <carlton@math.stanford.edu>
22501 * gdb.c++/templates.exp (do_tests): Allow const in the two
22502 Foo<volatile char *>::foo tests.
22504 2003-02-27 Michael Snyder <msnyder@redhat.com>
22506 * gdb.base/restore.c (main): Return zero, so exit code
22507 will be consistant.
22509 2003-02-26 David Carlton <carlton@math.stanford.edu>
22511 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22512 char *>::foo" test with respect to PR c++/33. Create a new test
22513 which is identical to that one except that it doesn't put the
22514 space between the "char" and the "*"; KFAIL it, too.
22516 2003-02-26 David Carlton <carlton@math.stanford.edu>
22518 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22519 template types into either PASSes or KFAILs (corresponding to PR
22520 c++/57). Tweak indentation. Update copyright.
22522 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22524 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22526 2003-02-13 Michael Chastain <mec@shout.net>
22528 * gdb.base/exprs.exp: Remove i960 remnants.
22529 * gdb.base/funcargs.exp: Likewise.
22530 * gdb.base/list.exp: Likewise.
22531 * gdb.base/ptype.exp: Likewise.
22533 2003-02-14 David Carlton <carlton@math.stanford.edu>
22535 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22536 pEe->D::vg()" from XFAIL to KFAIL.
22538 2003-02-13 Jason Molenda (jmolenda@apple.com)
22540 * gdb.base/maint.exp: Update maint print statistics regexp to include
22543 2003-02-13 Michael Chastain <mec@shout.net>
22545 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22547 2003-02-12 Michael Chastain <mec@shout.net>
22549 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22550 * gdb.c++/inherit.exp: Likewise.
22551 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22552 * gdb.c++/templates.exp: Likewise.
22553 * gdb.c++/virtfunc.exp: Likewise.
22555 2003-02-06 Jason Molenda (jason-cl@molenda.com)
22557 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22558 why the code is written that way.
22560 2003-02-05 Michael Chastain <mec@shout.net>
22562 * gdb.base/dump.exp: Add missing copyright line.
22564 2003-02-05 Jason Molenda (jason-cl@molenda.com)
22566 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
22567 at the beginning so the breakpoint doesn't get set on the loop.
22569 2003-02-05 Michael Chastain <mec@shout.net>
22571 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22572 output for configurations with gcc 2.95.3.
22574 2003-02-05 Keith Seitz <keiths@redhat.com>
22575 Andrew Cagney <ac131313@redhat.com>
22577 * gdb.mi/mi-cli.exp: New file.
22579 2003-02-04 Michael Chastain <mec@shout.net>
22581 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22582 Call perror and then continue.
22584 2003-02-03 Michael Chastain <mec@shout.net>
22586 * gdb.c++/pr-1023.cc: New file.
22587 * gdb.c++/pr-1023.exp: New file.
22589 2003-02-05 Jim Blandy <jimb@redhat.com>
22591 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22592 it's local to foobar. Check for it there, and check that it's not
22594 * gdb.c++/local.cc (marker2): New function.
22595 (foobar): Call marker1.
22596 (main): Call marker2 instead of marker1.
22598 2003-02-04 Andrew Cagney <ac131313@redhat.com>
22600 * gdb.disasm/mn10200.exp: Obsolete file.
22601 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22602 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22603 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22605 2003-02-04 David Carlton <carlton@math.stanford.edu>
22607 * gdb.c++/overload.exp: Test intToChar(1).
22608 * gdb.c++/overload.cc (intToChar): New.
22609 (main): Call intToChar.
22611 2003-02-03 David Carlton <carlton@math.stanford.edu>
22613 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22615 KFAIL some of the continue_to_bp_overloaded calls, according to
22618 2003-02-01 Michael Chastain <mec@shout.net>
22620 * gdb.base/advance.c (marker1): New marker function.
22621 * gdb.base/advance.exp: When the 'advance' command lands on the
22622 return breakpoint, it can legitimately stop on either the
22623 current line or the next line. Accommodate both outcomes.
22624 * gdb.base/until.exp: Likewise.
22626 2003-02-02 Andrew Cagney <ac131313@redhat.com>
22628 2002-11-10 Jason Molenda (jason-cl@molenda.com):
22629 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22630 now a list, not a tuple.
22631 * gdb.mi/mi-var-display.exp: Ditto.
22632 * gdb.mi/gdb792.exp: Ditto.
22634 2003-02-01 Andrew Cagney <ac131313@redhat.com>
22636 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
22637 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22639 * gdb.mi/mi-syn-frame.c: Part of same.
22641 2003-02-01 Mark Kettenis <kettenis@gnu.org>
22643 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22644 gdb.mi/mi1-pthreads.exp: Return instead of calling
22645 gdb_suppress_entire_file.
22647 2003-02-01 Mark Salter <msalter@redhat.com>
22649 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22651 2003-01-31 Mark Salter <msalter@redhat.com>
22653 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22656 2003-01-30 Michael Chastain <mec@shout.net>
22658 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22659 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22660 has been fixed in gdb/readline on 2003-01-09.
22662 2003-01-29 Michael Snyder <msnyder@redhat.com>
22664 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22665 * gdb.base/display.exp: Allow for leading underscore in symbol.
22666 * gdb.base/args.exp: Skip if target does not support args passing.
22668 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
22670 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
22671 gdb_test. Accept a list of expect arguments as the third
22673 (gdb_test): Use it.
22675 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
22677 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22678 allow for different test tree configurations. Update some
22679 tescases accordingly.
22680 * gdb.arch/altivec-regs.exp: Ditto.
22681 * gdb.asm/asm-source.exp: Ditto.
22682 * gdb.base/advance.exp: Ditto.
22683 * gdb.base/display.exp: Ditto.
22684 * gdb.base/long_long.exp: Ditto.
22685 * gdb.base/mips_pro.exp: Ditto.
22686 * gdb.base/overlays.exp: Ditto.
22687 * gdb.base/relocate.exp: Ditto.
22688 * gdb.base/setshow.exp: Ditto.
22689 * gdb.base/step-line.exp: Ditto.
22690 * gdb.base/step-test.exp: Ditto.
22691 * gdb.base/until.exp: Ditto.
22692 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22694 2003-01-17 David Carlton <carlton@math.stanford.edu>
22696 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22697 corresponding to PR c++/945.
22700 2003-01-17 David Carlton <carlton@math.stanford.edu>
22702 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22703 corresponding to PR c++/68.
22705 2003-01-17 David Carlton <carlton@math.stanford.edu>
22707 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22708 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22709 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22711 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22713 * gdb.base/break.exp: Fix change of default location, because of
22714 removal of until tests.
22715 * gdb.base/help.exp: Update test for new 'until' help message.
22716 Add test for help on 'advance'.
22717 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
22719 2003-01-15 Mark Kettenis <kettenis@gnu.org>
22721 * gdb.base/default.exp: Adapt "info float" test for recent changes
22722 to that command. Add test for "info vector".
22723 * gdb.base/float.exp: New file. Add test for "info float" that
22724 resembles the old test in gdb.base/default.exp.
22726 2003-01-15 David Carlton <carlton@math.stanford.edu>
22728 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22730 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
22732 * gdb.base/break.exp: Move the tests of until command from here...
22733 * gdb.base/until.exp: ... to here. New file. Add other tests.
22734 * gdb.base/advance.c: New file.
22735 * gdb.base/advance.exp: New file.
22737 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
22739 * gdb.base/args.c: New file.
22740 * gdb.base/args.exp: New file.
22742 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22744 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22746 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22748 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22750 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
22752 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22755 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22757 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22759 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22761 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22763 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22765 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22767 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22768 * gdb.mi/mi1-console.exp: Likewise.
22770 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22772 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22773 * gdb.mi/mi1-console.exp: Likewise.
22775 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
22777 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22779 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22781 * gdb.base/detach.exp: New test.
22783 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
22785 * Makefile.in (ALL_SUBDIRS): New variable.
22786 (subdirs, clean, distclean): Use it.
22787 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22788 regenerating Makefile, since it is generated from the top level.
22789 * gdb.asm/Makefile.in: Likewise.
22790 * gdb.base/Makefile.in: Likewise.
22791 * gdb.c++/Makefile.in: Likewise.
22792 * gdb.disasm/Makefile.in: Likewise.
22793 * gdb.java/Makefile.in: Likewise.
22794 * gdb.mi/Makefile.in: Likewise.
22795 * gdb.threads/Makefile.in: Likewise.
22796 * gdb.trace/Makefile.in: Likewise.
22798 2003-01-09 David Carlton <carlton@math.stanford.edu>
22800 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22801 Add copyright year 2003.
22803 2003-01-06 Michael Chastain <mec@shout.net>
22805 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22806 When selecting a thread, 'line' and 'file' are optional.
22807 * gdb.mi/mi1-pthreads.exp: Likewise.
22809 2003-01-06 Andreas Schwab <schwab@suse.de>
22811 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22814 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22817 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22818 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22820 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22821 instead of calling gdb_suppress_entire_file.
22822 * gdb.threads/print-threads.exp: Likewise.
22823 * gdb.threads/schedlock.exp: Likewise.
22825 * gdb.threads/killed.exp: Return instead of calling
22826 gdb_suppress_entire_file.
22827 * gdb.threads/linux-dp.exp: Likewise.
22828 * gdb.threads/pthreads.exp: Likewise.
22830 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22832 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22834 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22835 * gdb.base/whatis.exp: Always allow (void) after function names.
22837 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
22839 * gdb.c++/casts.exp: Correct regexp.
22841 2003-01-04 Mark Kettenis <kettenis@gnu.org>
22843 * configure.in: Call AC_CONFIG_HEADER. Don't call
22844 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22845 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22846 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22847 aforementioned directories in the AC_OUPUT call.
22848 * config.hin: New file.
22849 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22850 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22851 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22852 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22853 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22854 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22855 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22856 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22857 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22858 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22859 gdb.threads/configure.in, gdb.threads/configure,
22860 gdb.threads/config.in, gdb.trace/configure.in,
22861 gdb.trace/configure: Removed.
22863 2003-01-03 Michael Chastain <mec@shout.net>
22865 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22866 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22868 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
22870 * gdb.base/store.exp: Fix regular expressions.
22872 2002-12-28 Mark Kettenis <kettenis@gnu.org>
22874 * configure.in: Rewrite.
22875 * configure: Regenerated.
22877 2003-01-03 David Carlton <carlton@math.stanford.edu>
22879 * gdb.base/psymtab.exp: New file.
22880 * gdb.base/psymtab1.c: Ditto.
22881 * gdb.base/psymtab2.c: Ditto.
22883 2002-12-23 Adam Fedor <fedor@gnu.org>
22885 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22887 2002-12-23 David Carlton <carlton@math.stanford.edu>
22889 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22890 and current_directory initialization.
22892 2002-12-22 Jim Blandy <jimb@redhat.com>
22894 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22895 rather than as part of the output file name.
22897 * gdb.base/attach.exp: There's no need to copy the test program to
22898 /tmp; that was only ever necessary on HP/UX, and this test is
22899 entirely disabled there anyway.
22901 2002-12-21 Jim Blandy <jimb@redhat.com>
22903 * gdb.c++/psmang.exp: Doc fix.
22905 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22908 2002-12-20 David Carlton <carlton@math.stanford.edu>
22910 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22912 2002-12-18 Michael Chastain <mec@shout.net>
22914 * gdb.c++/annota2.exp: Add copyright year 2002.
22916 2002-12-17 David Carlton <carlton@math.stanford.edu>
22918 * gdb.c++/try_catch.cc: Add marker comments.
22919 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22920 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22921 * gdb.c++/m-static.cc: Ditto.
22922 * gdb.c++/m-static1.cc: Ditto.
22923 * gdb.c++/try_catch.cc: Ditto.
22925 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22927 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22928 to see whether we are using the new -environment-directory
22929 command which resets via -r or the old version of the command
22930 which may prompt the user. Part of fix for gdb/741.
22932 2002-12-13 Andrew Cagney <ac131313@redhat.com>
22934 * gdb.fortran/types.exp: Update obsolete comment.
22935 * gdb.fortran/exprs.exp: Ditto.
22936 * lib/gdb.exp: Delete obsolete code.
22937 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22938 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22939 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22940 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22941 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22942 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22943 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22944 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22945 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22946 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22947 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22948 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22949 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22950 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22951 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22952 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22953 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22954 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22955 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22956 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22957 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22958 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22959 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22960 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22961 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22962 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22963 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22964 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22965 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22966 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22967 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22968 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22969 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22970 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22971 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22972 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22973 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22975 2002-12-11 David Carlton <carlton@math.stanford.edu>
22977 * gdb.c++/m-data.exp: Add test for members that shadow global
22978 variables: see PR gdb/804.
22979 * gdb.c++/m-data.cc: Ditto.
22981 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
22983 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22985 2002-12-06 David Carlton <carlton@math.stanford.edu>
22987 * gdb.base/store.c: Don't declare functions static.
22989 2002-12-04 Andrew Cagney <ac131313@redhat.com>
22991 * gdb.base/store.exp, gdb.base/store.c: New files.
22993 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22995 * gdb.base/selftest.exp: Update for current gdb.
22997 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
22999 * gdb.base/maint.exp: Only dump symbols from one source file
23002 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
23004 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
23007 2002-11-25 Jim Blandy <jimb@redhat.com>
23009 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
23010 function appearing in error message.
23012 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
23014 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
23016 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
23018 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
23019 for mi1 and current mi is in correct format. New mi startup message
23020 should be in mi console format. This is part of fix for PR gdb/604.
23022 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23024 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
23025 which explicitly prints the zero offset as "+0".
23027 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
23029 * gdb.threads/schedlock.c (args): Make unsigned.
23031 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
23033 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
23034 numbers. Allow "foo2|selected stack frame".
23035 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
23036 * gdb.asm/asmsrc2.s: Likewise.
23037 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23039 * gdb.asm/mips.inc: New file.
23041 2002-10-18 Adam Fedor <fedor@gnu.org>
23043 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23044 * gdb.base/help.exp: Likewise.
23046 2002-10-17 Kevin Buettner <kevinb@redhat.com>
23048 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23049 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23051 2002-10-02 Jim Blandy <jimb@redhat.com>
23053 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23055 2002-10-01 Andrew Cagney <ac131313@redhat.com>
23057 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23058 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23059 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23060 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23061 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23062 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23063 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23065 2002-09-29 Andrew Cagney <ac131313@redhat.com>
23067 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23068 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23069 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23070 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23071 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23072 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23073 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
23075 2002-09-27 Kevin Buettner <kevinb@redhat.com>
23077 * gdb.base/annota1.exp (info break): Make directory components of
23078 path optional since not all compilers emit this debug information.
23080 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23081 step ends up stepping out of the function instead of stopping on
23084 2002-09-26 Keith Seitz <keiths@redhat.com>
23086 * lib/insight-support.exp (gdbtk_start): Figure out where
23087 the insight executable is based on where gdb is. Use this
23088 executable to start insight instead of gdb.
23090 2002-09-25 Andrew Cagney <cagney@redhat.com>
23092 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23094 2002-09-24 Andrew Cagney <ac131313@redhat.com>
23096 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23097 test_isolated_complaints.
23098 (test_empty_complaint): New function.
23099 (test_empty_complaints): New function. Check no output when no
23102 2002-09-19 Jim Blandy <jimb@redhat.com>
23104 * gdb.base/charset.exp, gdb.base/charset.c: New files.
23106 2002-09-19 Andrew Cagney <ac131313@redhat.com>
23108 * gdb.gdb/complaints.exp: New file.
23110 2002-09-18 Andrew Cagney <ac131313@redhat.com>
23112 * gdb.base/maint.exp: Check `help maint internal-warning'.
23114 2002-09-18 David Carlton <carlton@math.stanford.edu>
23116 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23117 numbers, and replace them by a single breakpoint after the
23118 constructors are all finished.
23120 * gdb.c++/m-static.cc: Add test 4.
23121 * gdb.c++/m-static.h: New file.
23122 * gdb.c++/m-static1.cc: New file.
23124 * gdb.c++/printmethod.exp: New file.
23125 * gdb.c++/printmethod.cc: New file.
23127 * gdb.c++/pr-574.exp: New file.
23128 * gdb.c++/pr-574.cc: New file.
23130 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23132 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23133 embedded targets which never actually exit.
23135 2002-09-18 Fernando Nasser <fnasser@redhat.com>
23137 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23138 "don't step after run" as unresolved or unsupported, instead of xfail.
23140 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23142 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23143 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23144 Add newline to expected string in "step out of main (status wrapper)"
23147 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
23149 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23150 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23152 2002-09-17 Tom Tromey <tromey@redhat.com>
23154 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23155 \000, not \0, in double-quoted string.
23157 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
23159 * gdb.base/commands.exp: Don't expect a "Program exited normally"
23160 string after running the commands execution on breakpoint tests.
23162 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
23164 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23166 2002-09-12 Joel Brobecker <brobecker@gnat.com>
23168 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23170 2002-09-10 Keith Seitz <keiths@redhat.com>
23172 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23174 (mi_run_to_main): Use mi_runto.
23175 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23177 2002-09-10 Keith Seitz <keiths@redhat.com>
23179 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23180 regexp for stopping at main. Could have multiple event notifications.
23181 Don't assume that main was declared with no parameters.
23182 (mi_next): Use mi_step_to.
23183 (mi_step): Use mi_next_to.
23185 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
23187 * gdb.base/default.exp: Fix expected string in `info float' test.
23189 2002-09-09 Ben Elliston <bje@redhat.com>
23191 * config/mips.exp: Update comments.
23192 * config/mips-idt.exp: Likewise.
23193 * config/nind.exp: Likewise.
23194 * config/slite.exp: Likewise.
23195 * config/sparclet.exp: Likewise.
23196 * config/udi.exp: Likewise.
23197 * config/vx.exp: Likewise.
23198 * config/vxworks29k.exp: Likewise.
23200 2002-09-05 Jim Blandy <jimb@redhat.com>
23202 * gdb.threads/killed.exp: Fix test failure message.
23204 2002-09-04 Keith Seitz <keiths@redhat.com>
23206 * lib/mi-support.exp: Update copyright.
23207 (mi_gdb_test): Increase the priority of the expected pattern
23208 so that it matches gdb_test.
23210 2002-09-03 Keith Seitz <keiths@redhat.com>
23212 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23213 Use integer comparison instead of string comparison for testing
23214 whether binary was built.
23216 2002-09-03 Jim Blandy <jimb@redhat.com>
23218 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23220 2002-08-29 Jim Blandy <jimb@redhat.com>
23222 * gdb.threads/pthreads.exp: Move the portable thread compilation
23223 code into a function in lib/gdb.exp, and call that from here.
23224 * lib/gdb.exp (gdb_compile_pthreads): New function.
23226 2002-08-29 Keith Seitz <keiths@redhat.com>
23228 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23229 expect_out so that callers can get at it.
23231 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
23233 * gdb.threads/print-threads.c: New file.
23234 * gdb.threads/print-threads.exp: New file.
23235 * gdb.threads/schedlock.c: New file.
23236 * gdb.threads/schedlock.exp: New file.
23238 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
23240 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23243 2002-08-17 Mark Kettenis <kettenis@gnu.org>
23245 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23246 targets. The problem should be fixed now.
23248 2002-08-15 Mark Kettenis <kettenis@gnu.org>
23250 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23251 2002-07-24 change that removes final dots from error messages.
23253 2002-08-13 Tom Tromey <tromey@redhat.com>
23255 * gdb.base/readline.exp: New file.
23257 2002-08-01 Andrew Cagney <ac131313@redhat.com>
23259 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23262 2002-08-01 Andrew Cagney <cagney@redhat.com>
23264 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23265 CHILL_FOR_TARGET and CHILL_LIB.
23266 * configure.in (configdirs): Remove gdb.chill.
23267 * configure: Regenerate.
23268 * lib/gdb.exp: Obsolete references to chill.
23269 * gdb.fortran/types.exp: Ditto.
23270 * gdb.fortran/exprs.exp: Ditto.
23272 2002-07-30 Kevin Buettner <kevinb@redhat.com>
23274 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23275 set Irix-specific compile and link flags.
23277 2002-07-29 Kevin Buettner <kevinb@redhat.com>
23279 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23280 source files. The ``-o'' option doesn't work with the ``-E'' option
23281 when using the Irix compiler.
23283 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
23285 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23286 Improve support for reusing an exec file. Copy exec file
23287 to target, and run gdbserver on the target instead of on the host.
23289 2002-07-18 Jim Blandy <jimb@redhat.com>
23291 * gdb.base/ending-run.exp: Don't expect to see the program end in
23292 some orderly fashion when we're running on a real stand-alone
23295 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23296 targets that don't support interrupts.
23298 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23300 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23302 Move comments in expect statements to inside the actions, so that they
23303 don't get matched against.
23305 2002-07-10 Mark Kettenis <kettenis@gnu.org>
23307 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23308 function when asleep" test.
23310 2002-07-10 Andrew Cagney <ac131313@redhat.com>
23312 * gdb.base/page.exp: Rewrite to handle problems with very long
23313 `info set' output. Update copyright.
23315 2002-06-26 Andrew Cagney <ac131313@redhat.com>
23317 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23319 * gdb.hp/configure: Regenerate.
23320 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23321 * gdb.hp/gdb.threads-hp/configure: Delete file.
23322 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23324 2002-06-22 Andrew Cagney <ac131313@redhat.com>
23326 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23327 setlocale, bindtextdomain and textdomain.
23329 2002-06-11 Jim Blandy <jimb@redhat.com>
23331 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23332 preprocessor macro information is present.
23334 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23337 2002-06-06 Michael Snyder <msnyder@redhat.com>
23339 * gdb.base/overlays.exp: Record addresses of overlay
23340 functions in TCL variables rather than in GDB variables,
23341 to avoid having GDB convert them to pointers (with loss
23344 * gdb.base/d10v.ld: Merge in several years worth of
23345 default linker script changes.
23346 * gdb.base/long_long.exp: Add check for sizeof (long double).
23348 2002-06-06 Michal Ludvig <mludvig@suse.cz>
23350 * gdb.asm/asm-source.exp: Add x86-64 target.
23351 * gdb.asm/x86_64.inc: New.
23353 2002-05-30 Michael Chastain <mec@shout.net>
23355 From Benjamin Kosnik <bkoz@redhat.com>:
23356 * gdb.c++/m-static.cc: New file.
23357 * gdb.c++/m-static.exp: New file.
23359 2002-05-28 Michael Snyder <msnyder@redhat.com>
23361 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23364 2002-05-27 Michael Chastain <mec@shout.net>
23366 From Benjamin Kosnik <bkoz@redhat.com>:
23367 * gdb.c++/m-data.cc: New file.
23368 * gdb.c++/m-data.exp: New file.
23370 2002-05-27 Michael Chastain <mec@shout.net>
23372 From Benjamin Kosnik <bkoz@redhat.com>:
23373 * gdb.c++/try_catch.cc: New file.
23374 * gdb.c++/try_catch.exp: New file.
23376 2002-05-27 Michael Chastain <mec@shout.net>
23378 * gdb.c++/local.exp: Accept more nested types in output.
23380 2002-05-26 Michael Chastain <mec@shout.net>
23382 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23384 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23386 * lib/gdb.exp (gdb_wrapper_init): Just because
23387 gdb_wrapper_file exists, this does not mean that the file
23388 should not be rebuilt. That is what gdb_wrapper_initialized
23390 (default_gdb_init): Reset gdb_wrapper_initialized.
23392 2002-05-23 Michael Snyder <msnyder@redhat.com>
23394 * gdb.base/all-bin.exp: Revise previous patch by just reducing
23395 the precision of the floating point test results.
23396 * gdb.base/call-rt-st.exp: Ditto.
23398 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23399 * gdb.base/call-rt-st.exp: Ditto.
23401 2002-05-19 Michael Chastain <mec@shout.net>
23403 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23405 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
23407 * configure.in (configdirs): Add gdb.arch.
23408 * configure: Regenerate.
23410 2002-05-17 Jim Blandy <jimb@redhat.com>
23412 * gdb.base/completion.exp: Recognize the more detailed error
23413 messages produced by the macro expander's lexical analyzer.
23415 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23417 * gdb.arch/altivec-abi.c: New file.
23418 * gdb.arch/altivec-abi.exp: New file.
23419 * gdb.arch/altivec-regs.c: New file.
23420 * gdb.arch/altivec-regs.exp: New file.
23422 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
23424 * gdb.base/maint.exp (maint print type): Update for new type
23427 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
23429 * gdb.arch: New directory.
23430 * gdb.arch/configure.in: New file.
23431 * gdb.arch/configure: New file.
23432 * gdb.arch/Makefile.in: New file.
23434 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
23436 * gdb.asm/asm-source.exp: Add v850 as supported target.
23437 * gdb.asm/v850.inc: New file.
23439 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
23441 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23443 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
23445 * gdb.base/break.exp: Check 'break "marker2"'.
23447 2002-05-10 Michael Snyder <msnyder@redhat.com>
23449 * gdb.base/long_long.exp: Fix typo.
23451 2002-05-10 Jim Blandy <jimb@redhat.com>
23453 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23456 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23457 Recognize more detailed error message produced by the macro
23458 expander's lexical analyzer.
23459 * lib/gdb.exp (test_print_reject): Same.
23461 2002-05-09 Mark Kettenis <kettenis@gnu.org>
23463 * gdb.c++/method.exp: Fix typo.
23465 2002-05-08 Michael Snyder <msnyder@redhat.com>
23467 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23468 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
23469 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
23470 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23471 Add iftarget clause for strongarm.
23473 2002-05-06 Michael Snyder <msnyder@redhat.com>
23475 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23476 (gdb_continue_to_end): Accept output from status wrapper.
23477 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23478 Clean up fail messages to match pass messages.
23480 Enable the "needs_status_wrapper" testsuite feature.
23481 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23482 (gdb_compile): Conditionally call gdb_wrapper_init.
23483 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23484 * gdb.c++/method.exp: Recognize output from status wrapper.
23486 2002-05-06 Ben Elliston <bje@redhat.com>
23487 From Graydon Hoare <graydon@redhat.com>
23489 * config/sid.exp: Include support for "rawsid" protocol.
23491 2002-05-03 Jim Blandy <jimb@redhat.com>
23493 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23494 * gdb.c++/hang3.C: New file.
23496 2002-05-04 Andrew Cagney <ac131313@redhat.com>
23498 * gdb.base/default.exp: Remove obsolete code.
23499 * gdb.c++/misc.exp: Ditto. Update copyright.
23500 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23501 * gdb.base/whatis.exp: Ditto. Update copyright.
23502 * gdb.base/scope.exp: Ditto. Update copyright.
23503 * gdb.base/ptype.exp: Ditto. Update copyright.
23504 * gdb.base/printcmds.exp: Ditto. Update copyright.
23505 * gdb.base/opaque.exp: Ditto. Update copyright.
23506 * gdb.base/list.exp: Ditto.
23507 * gdb.base/funcargs.exp: Ditto. Update copyright.
23508 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23509 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23510 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23511 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23512 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23513 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23515 2002-05-02 Michael Snyder <msnyder@redhat.com>
23517 * gdb.base/watchpoint.exp: Add xscale target.
23518 * gdb.base/long_long.exp: Add xscale target.
23519 * gdb.base/default.exp: Add xscale target.
23521 2002-05-01 Jim Blandy <jimb@redhat.com>
23523 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23524 gdb.c++/hang.exp: New test.
23526 2002-05-01 Fred Fish <fnf@redhat.com>
23528 * gdb.base/completion.exp: Handle completions of "./Make" for
23529 more than one completion possibility, as is the case when we
23530 build and test in the source tree.
23532 2002-04-29 Anthony Green <green@redhat.com>
23534 * gdb.java/jmisc1.exp: New file.
23535 * gdb.java/jmisc2.exp: New file.
23537 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
23539 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23541 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
23543 * gdb.base/help.exp: Change 'help status' to allow for target
23544 dependent output differences.
23546 2002-04-22 Michael Chastain <mec@shout.net>
23548 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23550 2002-04-22 Michael Chastain <mec@shout.net>
23552 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23554 2002-04-17 David S. Miller <davem@redhat.com>
23556 * gdb.asm/sparc64.inc: New file.
23557 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23559 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
23561 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23562 instruction file directly into the build tree. Clean up at end of
23565 2002-04-18 David S. Miller <davem@redhat.com>
23567 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23568 handle 64-bit platforms correctly.
23569 * gdb.base/maint.exp: Likewise.
23571 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23573 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23574 ``-fpic'' when compiling files comprising a shared library, but
23575 it does need additional linker flags in order to find shared
23576 libraries at run time.
23578 2002-04-18 Kevin Buettner <kevinb@redhat.com>
23580 * gdb.base/cvexpr.c (use): New function.
23581 (main): Invoke use() on all global variables to prevent
23582 some linkers from deleting these otherwise unused symbols.
23584 2002-04-17 Michael Chastain <mec@shout.net>
23585 From David S. Miller <davem@redhat.com>
23587 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23588 handle 64-bit platforms correctly.
23590 2002-04-12 Michael Snyder <msnyder@redhat.com>
23591 From Jim Blandy <jimb@redhat.com>
23592 * gdb.base/foo.c (foox): Remove section attribute; the linker
23593 script can handle this instead.
23594 * gdb.base/bar.c (barx): Same.
23595 * gdb.base/baz.c (bazx): Same.
23596 * gdb.base/grbx.c (grbxx): Same.
23598 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23599 manager doesn't automatically unmap overlays unnecessarily.
23601 2002-04-10 Martin M. Hunt <hunt@redhat.com>
23603 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23604 stepping out of main.
23606 2002-04-09 Michael Chastain <mec@shout.net>
23608 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23609 scope so that the nested scope tests will make sense.
23610 * gdb.c++/local.exp: Write patterns that actually work with gcc
23611 (the HP patterns "were never known to work with gcc").
23612 Keep the old aCC patterns too.
23614 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
23616 * gdb.base/attach.exp: Correct target board test.
23618 2002-04-08 Michael Chastain <mec@shout.net>
23620 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23621 in a const method. Add some xfail and fail cases for configurations
23622 that do not emit the "const ...".
23624 2002-04-07 Michael Chastain <mec@shout.net>
23626 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23627 Accept "A * const" and "const A * const" as type of "this".
23628 Fix spelling of getFunky throughout. Make messages uniform.
23630 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23632 Work around for PR gdb/285:
23633 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23635 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
23637 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23638 instructions file at run time instead of configure time.
23639 Sometimes we run the test in a directory that is not the one we
23641 * gdb.asm/configure.in: Delete creation of symlink.
23642 * gdb.asm/configure: Regenerate.
23644 2002-04-05 J. Brobecker <brobecker@gnat.com>
23646 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23647 xfullpath () function.
23649 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23651 * gdb.asm/Makefile.in: Correct dependencies.
23653 * gdb.asm/powerpc.inc: New file.
23654 * gdb.asm/asm-source.exp: Add PowerPC.
23655 * gdb.asm/configure.in: Likewise.
23656 * gdb.asm/configure: Regenerated.
23658 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
23660 * gdb.base/relocate.exp: New file.
23661 * gdb.base/relocate.c: New file.
23663 2002-04-04 Fred Fish <fnf@redhat.com>
23665 * gdb.base/step-test.exp: Update comment regarding stopping in
23666 memcpy/bcopy calls inserted as part of the compiler runtime.
23668 2002-04-04 Michael Snyder <msnyder@redhat.com>
23670 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23672 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
23674 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23675 (gdb_expect): Remove $notransfer hack.
23677 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
23679 * gdb.c++/classes.exp ("calling method for small class"): Match
23680 updated register output.
23682 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23685 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23686 when finished. Make gdb_file_cmd send "exec-file" when
23689 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
23691 * gdb.base/attach.exp: Remove extra setup_xfail.
23693 2002-03-26 Michael Snyder <msnyder@redhat.com>
23695 * gdb.base/default.exp: Add tests for dump, append, and restore.
23696 * gdb.base/help.exp: Add tests for dump, append, and restore.
23697 * gdb.base/dump.exp: New file, test dump, append and restore.
23698 * gdb.base/dump.c: New file.
23700 2002-03-27 Michael Snyder <msnyder@redhat.com>
23702 * gdb.base/help.exp: Modify expect strings to reflect
23703 clean-ups in help messages.
23705 2002-03-26 Fred Fish <fnf@redhat.com>
23707 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23708 have debugging info for those functions and the compiler uses them
23709 internally to copy structs around.
23711 2002-03-26 Fred Fish <fnf@redhat.com>
23713 * gdb.base/list.exp: Revert the change made yesterday and add note
23714 about why we don't list the default lines for remote targets.
23716 2002-03-25 Michael Snyder <msnyder@redhat.com>
23718 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23720 2002-03-25 Fred Fish <fnf@redhat.com>
23722 * gdb.base/list.exp: This test works on remote targets so remove
23723 the short circuit for remote targets. Update copyright.
23725 2002-03-25 Fred Fish <fnf@redhat.com>
23727 * gdb.base/attach.exp: Fix logic error that was suppressing this
23728 test for all non hppa*-*-hpux* targets, instead of the hp target.
23729 Move comments closer to the suppression point. Also now need to
23730 check that we are running natively.
23732 2002-03-22 Michael Snyder <msnyder@redhat.com>
23734 * gdb.base/default.exp: Add test for gcore. Update copyright.
23735 * gdb.base/help.exp: Add test for gcore. Update copyright.
23737 2002-03-06 Fred Fish <fnf@redhat.com>
23739 * gdb.base/funcargs.c: Remove extraneous ';' character.
23740 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23742 2002-03-04 Michael Chastain <mec@shout.net>
23744 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23745 accommodate gcc v3 function signature.
23746 * gdb.mi/mi0-var-cmd-exp: Ditto.
23748 2002-02-24 Andrew Cagney <ac131313@redhat.com>
23750 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23751 ``GNU/Linux'' or ``Linux kernel''
23752 * testsuite/gdb.threads/pthreads.c: Ditto.
23754 2002-02-24 Michael Chastain <mec@shout.net>
23756 * gdb.threads/pthreads.c (thread1): Add a return statement.
23757 (thread2): Likewise.
23760 2002-02-23 Michael Chastain <mec@shout.net>
23762 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23765 2002-02-23 Michael Chastain <mec@shout.net>
23767 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23768 test "ptype bint". The test passes on all my stabs configurations.
23770 2002-02-21 Jim Blandy <jimb@redhat.com>
23772 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23773 filename at a time, and watch for the ones we want to see.
23775 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23776 types of pointers to prototyped functions.
23778 2002-02-20 Andrew Cagney <ac131313@redhat.com>
23780 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23781 signed, unsigned and straight char.
23782 (padding_char, padding_short, padding_int, padding_long,
23783 padding_long_long, padding_float, padding_double,
23784 padding_long_double): New global variables.
23785 (fill, fill_structs): New functions.
23787 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23788 for correctly sized writes. Update copyright.
23789 (get_valueof): New procedure.
23790 (get_sizeof): Call get_valueof.
23791 (check_valueof): New procedure.
23792 (check_padding): New procedure.
23794 2002-02-20 Michael Chastain <mec@shout.net>
23796 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23797 to setup_xfail. Document some of the remaining calls.
23799 2002-02-18 Michael Chastain <mec@shout.net>
23801 * gdb.c++/userdef.exp: Update copyright year.
23803 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
23805 * gdb.c++/userdef.exp: Test overloaded operators properly.
23808 2002-02-14 Michael Snyder <msnyder@redhat.com>
23810 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23812 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
23814 * gdb.base/a2-run.exp: Check for a remote target properly.
23815 * gdb.base/annota1.exp: Likewise.
23816 * gdb.base/list.exp: Likewise.
23817 * gdb.base/reread.exp: Likewise.
23818 * gdb.base/scope.exp: Likewise.
23819 * gdb.base/shlib-call.exp: Likewise.
23820 * gdb.base/term.exp: Likewise.
23821 * gdb.c++/annota2.exp: Likewise.
23823 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
23825 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23827 2002-02-10 Michael Chastain <mec@shout.net>
23829 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23830 (call_after_alloca): Ditto.
23832 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
23834 * gdb.base/ending-run.exp: Guard "cont" test with
23835 gdb_skip_stdio_test.
23837 2002-02-06 Jim Blandy <jimb@redhat.com>
23839 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23841 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23842 To here. Disable this test on non-HP platforms. Add big comment.
23844 2002-02-04 Michael Snyder <msnyder@redhat.com>
23846 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23847 other than d10v and m32r.
23849 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
23851 * gdb.base/default.exp: Rewrite test patterns to reduce time
23852 taken to match them.
23854 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23856 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23857 Allow a start function above main.
23858 * gdb.threads/linux-dp.exp: Fix copyright date.
23860 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23862 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23863 (check_philosopher_stack): Check for manager thread before checking
23864 for a just-starting thread.
23866 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
23868 From Neil Booth <neil@daikokuya.demon.co.uk>:
23869 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23872 2002-01-21 Fred Fish <fnf@redhat.com>
23874 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23877 2002-01-21 Jim Blandy <jimb@redhat.com>
23879 * gdb.base/reread.exp: Check that GDB properly re-reads the
23880 executable file when it changes while no inferior is running.
23882 2002-01-21 Fred Fish <fnf@redhat.com>
23884 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23885 optionally accept the "shlib events" variation.
23887 2002-01-21 Jim Blandy <jimb@redhat.com>
23889 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23890 call `fflush' after every `printf', so that the output is produced
23891 at predictable points, regardless of whatever buffering does (or
23892 doesn't) take place.
23893 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23894 at different points.
23896 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23898 * gdb.c++/inherit.exp: Update copyright years.
23899 * gdb.c++/method.exp: Likewise.
23901 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
23903 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23904 artificial methods/arguments.
23905 * gdb.c++/derivation.exp: Likewise.
23906 * gdb.c++/inherit.exp: Likewise.
23907 * gdb.c++/method.exp: Likewise.
23908 * gdb.c++/virtfunc.exp: Likewise.
23910 2002-01-18 Andrew Cagney <ac131313@redhat.com>
23912 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23913 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23914 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23915 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23916 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23917 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23919 2002-01-17 Jim Blandy <jimb@redhat.com>
23921 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23922 anchoring the pattern matching the entry point symbol's name.
23924 2002-01-17 Andrew Cagney <ac131313@redhat.com>
23926 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23927 continue/quit query. Update copyright.
23929 2002-01-14 Michael Snyder <msnyder@redhat.com>
23931 * gdb.base/gcore.exp: Remove extra debugging output.
23933 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23935 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23936 for slightly dubious v2 mangled string.
23938 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
23940 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23942 2002-01-10 Jason Merrill <jason@redhat.com>
23944 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
23946 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23948 * gdb.c++/derivation.exp: Likewise.
23949 * gdb.c++/templates.exp: Likewise.
23950 * gdb.c++/virtfunc.exp: Likewise.
23952 2002-01-10 Michael Snyder <msnyder@redhat.com>
23954 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
23956 2002-01-08 Michael Snyder <msnyder@redhat.com>
23958 * gdb.base/gcore.exp: New test for generate-core-file command.
23959 * gdb.base/gcore.c: Testcase for above.
23960 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23962 2002-01-08 Jason Merrill <jason@redhat.com>
23964 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23966 2002-01-07 Fred Fish <fnf@redhat.com>
23968 * gdb.c++/overload.exp: Remove unconditional xfails for:
23969 print foo_instance1.overloadargs(1)
23970 print foo_instance1.overloadargs(1, 2)
23971 print foo_instance1.overloadargs(1, 2, 3)
23972 print foo_instance1.overloadargs(1, 2, 3, 4)
23973 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23974 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23975 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23976 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23977 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23978 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23979 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23980 print foo_instance1.overload1arg()
23981 print foo_instance1.overload1arg((char)arg2)
23982 print foo_instance1.overload1arg((signed char)arg3)
23983 print foo_instance1.overload1arg((unsigned char)arg4)
23984 print foo_instance1.overload1arg((int)arg7)
23985 print foo_instance1.overload1arg((unsigned int)arg8)
23986 print foo_instance1.overload1arg((float)arg11)
23987 print foo_instance1.overload1arg((double)arg12)
23989 2002-01-07 Michael Snyder <msnyder@redhat.com>
23991 * gdb.base/huge.exp: New test. Print a very large target data object.
23992 (skip_huge_test): New test variable. Define if you want to skip this
23993 test. The test reads an 8 megabyte data object from the target, so it
23994 might be very time consuming on remote targets with a slow connection.
23995 * gdb.base/huge.c: New file. Test case for above.
23997 2002-01-07 Fred Fish <fnf@redhat.com>
23999 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
24000 g_instance.bfoo, and g_instance.cfoo.
24002 2002-01-07 Jeffrey A Law <law@redhat.com>
24004 * gdb.base/break.c (multi_line_if_conditional): New function.
24005 (multi_ilne_while_conditional): Likewise.
24006 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
24007 IF or WHILE condition puts the breakpoint at the start of
24010 * gdb.base/selftest.exp (backtrace through signal handler): Remove
24011 hppa*-*-hpux* expected failure.
24012 * gdb.base/structs.exp (do_function_calls): Similarly.
24014 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
24017 2002-01-06 Andrew Cagney <ac131313@redhat.com>
24020 * gdb.base/structs.exp: Replace skip for a29k with skip for
24021 gdb,cannot_call_functions.
24022 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
24023 * gdb.base/callfuncs.exp: Ditto.
24024 * gdb.base/call-rt-st.exp: Ditto.
24025 * gdb.base/call-strs.exp: Ditto.
24026 * gdb.base/callfwmall.exp: Ditto.
24027 * gdb.base/scope.exp: Obsolete xfail a29k.
24028 * gdb.c++/misc.exp: Ditto.
24029 * gdb.c++/cplusfuncs.exp: Ditto.
24030 * gdb.base/ptype.exp: Ditto.
24031 * gdb.base/printcmds.exp: Ditto.
24032 * gdb.base/opaque.exp: Ditto.
24033 * gdb.base/list.exp: Ditto.
24034 * gdb.base/funcargs.exp: Ditto.
24035 * gdb.base/default.exp: Ditto.
24037 2002-01-04 Michael Snyder <msnyder@redhat.com>
24039 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
24040 * gdb.base/maint.exp: Add tests for maint info sections options.
24042 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24044 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24046 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
24048 * gdb.asm/arm.inc: New file.
24049 * gdb.asm/asm-source.exp: Add arm targets.
24050 * gdb.asm/configure.in: Ditto.
24051 * gdb.asm/configure: Recreated from configure.in.
24053 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24055 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24056 with HP's compiler.
24057 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24058 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24059 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24060 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24062 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24063 either HP's compilers or GCC.
24065 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24066 a SIGBUS or SIGSEGV.
24068 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24070 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24071 can be compiled with either HP's compiler or GCC.
24073 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24074 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24075 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24077 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24078 to match current gdb output. Update due to using auto-solib-limit
24079 for limiting instead of overloading auto-solib-add.
24080 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24083 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
24084 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24085 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24086 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24087 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24088 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24089 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24090 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24091 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24092 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24093 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24094 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24095 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
24097 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24098 a SIGTRAP to the inferior.
24100 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
24102 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24103 Substitute call to target_link by call to gdb_compile.
24105 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24107 * gdb.base/break.exp: Fix HP specific search string when testing
24108 backtracing in a called function.
24110 * gdb.base/constvars.exp: Only set lang to C++ if we're
24111 compiling the test with HP's compilers.
24112 * gdb.base/volatile.exp: Similarly.
24114 2001-12-19 Jim Blandy <jimb@redhat.com>
24116 * gdb.base/printcmds.exp: Expect the null character to be printed
24117 as '\0', and the '\013' to be printed as '\v'.
24118 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24119 * gdb.base/setvar.exp: Same.
24121 2001-12-17 Jim Blandy <jimb@redhat.com>
24123 * gdb.base/completion.exp: Rather than completing very long
24124 filenames, which can make the readline library produce output we
24125 don't recognize, cd to the directory first, and then complete
24126 using nice, short relative paths.
24128 * gdb.base/completion.exp: On some systems, there is, in fact, a
24129 variable named `b' in scope, since GDB treats all static
24130 variables as being in scope. So use `no_var_named_this'
24133 * gdb.base/corefile.exp: Recognize the message saying that GDB
24134 can't find the core file's registers as a failure.
24136 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24138 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24139 test expect string more specific.
24141 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
24143 * gdb.asm/asm-source.exp: Add support for xstormy16.
24144 * gdb.asm/configure.in: Ditto.
24145 * gdb.asm/configure: Rebuild.
24146 * gdb.asm/xstormy16.inc: New file.
24148 2001-12-10 Fred Fish <fnf@redhat.com>
24150 * gdb.base/maint.exp: Update to match changes in type dumping code.
24152 2001-12-10 Jim Blandy <jimb@redhat.com>
24154 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
24155 matching the entry point symbol's name at the beginning of the
24158 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24160 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24161 gdb.c++/inherit.exp, gdb.c++/method.exp,
24162 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24163 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24164 and class layout support.
24166 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
24168 * gdb.c++/classes.exp: Add test for static member function.
24169 * gdb.c++/misc.cc: Add class with static member function.
24171 2001-12-07 Jim Blandy <jimb@redhat.com>
24173 If GDB says it can't find the struct the function returned, report
24174 those tests as `unsupported'.
24175 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24176 Rewrite subsequent tests to use it.
24178 If GDB says it can't find the struct the function returned, report
24179 those tests as `unsupported'.
24180 * gdb.base/structs.exp (call_struct_func): New function.
24181 (do_function_calls): Use call_struct_func to call the functions
24184 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24185 whether functions are prototyped or not, so we can't possibly pass
24186 arguments to t_float_values2 properly.
24188 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24189 value of `timeout' for targets other than the mips*tx39-*.
24191 2001-12-06 Michael Snyder <msnyder@redhat.com>
24193 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
24194 and detect whether the start symbol has a leading underscore.
24196 2001-12-04 Jim Blandy <jimb@redhat.com>
24198 * gdb.base/completion.exp: Clarify indentation.
24200 2001-12-03 Jim Blandy <jimb@redhat.com>
24202 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24203 variables on the S/390, not `.word'.
24205 2001-11-30 Jim Blandy <jimb@redhat.com>
24207 Add assembly-source tests for s390-ibm-linux.
24208 * gdb.asm/s390.inc: New file.
24209 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24210 the S/390 architecture.
24211 * gdb.asm/configure: Regenerated.
24213 2001-11-30 Michael Snyder <msnyder@redhat.com>
24215 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24216 next, info source, info sources, info line, global and static
24217 variables, and static functions.
24218 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24219 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24220 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24221 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24222 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24223 (gdbasm_leave): Restore frame pointer.
24224 (gdbasm_startup): Copy stack set-up from crt0.S.
24226 2001-11-26 Fernando Nasser <fnasser@redhat.com>
24228 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24229 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24230 to a local (non-static) variable. Copy tstruct.a to a static buffer
24231 and return a pointer to that buffer.
24232 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24234 2001-11-24 Mark Kettenis <kettenis@gnu.org>
24236 * gdb.asm/configure.in: Fix recognition of ix86 target.
24237 * gdb.asm/configure: Regenerate.
24239 2001-11-21 Michael Snyder <msnyder@redhat.com>
24241 * gdb.asm/sparc.inc: New file.
24242 * gdb.asm/asm-source.exp: Recognize sparc target.
24243 * gdb.asm/configure.in: Recognize sparc target.
24244 * gdb.asm/configure: Regenerate.
24246 2001-11-21 Michael Snyder <msnyder@redhat.com>
24248 * gdb.asm/m32r.inc: New file.
24249 * gdb.asm/asm-source.exp: Recognize m32r target.
24250 * gdb.asm/configure.in: Recognize m32r target.
24251 * gdb.asm/configure: Regenerate.
24253 2001-11-20 Michael Snyder <msnyder@redhat.com>
24255 * gdb.asm/i386.inc: New file.
24256 * gdb.asm/asm-source.exp: Recognize ix86 target.
24257 * gdb.asm/configure.in: Recognize ix86 target.
24258 * gdb.asm/configure: Regenerate.
24260 * gdb.c++/namespace.exp: Fix quotes in output messages.
24262 2001-11-14 Michael Snyder <msnyder@redhat.com>
24264 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
24265 qualifier in a type cast expression, to designate an address
24266 in the instruction space (Harvard architecture).
24268 2001-11-13 Michael Snyder <msnyder@redhat.com>
24270 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24271 Tests for expressions using 'const' and 'volatile'.
24273 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
24275 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24277 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
24279 * lib/mi-support.exp (mi_run_to_helper): Move comments
24280 outside of gdb_expect.
24282 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
24284 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24285 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24286 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24287 mi0_run_to): New functions.
24288 * gdb.mi/mi-simplerun.exp: Use them.
24289 * gdb.mi/mi0-simplerun.exp: Likewise.
24290 * gdb.mi/mi-var-cmd.exp: Likewise.
24291 * gdb.mi/mi0-var-cmd.exp: Likewise.
24293 2001-11-10 Andrew Cagney <ac131313@redhat.com>
24295 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24296 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24298 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24300 * gdb.base/restore.exp: Include $expected value in restored test
24303 2001-11-09 Andrew Cagney <ac131313@redhat.com>
24305 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24308 2001-11-08 Michael Snyder <msnyder@redhat.com>
24310 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24311 Add pass/fail message for stop at breakpoint in call dummy function.
24313 2001-11-07 Michael Snyder <msnyder@redhat.com>
24315 * gdb.c++/templates.exp (test_template_breakpoints):
24316 If we get an overload menu, but it does not match what
24317 we expect, we still need to issue the "cancel" command.
24318 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24319 making the whitespace optional. Argument for "new" may be
24320 "unsigned" as well as "unsigned int/long".
24321 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
24322 making the whitespace optional. Also replace "(void) with
24323 "((void|)), making the keyword "void" optional.
24324 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
24325 making the whitespace optional. Also replace "(void) with
24326 "((void|)), making the keyword "void" optional.
24327 * gdb.base/callfuncs.c (t_float_values): This function must
24328 _not_ be prototyped, and the following function (t_float_values2)
24329 must be prototyped (if the compiler supports it), so that GDB
24330 can be tested against both cases. Usually one case involves
24331 promotion of float to double, while the other does not.
24332 * gdb.base/callfwmall.c: Ditto.
24333 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24334 includes a stack frame for "start".
24336 2001-11-05 Jim Blandy <jimb@redhat.com>
24338 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24339 pointers are 32 bits long, and that offsets of relocs are always
24340 stored in the data (REL-style), and not in the reloc entry itself
24342 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24345 2001-11-01 Michael Snyder <msnyder@redhat.com>
24347 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24348 and regular expression operators by using quoting.
24350 2001-10-31 Michael Snyder <msnyder@redhat.com>
24352 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24353 depending on what the symbol table contains.
24354 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24355 the output of the ptype command. Similarly, accept both "const &"
24358 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
24360 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24361 symbol `STORAGE' to allow to choose the storage class of
24362 the local datastructures.
24363 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24364 compiler directive.
24366 2001-10-30 Michael Snyder <msnyder@redhat.com>
24368 * gdb.base/jump.exp: Allow it to run for all targets.
24370 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24372 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24373 with new double_array size.
24374 (main): Change storage class of all local variables to static.
24375 Reduce size of double_array to 9.
24376 * gdb.base/call-ar-st.exp: Increase timeout value.
24377 Change expected output for double array to match new size in
24380 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
24382 * gdb.base/ending-run.exp: Create identical output when passing
24383 `step to end of run' case. Add regular expression branch satisfying
24386 2001-10-28 Mark Kettenis <kettenis@gnu.org>
24388 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24389 that we catch the expected failure under Linux/x86.
24391 2001-10-29 Orjan Friberg <orjanf@axis.com>
24393 * gdb.base/setvar.exp: Escape curly braces.
24394 * gdb.stabs/weird.exp: Ditto.
24396 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
24398 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24399 * gdm.mi/mi0-hack-cli.exp: Likewise.
24401 2001-10-25 Andrew Cagney <ac131313@redhat.com>
24403 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24406 2001-10-21 Andrew Cagney <ac131313@redhat.com>
24408 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24409 checking MI enabled.
24411 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
24413 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24415 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
24417 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24418 if gdb child process crashes, just signal an error.
24420 2001-10-02 Jim Blandy <jimb@redhat.com>
24422 * lib/gdb.exp (test_xfail_format): Simplify.
24424 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24425 front of the variable name `format'. Simplify `if'.
24427 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24429 * gdb.threads/pthreads.exp: Wait for output and delay
24432 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
24434 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24435 some incorrect output instead of timing out.
24436 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24438 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
24440 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24441 check to allow additional `int'.
24443 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
24445 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24446 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24448 2001-09-27 Michael Snyder <msnyder@redhat.com>
24450 * lib/gdb.exp (test_debug_format): New proc.
24451 (setup_xfail_format): Use new proc test_debug_format.
24452 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24453 proc; use new service proc test_debug_format.
24454 Replace all other "gcc_compiled" tests with this test.
24455 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24456 proc; use new service proc test_debug_format.
24457 Replace all other "gcc_compiled" tests with this test.
24459 2001-09-27 Michael Snyder <msnyder@redhat.com>
24461 * gdb.base/cvexpr.exp: New file.
24462 * gdb.base/cvexpr.c: New file
24463 Test for expressions using const and volatile keywords.
24465 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
24467 * gdb.base/constvars.exp: Check for different orders of keywords
24468 and additional "int" strings in output.
24470 2001-09-22 Andrew Cagney <ac131313@redhat.com>
24472 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24473 responses from "help maint".
24475 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
24477 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24478 to localhost:NNN instead of :NNN, in case Xvfb is listening
24481 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
24483 * gdb.base/recurse.exp: When checking leaving the watchpoint
24484 scope, recognize when gdb is in function's epilogue and pass.
24486 2001-09-18 Keith Seitz <keiths@redhat.com>
24488 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24489 support for running tests against sid targets.
24490 (gdbtk_done): Ditto.
24492 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
24494 * gdb.base/ending-run.c (main): Set stdout buffersize
24495 to the same reasonable value for any target.
24496 * gdb.base/ending-run.exp: Add a regular expression
24497 to make testsuite happy on Sanyo Stormy16 target.
24499 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
24501 * gdb.base/display.c (do_loops): Add float variable `f'.
24502 Increment f in loop.
24503 * gdb.base/display.exp: Increment timeout by 60 seconds.
24504 Change float display test to use variable `f'.
24506 2001-09-17 Jim Blandy <jimb@redhat.com>
24508 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24509 overflowing the limited breakpoint tables on some ROM monitors
24512 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
24514 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24515 the "-ac" (disable access control) flag.
24517 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
24519 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24522 2001-08-30 Keith Seitz <keiths@redhat.com>
24524 * lib/gdb.exp: Move all insight-related functionality into
24526 * lib/insight-support.exp: New file.
24528 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
24530 * config/sid.exp (sid_start): Never set sid verbosity; disable
24531 expect_background {} that consumed its stdout; tolerate </dev/null.
24532 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24534 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24536 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24537 CLI jump command to start it.
24538 (mi_run_to_main): Fail immediatly when unexpected output.
24540 2001-08-18 Andrew Cagney <ac131313@redhat.com>
24542 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24543 beginning of function. Fix PR gdb/191.
24545 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
24547 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24548 what to force sid endianness to.
24550 2001-08-15 Keith Seitz <keiths@redhat.com>
24552 * lib/gdb.exp (gdbtk_start): Don't set environment
24553 variables for TCL_LIBRARY and friends. Insight will
24554 now figure these out for itself.
24556 2001-08-02 Michael Snyder <msnyder@redhat.com>
24558 * gdb.base/completion.exp: Remove the symbol "a64l" from
24559 the expect string; this is target-specific, and not related
24560 to what is being tested.
24562 2001-08-02 Dave Brolley <brolley@redhat.com>
24564 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24566 2001-07-25 Michael Snyder <msnyder@redhat.com>
24568 * gdb.base/consecutive.exp: New file. Test stepping over
24569 breakpoints on consecutive instructions.
24570 * gdb.base/consecutive.c: New file.
24572 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24573 curly braces in regular expressions.
24575 2001-07-25 Michael Snyder <msnyder@redhat.com>
24577 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24578 legitimate output from stepping out of main.
24580 2001-07-22 Keith Seitz <keiths@redhat.com>
24582 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24583 the empty string, do not run the tests.
24585 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24587 * gdb.base/long_long.exp: Detect size of pointer. Take into
24588 account 2-byte pointers when testing for p/a results.
24590 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24592 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
24593 and defined to 1K for m68hc11.
24594 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24595 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24596 (sizeof_random_data): New variable to tell the size of the data table;
24597 don't test past this size; always run to main.
24599 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24601 * gdb.base/return2.exp: return of long long and double fails for
24602 68HC11; don't execute these tests on that platform.
24603 * gdb.base/return.exp: Return of a double fails for 68hc11.
24605 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24607 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24608 tests that print a float.
24609 * call-rt-st.exp: Likewise.
24611 2001-07-12 Mark Kettenis <kettenis@gnu.org>
24613 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24614 running this test on Linux.
24616 2001-06-24 Michael Chastain <chastain@redhat.com>
24618 * gdb.base/arithmet.exp: Remove some tests to make all test names
24621 2001-07-03 Michael Snyder <msnyder@redhat.com>
24623 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24624 the output of the ptype command.
24626 2001-07-02 Michael Snyder <msnyder@redhat.com>
24628 * gdb.base/completion.exp: Don't assume that break.c is the only
24629 source file that may contain functions named "marker".
24630 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24632 2001-06-28 Andrew Cagney <ac131313@redhat.com>
24634 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24635 of files to delete.
24637 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24638 * gdb.disasm/h8300s.exp: New file.
24639 gdb.disasm/h8300s.s: Likewise.
24641 2001-06-27 Andrew Cagney <ac131313@redhat.com>
24643 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24644 empty breakpoint tables.
24646 2001-06-25 Andrew Cagney <ac131313@redhat.com>
24648 * lib/mi-support.exp: Update args=... part of stop-reason
24649 patterns. Accept either a list or a tuple.
24651 2001-06-23 Andrew Cagney <ac131313@redhat.com>
24653 * lib/mi-support.exp: Remove local emacs variable defining
24654 change-log-default-name.
24656 2001-06-22 Michael Chastain <chastain@redhat.com>
24658 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24659 This is operationally compatible with the previous version.
24661 2001-06-13 Jim Blandy <jimb@redhat.com>
24663 * lib/gdb.exp (gdb_test): Doc fix.
24665 2001-06-10 Michael Chastain <chastain@redhat.com>
24667 * gdb.base/exprs.exp: Remove a duplicate test.
24669 2001-06-06 Jim Blandy <jimb@redhat.com>
24671 * gdb.base/return2.exp (main): Use values to test float and double
24672 returns that are not NaN's, to avoid being confused by IEEE
24675 2001-06-04 Michael Snyder <msnyder@redhat.com>
24677 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
24678 non-zero if control_c fails. Terminate the test on failure,
24679 rather than wait for 12 more tests to time out.
24681 2001-06-06 Jim Blandy <jimb@redhat.com>
24683 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
24684 Don't forget to match the GDB prompt.
24686 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24688 2001-06-04 Jim Blandy <jimb@redhat.com>
24690 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24693 2001-05-31 Kevin Buettner <kevinb@redhat.com>
24695 * gdb.base/annota1.exp (info break): Match four or more spaces
24698 2001-05-31 Michael Chastain <chastain@redhat.com>
24700 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24701 (dm_type_int_star): Likewise.
24702 (dm_type_long_star): Likewise.
24703 (dm_type_void_star): Likewise.
24705 2001-05-29 Kevin Buettner <kevinb@redhat.com>
24707 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24708 to a known value in order to get consistent results regardless
24709 of the setting of INPUTRC or the presence or contents of .inputrc.
24711 2001-05-24 Michael Snyder <msnyder@redhat.com>
24713 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24714 Don't require that the main thread and the manager thread are the
24717 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24718 debugging. If test fails, issue an "unsupported" not a "fail".
24720 2001-05-24 Jim Blandy <jimb@redhat.com>
24722 Don't assume that short is shorter than int.
24723 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24724 assume that shorts are smaller than ints. On a 16-bit machine,
24726 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24727 an int, is not equal to ~0 stored in an unsigned char. This tests
24728 the same thing that the previous test meant to, but works on
24729 16-bit machines, too.
24730 ("print unsigned char != (~0)"): Same test, complemented.
24732 2001-05-24 Michael Snyder <msnyder@redhat.com>
24734 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
24735 test for (full_coverage == 0). This makes the test run faster,
24736 and prevents dejagnu getting out of step.
24738 2001-05-23 Kevin Buettner <kevinb@redhat.com>
24740 * gdb.base/finish.exp (finish_void): Revise pattern for
24741 stopping on the call statement to not permit stopping at
24742 the start of the instructions comprising the call sequence.
24744 2001-05-19 Michael Chastain <chastain@redhat.com>
24746 * gdb.base/callfuncs.exp: Make all test names unique.
24747 * gdb.base/commands.exp: Make all test names unique.
24748 * gdb.base/condbreak.exp: Make all test names unique.
24749 * gdb.base/dbx.exp: Make all test names unique.
24750 * gdb.base/default.exp: Make all test names unique.
24751 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24752 and TIMEOUT messages to their corresponding PASS message.
24753 * gdb.base/ending-run.exp: Make all test names unique.
24754 * gdb.base/long_long.exp: Remove duplicate test.
24756 2001-05-21 Kevin Buettner <kevinb@redhat.com>
24758 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24759 stop on the call statement as well as the statement after the
24762 2001-05-21 Michael Snyder <msnyder@redhat.com>
24764 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24766 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24768 * gdb.base/completion.exp: Revamp test. Make it execute on all
24771 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
24773 * config/gdbserver.exp (gdb_load): Handle the case
24774 in which the arguments to gdbserver are given in the
24775 baseboard configuration file.
24776 Also handle the case in which the server needs to do a
24779 2001-05-07 Keith Seitz <keiths@cygnus.com>
24781 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24782 set up the display for testing.
24783 (gdbtk_start): Convert all paths to paths that tcl will like.
24784 Export target information to environment.
24785 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24787 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24788 (to_tcl_path): New proc to convert a given pathname into
24789 a path acceptible as an argument to a tcl command.
24790 (_gdbtk_export_target_info): New proc to export target info
24791 into the environment for gdbtk testing.
24792 (gdbtk_done): New proc to signal end-of-test.
24794 2001-05-06 Jim Blandy <jimb@redhat.com>
24796 * restore.c: Make the code of caller0 correspond to its comment.
24798 2001-05-03 Michael Snyder <msnyder@redhat.com>
24800 * config/sid.exp (gdb_target_sid): Check for error messages.
24801 On error or timeout, don't make expect exit (which will terminate
24802 all subsequent tests); instead just make gdb exit.
24803 (gdb_load): Check for error messages. On error or timeout,
24804 return a negative value.
24806 2001-04-24 Jim Blandy <jimb@redhat.com>
24808 * gdb.c++/templates.exp: If we see the prompt for the overload
24809 list, but we haven't recognized any of the longer patterns,
24810 arrange for this test to fail, not hang.
24812 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24815 2001-04-22 Michael Chastain <chastain@redhat.com>
24817 * gdb.c++/local.exp: Use the 'runto' library function.
24818 * gdb.c++/namespace.exp: Likewise.
24819 * gdb.c++/overload.exp: Likewise.
24821 2001-03-26 Kevin Buettner <kevinb@redhat.com>
24823 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24824 * gdb.base/step-line.exp: New file. Test step/next in presence of
24826 * gdb.base/step-line.c: New file. Test program for the above.
24827 * gdb.base/step-line.inp: New file. We pretend that this file has
24828 been transformed by some other tool into step-line.c.
24830 2001-03-21 Jim Blandy <jimb@redhat.com>
24832 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24833 unmangled operator names.
24835 2001-03-20 Jim Blandy <jimb@redhat.com>
24837 * gdb.threads/linux-dp.exp: Recognize an additional message
24838 generated by GDB when it doesn't understand how to debug threads
24839 on the target system.
24841 2001-03-19 Andrew Cagney <ac131313@redhat.com>
24843 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24845 2001-03-12 Michael Chastain <chastain@redhat.com>
24847 * gdb.c++/derivation.exp: Use the 'runto' library function.
24849 2001-03-12 Michael Chastain <chastain@redhat.com>
24851 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24853 2001-02-24 Michael Chastain <chastain@redhat.com>
24855 * gdb.c++/ref-types.exp: Change handwritten code to library
24858 2001-03-16 Orjan Friberg <orjanf@axis.com>
24860 * gdb.base/signals.exp: Set count to 0 explicitly.
24862 2001-03-15 Mark Salter <msalter@redhat.com>
24864 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24865 (gdb_target_monitor): Add check of gdb_target_cmd return value.
24866 (gdb_load): Add support for additional target_info: gdb_download_size
24867 and gdb_load_timeout.
24869 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24871 * gdb.base/annota1.exp: Move test of isnative to earlier in the
24872 file -- to prevent failing when the compile fails but we have no
24873 intention of running the tests anyway.
24875 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24878 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
24881 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24882 * gdb.c++/namespace.exp: Ditto.
24884 2001-03-07 Orjan Friberg <orjanf@axis.com>
24886 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24887 * gdb.base/pointers.exp: Relax pattern match of decimals.
24889 2001-03-06 Kevin Buettner <kevinb@redhat.com>
24891 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24892 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24893 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24894 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24895 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24896 config/sh.exp, config/sid.exp, config/slite.exp,
24897 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24898 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24899 config/vxworks.exp, config/vxworks29k.exp,
24900 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24901 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24902 gdb.base/arithmet.exp, gdb.base/assign.exp,
24903 gdb.base/async.exp, gdb.base/attach.exp,
24904 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24905 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24906 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24907 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24908 gdb.base/commands.exp, gdb.base/completion.exp,
24909 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24910 gdb.base/constvars.exp, gdb.base/corefile.exp,
24911 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24912 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24913 gdb.base/ending-run.exp, gdb.base/environ.exp,
24914 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24915 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24916 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24917 gdb.base/funcargs.exp, gdb.base/help.exp,
24918 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24919 gdb.base/logical.exp, gdb.base/long_long.exp,
24920 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24921 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24922 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24923 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24924 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24925 gdb.base/regs.exp, gdb.base/relational.exp,
24926 gdb.base/remote.exp, gdb.base/reread.exp,
24927 gdb.base/restore.exp, gdb.base/return2.exp,
24928 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24929 gdb.base/selftest.exp, gdb.base/setshow.exp,
24930 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24931 gdb.base/sigall.exp, gdb.base/signals.exp,
24932 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24933 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24934 gdb.base/step-test.exp, gdb.base/structs.c,
24935 gdb.base/structs.exp, gdb.base/structs2.exp,
24936 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24937 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24938 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24939 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24940 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24941 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24942 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24943 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24944 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24945 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24946 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24947 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24948 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24949 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24950 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24951 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24952 gdb.trace/circ.exp, gdb.trace/collection.exp,
24953 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24954 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24955 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24956 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24957 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24958 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24959 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24962 2001-02-27 Michael Snyder <msnyder@cygnus.com>
24964 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24965 first arg is int not float.
24967 2001-02-22 Michael Snyder <msnyder@cygnus.com>
24969 * gdb.base/reread.exp: Unsupported for non-native targets;
24970 doesn't work for remote debugging.
24972 2001-02-19 Fernando Nasser <fnasser@redhat.com>
24974 From Drew Moseley <dmoseley@redhat.com>
24975 * gdb.base/ending-run.exp: Properly handle the BSP state when
24976 stepping past the end of main.
24978 2001-02-19 John Moore <jmoore@redhat.com>
24980 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24981 Converted HPUX fix for non-expected items following multiple
24982 step commands into general solution for all platforms.
24984 2001-02-18 Michael Chastain <chastain@redhat.com>
24986 * gdb.c++/classes.exp (do_tests): Change runto statements
24987 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24988 statements demangler agnostic.
24989 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24990 (gdb_virtfunc_restart): Likewise.
24992 2001-02-14 Michael Chastain <chastain@redhat.com>
24994 * gdb.c++/inherit.exp (do_tests): Change runto statements
24995 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24996 statements demangler agnostic.
24998 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
25000 * gdb.threads/pthreads.exp: Unify pass/fail messages for
25001 ``continue to bkpt at common_routine in thread 2'' and ``stopped
25002 before calling common_routine 15 times'' tests.
25004 2001-02-11 Michael Chastain <chastain@redhat.com>
25006 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
25007 Helps the test script figure out which demangler is in use.
25008 (dm_type_foo_ref): Ditto.
25009 (dm_type_int_star): Ditto.
25010 (dm_type_long_star): Ditto.
25011 (dm_type_unsigned_int): Ditto.
25012 (dm_type_void): Ditto.
25013 (dm_type_void_star): Ditto.
25014 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
25015 Probe the gdb demangler and set variables to accommodate
25016 formatting differences.
25017 (info_func_regexp): New function. Same as info_func, but
25018 matches against a regexp.
25019 (info_func): Match against a literal string.
25020 (print_addr_2): New function. Match against a literal string,
25021 which can be different from the input to gdb.
25022 (print_addr): Simply call print_addr_2 with the same argument twice.
25023 (test_lookup_operator_functions): Use demangler formatting variables.
25024 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
25025 the tests in the same order as the C++ class declaration.
25026 (test_paddr_operator_functions): Ditto.
25027 (test_paddr_overloaded_functions): Ditto.
25028 (test_paddr_hairy_functions): Use demangler formatting variables.
25029 Add reference to gdb/19 for related tests.
25030 (do_tests): Call probe_demangler.
25032 2001-01-30 Kevin Buettner <kevinb@redhat.com>
25034 * gdb.c++/templates.cc (printf): Remove unused function definition.
25036 2001-01-26 Felix Lee <flee@redhat.com>
25038 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25040 2001-01-25 matthew green <mrg@redhat.com>
25042 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25044 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25046 2001-01-25 matthew green <mrg@redhat.com>
25048 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
25049 Deprecate $sid_spawn_id.
25050 (sid_exit): Remove code necessary only for `spawn.'
25052 2001-01-25 matthew green <mrg@redhat.com>
25054 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25056 2001-01-28 Michael Chastain <chastain@redhat.com>
25058 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25059 to call when tests fail. It takes gdb out of the overloaded
25060 function choice menu back to the main prompt, so that the test
25061 program stays synchronized.
25062 (set_bp_overloaded): New proc to collect all the common
25063 code for setting a breakpoint on an overloaded name. Calls
25064 take_gdb_out_of_choice_menu when needed.
25065 (menu_overload1arg): New variable to collect the repeated
25066 instances of the expected menu for an overloaded name. Change
25067 the regular expression to handle changes in g++ type encoding:
25068 "void" can be either "void" or "", and "unsigned int" can be
25069 either "unsigned int" or "unsigned".
25070 (continue_to_bp_overloaded): Change regular expressions to handle
25071 changes in g++ type encoding.
25072 (no proc): Call take_gdb_out_of_choice_menu when needed.
25073 Remove redundant calls to "info break". Accept either "canceled"
25074 or "cancelled". Change regular expressions in "info break"
25075 calls to handle changes in g++ type encoding. Give all tests
25078 2001-01-17 Ben Elliston <bje@redhat.com>
25080 * config/sid.exp: New file.
25082 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25084 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25086 2000-12-21 Michael Snyder <msnyder@cygnus.com>
25088 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25089 Add a RE to accept a non-ascii char if one is ever presented.
25091 2000-12-20 Fernando Nasser <fnasser@redhat.com>
25093 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
25095 2000-12-18 Michael Snyder <msnyder@cygnus.com>
25097 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
25098 in regexp. One '\' does not suffice on Linux.
25100 2000-12-09 Michael Chastain <chastain@redhat.com>
25102 * gdb.base/break.exp (test_clear_command): Use a marker function
25103 rather than 'main' for the test function. Also move this
25104 test to an execution point where the marker function names are
25105 guaranteed to be bound to functions. (Executing tests after a
25106 'finish' from main runs into name conflicts with local names
25107 in __libc_start_main).
25109 2000-12-07 Michael Snyder <msnyder@cygnus.com>
25111 * gdb.base/finish.exp: New test for gdb's "finish" command.
25112 * gdb.base/return2.exp: New test for gdb's "return" command.
25113 * gdb.base/return2.c: New source file for above.
25115 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25117 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25118 * gdb.base/miscexprs.exp: Ditto.
25119 * gdb.base/pointers.exp: Ditto.
25120 * gdb.c++/derivation.exp: Ditto.
25121 * gdb.c++/local.exp: Ditto.
25122 * gdb.c++/namespace.exp: Ditto.
25123 * gdb.c++/overload.exp: Ditto.
25124 * gdb.c++/ref-types.exp: Ditto.
25126 2000-12-05 Michael Snyder <msnyder@cygnus.com>
25128 * gdb.base/constvars.exp: Test result of "up" command.
25129 * gdb.base/miscexprs.exp: Ditto.
25130 * gdb.base/pointers.exp: Ditto.
25131 * gdb.base/scope.exp: Ditto.
25132 * gdb.c++/derivation.exp: Ditto.
25133 * gdb.c++/local.exp: Ditto.
25134 * gdb.c++/namespace.exp: Ditto.
25135 * gdb.c++/overload.exp: Ditto.
25136 * gdb.c++/ref-types.exp: Ditto.
25138 2000-11-22 Michael Chastain <chastain@redhat.com>
25140 * mips_pro.exp: Accept either "middle -> top -> main" or
25141 "middle -> main" in the backtrace, because gcc can optimize
25142 tail calls to jumps. Remove setup_xfail for the hppa case.
25143 Add a comment with the original warning messages from PR 3016,
25144 which was filed in 1993, to preserve them for posterity.
25146 2000-11-17 Nick Duffek <nsd@redhat.com>
25148 * lib/gdb.exp (gdb_test): Override timeout with board info.
25150 2000-11-17 Nick Duffek <nsd@redhat.com>
25152 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25153 the second kill and detach messages.
25155 2000-11-17 Nick Duffek <nsd@redhat.com>
25157 * configure.in: Add AC_EXEEXT.
25158 * configure: Regenerate.
25159 * Makefile.in (just-check): Export EXEEXT.
25160 * lib/gdb.exp ($EXEEXT): Import from environment.
25161 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25162 expect "maint dump-me" on Cygwin.
25163 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25166 2000-11-17 Nick Duffek <nsd@redhat.com>
25168 * gdb.base/break.exp: Test backtrace and finish from called
25169 function on all platforms, not just HP-UX.
25171 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25173 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25174 code from gdb_target_monitor, so it can be used independantly
25175 for gdbserver. Also comment out an unnecessary PUTS.
25177 2000-11-03 Michael Snyder <msnyder@cygnus.com>
25179 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25180 * gdb.base/corefile.exp: Expect the message "Program is being
25181 debugged already" when we send the "corefile" command, since
25182 the preceeding gdb_load may have connected gdb to a remote target.
25183 * gdb.base/display.exp: Disable hardware watchpoints if new
25184 board info variable "no_hardware_watchpoints" is true.
25185 Replace single-letter commands with more readable ones.
25186 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25187 if new board info variable "no_hardware_watchpoints" is true.
25188 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25189 to see if stdio (printf) testing is possible.
25190 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25191 board info variable "no_hardware_watchpoints" is true. Use new
25192 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25194 2000-11-13 Fernando Nasser <fnasser@redhat.com>
25196 From Orjan Friberg <orjanf@axis.com>:
25197 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25198 in array print pattern match.
25200 2000-11-09 Fernando Nasser <fnasser@redhat.com>
25202 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25203 spelling "cancelled" to U.S. spelling "canceled" to match changes
25205 * gdb.c++/ovldbreak.exp: Ditto.
25207 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25209 * gdb.base/callfuncs.c (main): Moved to end of file, call
25210 t_double_values to initialize the FPU before inferior calls are made.
25211 * gdb.base/callfuncs.exp: Test for register preservation after calling
25212 inferior functions. Add tests for continuining, finishing and
25213 returning from a stop in a call dummy.
25215 2000-10-24 Michael Snyder <msnyder@cygnus.com>
25217 * gdb.base/commands.exp: Break up long lines, and re-indent.
25219 2000-10-19 Michael Snyder <msnyder@cygnus.com>
25221 * config/gdbserver.exp: Rewritten from the ground up, to make it
25222 compatible with the current dejagnu tree, and to make it work with
25223 the new "gdbserver" in libremote.
25225 2000-10-16 Michael Snyder <msnyder@cygnus.com>
25227 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25228 * gdb.base/varargs.exp: Skip entire test if no printf support.
25229 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25230 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25232 2000-10-13 Michael Snyder <msnyder@cygnus.com>
25234 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25235 no floating point support.
25236 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25237 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25238 * gdb.base/call-rt-st.exp: Ditto.
25239 * gdb.base/call-strs.exp: Ditto.
25241 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25243 * gdb.base/sizeof.c: include <stdio.h>.
25245 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
25246 'finish', otherwise uncaptured gdb_prompt would potentially
25247 throw remaining test points out of sync.
25249 2000-07-26 Scott Bambrough <scottb@netwinder.org>
25251 * gdb.base/recurse.exp: Run tests for all targets.
25252 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25253 gnu-oldld case on ARM.
25254 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25257 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25259 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25260 * gdb.java/configure: Rebuild.
25262 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25264 * gdb.java/jv-exp.exp: New file.
25266 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25268 * configure: Rebuilt.
25269 * configure.in (configdirs): Add gdb.java.
25270 * gdb.java/jmisc.java: New file.
25271 * gdb.java/jmisc.exp: New file.
25272 * gdb.java/Makefile.in: New file.
25273 * gdb.java/configure: Rebuilt.
25274 * gdb.java/configure.in: New file.
25275 * lib/java.exp: New file.
25277 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25279 * gdb.base/exprs.exp: Test casts to a pointer including over and
25282 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25284 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
25285 and the compilers sizes.
25287 2000-07-09 Nick Duffek <nsd@redhat.com>
25289 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25290 (use_methods): New function.
25291 (main): Call use_methods().
25292 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25293 (do_tests): Call test_method_param_class.
25295 2000-07-09 Nick Duffek <nsd@redhat.com>
25297 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25299 (test_enums): New procedure. Move enum tests from end of script
25300 to here. Set breakpoint on function name instead of line number.
25301 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25302 (enums2): New marker function.
25303 (enums1): New function.
25304 (main): Call enums1(). Move enum tests to enums1().
25306 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25308 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
25309 compile/link program. Update line numbers.
25310 * gdb.asm/d10v.inc: Define ``startup''.
25311 * gdb.asm/asmsrc1.s: Add definition of _start.
25313 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25315 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25317 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25319 * gdb.base/maint.exp: Add 'maint print architecture' item to output
25320 of 'help maint print' command.
25322 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25324 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
25325 they use gdb_expect_list.
25327 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25329 * gdb.base/commands.exp: Use ``set remote
25330 memory-read-packet-size'' instead of ``set endian big'' to test
25333 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
25335 * gdb.c++/templates.exp (do_tests): Make all of these work under
25336 g++, and stop skipping them.
25338 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25341 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
25344 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25346 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25347 the regular expression: accept an (almost) arbitrary sequence of
25348 "frames-invalid" and "breakpoints-invalid" messages both before
25349 and after the "starting" message.
25351 2000-06-02 Michael Snyder <msnyder@cygnus.com>
25353 * gdb.c++/local.exp: This test has never been known to work with g++.
25355 2000-05-18 Michael Snyder <msnyder@cygnus.com>
25357 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25358 Relax the regular expression a little, make it pass on Solaris 8.
25360 2000-05-12 Kevin Buettner <kevinb@redhat.com>
25362 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
25363 a call, do not require that gdb stop on the line after the call.
25364 Instead, it is permissible for gdb to stop on the line of the
25367 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
25369 * gdb.base/break.exp (bp on small function, optimized file):
25370 Add a second pass pattern. The behavior differs here between stabs
25371 and dwarf for one-line functions. Stabs preserves two line symbols
25372 (one before the prologue and one after) with the same line number,
25373 but dwarf regards these as duplicates and discards one of them.
25374 Therefore the address after the prologue (where the breakpoint is)
25375 has no exactly matching line symbol, and GDB reports the breakpoint
25376 as if it were in the middle of a line rather than at the beginning.
25378 2000-05-08 Michael Snyder <msnyder@cygnus.com>
25380 * gdb.base/interrupt.exp: Make "pass" message say "send"
25381 rather than "send_gdb" (for consistancy).
25383 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25385 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25386 * gdb.c++/templates.cc: Properly check for GCC version number.
25387 * lib/compiler.cc: Likewise
25389 2000-04-28 Michael Snyder <msnyder@cygnus.com>
25391 * gdb.base/break.exp: When compiled with -O2 optimization,
25392 gdb may not stop at the first line of main, due to code motion.
25394 2000-04-26 Michael Snyder <msnyder@cygnus.com>
25396 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25397 This test depends on parsing the printf output from the target.
25398 Since the sparclet stub doesn't do stdio, this will never work.
25399 * gdb.base/call-rt-st.exp: ditto.
25400 * gdb.base/call-strs: ditto.
25402 2000-04-24 Michael Snyder <msnyder@cygnus.com>
25404 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25406 * gdb.base/ending-run.exp: After connecting to a remote target,
25407 but before running, the target will appear to be in a random
25408 location. Specify both a file and a line for breakpoints.
25409 Also, the function that calls main may be called 'init'
25410 rather than 'start'.
25412 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25414 * gdb.base/help.exp: Update output for add-symbol-file command.
25416 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
25418 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25419 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25421 2000-04-07 J.T. Conklin <jtc@redback.com>
25423 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25425 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25427 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25429 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
25430 values that can be represented exactly.
25431 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25432 above change, and to not check against the directory part of the source
25434 (step into print_long_arg_list): Likewise.
25435 (print print_small_structs from print_long_arg_list): Likewise.
25436 (print print_long_arg_list): Likewise.
25438 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25440 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
25442 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25444 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25446 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
25448 * gdb.base/commands.exp (deprecated_command_test): Add test for
25449 deprecate with no arguments.
25451 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25453 * gdb.base/break.exp: Add new test for setting breakpoints on
25454 optimized code so we can test breakpoints work even when function
25455 prologues may be optimized away
25457 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25459 From David Whedon <dwhedon@gordian.com>
25460 * gdb.base/commands.exp : Added command deprecator tests.
25462 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
25464 * gdb.base/help.exp: Added test for new apropos command.
25466 2000-03-21 Kevin Buettner <kevinb@redhat.com>
25468 * gdb.base/pointers.c (usevar): New function.
25469 (main): Make sure that global variables v_int_pointer2, rptr,
25470 and y are all referenced someplace in the program by calling
25471 usevar() on them. [Some linkers delete symbols which are
25472 never referenced. The space remains, but there's no way to
25473 get a (symbolic) handle on the variable from the debugger.]
25475 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25477 * gdb.base/printcmds.c: Add typedeffed arrays.
25479 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
25480 procedure to test arrays that are typedef'd.
25482 2000-03-13 James Ingham <jingham@leda.cygnus.com>
25484 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
25485 the library directories.
25487 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25489 * configure.in (configdirs): Add sub directory gdb.mi.
25490 * configure: Re-generate.
25492 * gdb.mi: New directory.
25494 2000-02-25 Scott Bambrough <scottb@netwinder.org>
25496 * gdb.base/long_long.exp: Correct test suite failure when printing
25497 a long long value as a double on ARM platforms.
25499 2000-02-16 Jim Blandy <jimb@redhat.com>
25501 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25502 default source file is set properly before running this test.
25504 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25506 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
25507 gdbtk/library directory, not in gdbtcl2.
25509 2000-02-04 Jim Blandy <jimb@redhat.com>
25511 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25512 backslash from regexp pattern.
25514 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25515 procedure. Use it to run all the "continue to bp overloaded"
25516 tests. Note that this changes the names of the tests slightly.
25517 If the breakpoint hit message includes a hex PC value, because
25518 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25519 from the real source code, still consider that a pass.
25521 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25522 XFAIL here if the breakpoint message contains a hex address. Note
25523 similar change on 1999-11-02.
25525 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25527 * gdb.base/ptype.exp: Establish a default source file before
25528 calling get_debug_format.
25530 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25532 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25534 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25536 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25537 of successive stepi commands -- while in the prologue we should see
25538 the function entry bracket.
25540 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25542 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25543 reach __change_mode() when stepping through the end of main().
25545 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25547 * gdb.base/default.exp: Fix expected pattern.
25548 * gdb.base/help.exp: Same.
25550 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25552 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
25553 Don't use xfail's because that affects only the following test.
25555 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
25558 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25560 2000-01-07 Michael Snyder <msnyder@cygnus.com>
25562 * gdb.base/display.exp: Some yacc parsers like to say
25563 "A syntax error" rather than "A parse error". Accept both.
25565 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25567 * gdb.base/default.exp: Remove OS dependent string from "target
25569 * gdb.base/help.exp: Same for "help target remote" test.
25571 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25573 From Jim Kingdon <kingdon@redhat.com>:
25575 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
25576 prompt (cleanup rather than necessity, but still might keep output
25577 from spilling to next test).
25579 2000-01-02 Fred Fish <fnf@cygnus.com>
25581 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25582 AIX, which defines them in <sys/types.h>.
25584 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
25586 * gdb.base/default.exp: Match arm* etc instead of arm in "info
25589 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
25591 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
25593 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25594 outermost frame disallowed".
25596 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25598 * gdb.base/setvar.exp: New tests for setting the value of a struct
25599 with a constant list.
25601 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25603 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25604 require the user to type a cast before setting the value of a struct.
25606 1999-12-06 Jim Blandy <jimb@cygnus.com>
25608 * gdb.base/default.exp: Expect the new 'info float' command on
25609 all i386 platforms.
25611 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25612 LinuxThreads libraries that don't support debugging.
25614 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25616 * gdb.base/remote.c: Fill the buffer with truely random data.
25617 Change the buffer type to ``unsigned char'' to simplify size
25620 * gdb.base/remote.exp: Reduce download numbers by one. Typical
25621 stub only handles 400-1 byte packets. Verify that the download
25624 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25626 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25627 tests, using UNRESOLVED for the untested cases. Also, does not wait
25628 for a timeout if the prompt was received before a recognizable pattern.
25630 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25632 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25634 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25636 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
25639 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
25641 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25643 * gdb.c++/local.exp: Be more flexible in recognizing local class
25644 name mangling. Don't allow horribly truncated method names.
25645 * gdb.c++/derivation.exp: Expect protected inheritance.
25646 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25647 * gdb.c++/virtfunc.exp: Likewise.
25648 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25649 when printing a nested enum.
25651 1999-11-22 Jim Blandy <jimb@cygnus.com>
25653 * gdb.base/step-test.exp: Properly await GDB's response to setting
25654 a breakpoint on the call to large_struct_by_value.
25656 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25657 just because we have debug info for the `start' function.
25659 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25661 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25662 "Unknown signal" messages, which indicate (on LinuxThreads) that
25663 GDB doesn't know how to debug threads on this system. This is
25664 better than hanging while philosopher 0 dumps chatter into gdb.log.
25666 1999-11-18 Tom Tromey <tromey@cygnus.com>
25668 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25670 1999-11-18 Fred Fish <fnf@cygnus.com>
25672 * gdb.base/coremaker2.c: Add sample program for generating
25673 cores that is more self contained than coremaker.c. Eventually
25674 I'll add more code to this and tie it into the testsuite.
25676 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25678 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25680 1999-11-10 Jimmy Guo <guo@cup.hp.com>
25682 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
25684 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
25687 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25689 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
25690 'continue with watch' test point.
25692 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25694 Merged from p2linux-990323-branch:
25696 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25698 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25700 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
25701 {limit,fixed}''. Test ``set download-write-size''.
25703 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25705 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
25708 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25710 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25712 1999-11-03 Mark Salter <msalter@cygnus.com>
25714 * gdb.base/break.exp: Fix "stub continue" pattern.
25716 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25718 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25720 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25722 * gdb.base/display.exp ("finish"): Add timeout clause.
25724 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25725 plain prompt clause, so this doesn't have to time out in order to
25728 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
25729 breakpoint hit messages include an address.
25731 * gdb.base/display.exp: Don't forget to escape parens in regular
25732 expressions. Unix regexp notatation sucks.
25734 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25736 * gdb.base/annota1.exp: Test for annotate-signalled: change output
25737 order for 'signalled' message.
25739 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25741 From Jimmy Guo <guo@cup.hp.com>:
25742 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25743 * gdb.base/annota1.c: Add code for tests to work with.
25745 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25747 * gdb.base/remote.exp: New test for remote downloading settings.
25748 * gdb.base/remote.c: New file with large .data.
25750 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25752 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25753 for LinuxThreads support, merged from the Code Fusion branch.
25755 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25757 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
25758 containing exp_continue into a while within an expect. Don't
25759 attempt a start more than three times. Check return value from
25762 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25764 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
25767 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
25769 * gdb.base/break.c (main): Added a statement that we can step
25771 * gdb.base/break.exp: Added tests for setting a breakpoint
25772 at an offset and stepping onto a breakpoint.
25774 1999-10-01 Fred Fish <fnf@cygnus.com>
25776 * gdb.base/help.exp (help add-symbol-file): Update to match current
25779 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25781 * gdb.base/break.exp: Code locations are in hex, don't forget!
25784 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25786 * condbreak.exp: Use break.c as test program.
25787 * condbreak.c: Remove, redundant with break.c.
25789 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25791 * config/monitor.exp (gdb_target_monitor): Disable X- and
25792 Z-packets if the target needs it.
25794 1999-09-13 James Ingham <jingham@leda.cygnus.com>
25796 * gdb.c++/overload.exp: Added tests for listing overloaded
25797 functions with function pointers in the arg, explicitly calling
25798 out the version you want.
25800 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25802 * long_long.exp: Add variations of test cases that work for
25803 targets with 16-bit ints and 32-bit doubles.
25805 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25807 * break.c (main): Compare a possibly-uninitialized argc with an
25808 unlikely value that fits in 16 bits.
25810 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25812 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25813 0xfeeb, don't want negative numbers if ints are 16 bits.
25815 * lib/gdb.exp (skip_cplus_tests): New proc.
25816 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
25817 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25818 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25819 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25820 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25821 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25822 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25823 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
25825 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25827 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25829 * gdb.base/corefile.exp (up): Allow a parameter to appear
25830 in the frame that we're going up to.
25832 From Jim Blandy <jimb@cygnus.com>:
25834 * gdb.base/default.exp (info float): Expect some output now.
25836 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25837 returning floating-point values to fail on the x86.
25838 * gdb.base/callfwmall.exp (do_function_calls): Same.
25840 * gdb.base/list.exp (test_listsize): Correct expectations for
25841 listing line 1 with listsize 2. Also, listing a single line
25842 works now, as does listing three lines. [Kevin's note: There
25843 were a number of other cases fixed too where the expectations
25846 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25848 * gdb.base/selftest.exp: Add case for when version prints as
25849 constant string instead of char pointer.
25851 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25853 * gdb.base/ending-run.exp: Add Solaris case for what happens when
25854 stepping out of main.
25856 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25859 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
25860 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
25862 * gdb.c++/ovldbreak.exp: Update match string in test that
25863 includes a warning of multiple breakpoints.
25865 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25867 * gdb.base/display.exp: Improve precision of step-after-finish
25870 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
25873 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25874 configs when using G++, not just hppa*.
25876 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25878 * gdb.base/async.c: New file.
25879 * gdb.base/async.exp: New file.
25881 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25883 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25886 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25888 * gdb.base/display.exp: "finish" can leave us mid-line on many
25889 targets, deal with it. Add a small constant to main, instead of
25890 1000 since main+1000 may not be a valid address in the target.
25892 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25895 * gdb.base/attach.exp: Handle another hpux11 error message variant
25896 when attaching to a process that does not exist.
25898 1999-08-19 J.T. Conklin <jtc@redback.com>
25900 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
25901 characters in 'continue to 1241' test.
25903 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25905 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25906 stop in print_long_arg_list, define and use a whitespace
25907 variable in print_small_structs test, add an XFAIL for Solaris.
25908 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25909 interested enough to fix.
25911 1999-08-13 Keith Seitz <keiths@cygnus.com>
25913 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25914 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25915 proc knows about targets other than the natives.
25916 (test_assign): Use "gdb_run_cmd" to "run" the target.
25917 Check that we've actually hit the breakpoint at main.
25918 When we attempt to assign a value to a local variable, check
25919 that the variable is in the current scope, i.e., don't use
25920 a test with an empty result.
25922 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25924 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
25927 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25929 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25930 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25931 gdb.compat, gdb.threads-hp.
25932 gdb.hp/configure, gdb.hp/configure.in: New files.
25933 gdb.hp/Makefile.in: Recurse into new subdirs.
25934 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25935 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25937 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25939 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25941 * gdb.base/display.exp: Help expect by putting a newline in the
25942 funky printf, remove a bogus p/a test.
25944 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25946 * gdb.base/display.exp: Make sure that when we say 'run', we are
25947 connected to the target. This is necessary when running not
25950 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25952 * gdb.base/step-test.exp: Removed some extraneous messages.
25954 * gdb.base/long_long.exp: Don't run memory examination tests
25955 on little-endian targets (they will need a different set of
25958 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25960 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25961 until somebody decides to fix GDB.
25963 * gdb.base/long_long.c: Stop compiler complaint by specifying long
25965 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25966 matches for a couple x/2 commands.
25968 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25970 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25971 by merging in ref-types2 tests.
25972 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25974 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25975 * gdb.c++/Makefile.in: Add standard actions.
25976 (EXECUTABLES): Rename from PROGS, update list.
25977 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25979 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25980 foo and bar locals.
25981 * gdb.c++/anon-union.exp: Fix tests to match.
25982 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25983 expect matches to handle output variations.
25984 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25985 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
25986 output, add HP alternatives for new and delete prints.
25987 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
25988 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
25989 * gdb.c++/demangle.exp: Use $style when reporting failure.
25990 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25991 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25992 match alternatives.
25993 * gdb.c++/local.exp: Add match alternatives or xfails for HP
25995 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25996 * gdb.c++/method.exp: Add match alternatives.
25997 * gdb.c++/misc.cc: Add bool types.
25998 * gdb.c++/misc.exp: Add tests for bool types.
25999 * gdb.c++/overload.exp: Add xfails.
26000 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
26001 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
26002 add some more template parameter tests (only for HP currently).
26003 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
26004 * gdb.c++/virtfunc.cc: Add return type and value for main.
26005 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
26006 match alternatives.
26008 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26010 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
26012 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
26014 * gdb.base/signals.exp: Don't expect getting a backtrace from
26015 within a signal handler to fail on Linux.
26017 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
26019 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26020 * lib/gdb.exp: Remove some gratuitious semicolons.
26021 (delete_breakpoints): Increase timeout.
26022 (gdb_expect): Add -notransfer option.
26023 (gdb_test): Use -notransfer option.
26024 (get_compiler_info): Add f77 case.
26025 (get_compiler): New proc, split out from gdb_preprocess, add f77
26027 (gdb_preprocess): Call get_compiler.
26029 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
26030 * gdb.base/attach.exp, gdb.base/display.exp,
26031 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
26032 gdb.base/long_long.exp, gdb.base/printcmds.exp,
26033 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
26034 third arg to gdb_test.
26035 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
26036 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
26037 HP-UX xfails, add others.
26038 * gdb.base/completion.exp: Reflect name change of self-test.
26039 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
26040 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26041 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26043 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26044 useless HP-UX 10.30 references.
26045 * gdb.base/maint.exp: Loosen matches.
26046 * gdb.base/pointers.c (main): Declare more_code.
26047 * gdb.base/pointers.exp: Match on output of a `next'.
26048 * gdb.base/structs.c: Add prototypes.
26049 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26050 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26052 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26054 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
26057 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26059 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26060 Fix run to main failures. Watchpoint can be hardware watchpoint.
26062 * gdb.base/annota1.exp: Clean up some more, in case printf has
26063 debug info. Deal with lack of signal hanlder info in stack.
26065 From Jim Kingdon <kingdon@redhat.com>:
26066 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26068 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26070 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
26071 gdb.base/foll-vfork.exp: Don't run for crosses.
26073 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26075 * gdb.base/configure.in: Check for gdbvars.exp instead of
26077 * gdb.base/configure: Re-generate.
26079 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26081 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26082 in trying to run first and name is too long.
26084 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26085 pointers2.c and pointers2.exp, respectively.
26086 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26089 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26091 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26092 callfuncs2.c and callfuncs2.exp.
26094 * gdb.base/list.exp: Remove mistaken xfails.
26095 * gdb.base/list0.h: Add optional prototypes.
26097 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26099 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
26101 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26102 * ptype.exp: Move test for get_debug_format to before its first
26105 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26107 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26108 * gdb.base/annota2.cc, annota2.exp: Move from here.
26109 * gdb.c++/annota2.cc, annota2.exp: To here.
26110 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26112 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26114 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
26115 a consistent format.
26117 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26119 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26120 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26121 HP compilers, also set the globals $true and $false.
26123 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
26124 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26125 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26126 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26127 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26128 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26129 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26130 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26131 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26132 whatis.c} Add C++ compatible function definitions and return
26133 types, add includes for library functions.
26134 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26135 * gdb.base/step-test.c (myglob): Rename from glob.
26136 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
26137 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26138 files, move here from gdb.hp.
26139 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
26140 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26141 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26142 Adjust line numbers in regexps.
26144 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26145 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26148 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26149 foll-vfork.exp: New files, move here from gdb.hp.
26150 * gdb.base/page.exp: New file, test of pagination command.
26152 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26154 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26156 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
26157 gdb.base/solib.exp: Fix compiler invocation process.
26159 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
26160 HP-UX 11, turn off overload resolution explicitly.
26161 * gdb.base/commands.exp: Set argument list explicitly, add
26163 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26165 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26166 expressions properly.
26167 * gdb.base/corefile.exp: Loosen the match slightly.
26168 * gdb.base/default.exp: Allow "Error accessing memory" message
26170 * gdb.base/display.exp: Skip over x/0 j if PA64.
26171 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26172 * gdb.base/interrupt.exp: Ditto.
26173 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26175 * gdb.base/list.exp: Add xfails for HP-UX.
26176 * gdb.base/long_long.exp: Refine some of the numeric matches.
26177 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26178 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26179 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26180 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26181 * gdb.base/ptype.exp: Succeed on more varieties of output.
26182 * gdb.base/scope.exp: Add xfails for HP-UX.
26183 * gdb.base/sect-cmd.exp: Add more cases.
26184 * gdb.base/setvar.exp: Add xfails for HP-UX.
26185 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26186 * gdb.base/signals.exp: Match on void symbolically.
26187 * gdb.base/step-test.exp: Add case for PA64.
26188 * gdb.base/term.exp: Add exit and restart.
26189 * gdb.base/twice.exp: Clean up after self.
26190 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26191 * gdb.base/whatis.exp: Allow more ways to pass tests.
26193 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
26196 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26198 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
26200 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
26201 print_double_array(double_array)", "continuing to breakpoint
26202 1018", "print print_double_array(array_d)" and "continuing to
26205 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26207 * Makefile.in: Add empty html and install-html targets.
26209 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26211 * config/mt-*: Remove, these haven't been used since 1996.
26213 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26215 * gdb.base/call-strs.c, gdb.base/ending-run.c,
26216 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
26217 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26219 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26221 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26222 simpler match case for the ptype of the big class.
26224 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26226 * gdb.exp: Fix test for gdb_prompt existence.
26228 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26230 * gdb.exp (gdb_test): Add fail after calls to perror.
26232 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26234 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26236 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26238 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26240 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26242 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
26243 malloc() is linked in.
26245 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26247 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26250 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26252 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26254 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26256 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26258 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26259 * gdb.base/mips_pro.exp: Likewise.
26261 1999-06-02 Keith Seitz <keiths@cygnus.com>
26263 * gdb.c++/templates.cc: Change all "new" operators to throw
26265 * gdb.c++/cplusfuncs.cc: Likewise.
26267 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26269 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26271 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
26272 * gdb.base/ending-run.exp: When stepping out of main, accept a
26273 step into an arbitrary assembler file.
26275 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26277 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
26278 "breakpoint-invalid" to be printed.
26279 * gdb.base/annota2.exp: Revise line number for main
26280 breakpoint. Allow any number of "frames-invalid" and
26281 "breakpoint-invalid" to be printed.
26282 * gdb.base/annota2.cc: Initialize a.x to 0.
26284 1999-05-17 Keith Seitz <keiths@cygnus.com>
26286 * gdb.base/call-ar-st.exp: Skip
26287 "print print_double_array (double_array)" when "skip_float_tests" set.
26288 Ditto for "print print_double_array(array_d)",
26289 "print print_small_structs", "print print_ten_doubles", and
26290 "step into print_long_arg_list".
26291 Don't assume we can step into "print_long_arg_list": we could step
26293 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26294 "skip_float_tests" is set: "print print_one_double(*d1)"
26295 and "print print_two_floats(*f3)".
26296 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26297 "skip_float_tests" is set.
26298 * gdb.base/varargs.exp: Skip
26299 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26300 "skip_float_tests" set.
26302 1999-05-06 Keith Seitz <keiths@cygnus.com>
26304 * gdb.base/annota2.cc: Include stdio.h.
26306 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26308 * gdb.base/crossload.exp: Remove, this has been disabled ever
26309 since BFD stopped including all targets, and cross-GDB gets
26310 plenty of testing anyway.
26311 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
26312 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26313 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
26314 * gdb.base/README: Remove, was doc for this.
26315 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
26318 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26320 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26323 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26324 * gdb.base/annota2.exp: New file. More annotation tests.
26325 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26326 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26328 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
26330 * config/cfdbug.exp: New file.
26332 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26334 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26335 Marcus Daniel's and Dale Hawkins's demangler crashes.
26337 * gdb.c++/demangle.exp (test_gnu_style_demangling,
26338 test_lucid_style_demangling, test_arm_style_demangling,
26339 test_hp_style_demangling): Try Tom Tromey's core-dumping
26340 identifier under each demangling style.
26342 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26344 * gdb.c++/demangle.exp: Include the current demangling style
26346 (current_demangling_style): New global variable.
26347 (set_demangling_style, test_demangling_core, test_demangling,
26348 test_demangling_exact): New functions.
26349 (test_gnu_style_demangling, test_lucid_style_demangling,
26350 test_arm_style_demangling, test_hp_style_demangling): Use those,
26351 instead of calling gdb_test and gdb_test_exact directly.
26352 (catch_demangling_errors): New function, which reports errors
26353 signalled by the demangling test functions in an orderly way.
26354 (do_tests): Use catch_demangling_errors.
26356 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26358 * gdb.base/signals.exp (test_handle_all_print): Use () for
26359 grouping in expressions, not {}.
26361 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
26364 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26366 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26369 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26371 * gdb.stabs/weird.exp: Test for CC being defined before
26372 looking at its value.
26374 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26376 * gdb.base/call-ar-st.exp: Remove stray '#'.
26377 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26378 "short int" and "long int".
26379 * gdb.c++/overload.cc: Cast the string added in the previous
26380 change, to mollify finicky HP compiler.
26381 * gdb.hp/reg-test.exp (testfile): Fix file name.
26382 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
26384 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26385 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26386 alternate form of enum ptype.
26388 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26390 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26391 * gdb.hp/*.exp: Change all to run compiler probe only after
26392 passing skip_hp_tests, so as not to waste time on guaranteed
26395 * gdb.c++/overload.cc: Pass string instead of char addr, always
26397 * gdb.c++/templates.cc: Fix syntax error.
26399 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26401 * gdb.base/commands.exp: Add test for correct position of '>'
26402 when issuing the 'commands' command after a 'while' or 'if'
26405 1999-03-18 James Ingham <jingham@cygnus.com>
26407 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26409 * gdb.c++/method.exp: It was testing an uninitialized int on the
26410 stack and assuming it was positive.
26412 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26414 * gdb.base/step-test.exp: Catch a case where finish is broken and
26415 keep it from killing the rest of the tests.
26416 Use gdb_continue_to_end.
26418 * gdb.base/sigall.exp: use gdb_continue_to_end.
26420 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26422 * gdb.base/display.exp: use runto_main, not run.
26424 * gdb.base/default.exp: Check for the current error message in the
26425 r abbreviation test.
26426 Add strongarm to the targets that know info float.
26428 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
26429 run which doesn't work with monitors.
26431 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26434 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26436 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26437 end of a program. Traps the case (in Cygmon) when the program
26438 never really exits. Same as Mark's continue_to_exit, but I had
26439 put it in a lot more places, so I used my name. Sorry Mark...
26441 * config/monitor.exp (gdb_target_monitor): added another
26442 target_info parameter: remotebinarydownload. This will set the
26443 remotebinarydownload flag if this is causing some boards trouble.
26445 1999-03-18 Mark Salter <msalter@cygnus.com>
26447 * lib/gdb.exp (continue_to_exit): New function.
26449 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26450 * gdb.base/ending-run.exp: Ditto.
26451 * gdb.base/step-test.exp: Ditto.
26453 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26455 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26456 (suggested by Art Haas <ahaas@neosoft.com>).
26458 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26460 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
26462 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26464 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
26465 descriptions of types (short unsigned int vs unsigned short, etc).
26467 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26469 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26470 a call to strlen; sometimes we do have sources.
26472 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26474 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
26475 character, so GDB won't print garbage after its end.
26477 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26478 breakpoint there instead. Sometimes GCC emits memcpy to handle
26479 the large structures being passed by value, so we step into that
26480 instead of sum_array_print, which obscures what we're really testing.
26481 * gdb.base/step-test.exp: However, we do want a test that notices
26482 the bizarre steps into memcpy, so do that here. Add check for
26483 stepping into function calls that pass large structures by value.
26484 ("Is that a noun clause, or are you just happy to see me?")
26485 Remove all references to specific line numbers.
26486 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26487 New type and function.
26488 (main): Call large_struct_by_value, passing it a large struct by value.
26489 * lib/gdb.exp (gdb_get_line_number): New function.
26491 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26494 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26496 * lib/gdb.exp: Doc fixes.
26498 1999-03-05 Nick Clifton <nickc@cygnus.com>
26500 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
26502 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26504 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
26505 commands. They're not germane to this test, and they don't work
26506 that way on remote targets.
26508 1999-03-01 James Ingham <jingham@cygnus.com>
26510 * Changelog entries merged over from gdb development branch.
26512 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26514 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26515 for outputting results of test run.
26517 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
26519 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
26521 1999-02-25 Felix Lee <flee@cygnus.com>
26523 * lib/gdb.exp (debug_format): initialize
26525 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26527 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26528 * gdb.base/call-rt-st.c: Ditto.
26530 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26532 * gdb.threads/pthreads.exp (horiz): New variable.
26533 (test_startup): Fix regexps that capture thread numbers.
26535 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26537 * gdb.base/smoke.exp: Disambiguate two test case names (both
26540 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26542 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
26545 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26547 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26548 actual output formatting.
26549 * gdb.base/smoke.exp: GDB removes leading 0's.
26550 * gdb.base/volatile.exp: Don't check type of remuneration;
26551 that variable is no longer defined in constvars.c.
26552 * gdb.base/step-test.c (main): Exit with explicit exit code.
26553 * gdb.base/step-test.exp: Remove two nexti checks--they are
26556 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26558 * gdb.base/help.exp ("help delete display"): Fix test to match
26561 * gdb.base/long_long.c (known_types): Initialize values to zero.
26562 * gdb.base/long_long.exp: Step one more line
26563 so 'dec' is initialized in "get to known place". GDB removes
26564 leading zeros. Explicitly ask for hex formatting. Use
26565 unique test case names.
26567 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26569 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
26571 * gdb.c++/method.exp: Add missing close brace.
26573 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26575 * gdb.base/maint.exp: Use 'set height 0' to disable page
26576 prompting, not 'set height 400'.
26578 Fix a bunch of timeouts.
26579 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26580 four separate tests, so expect doesn't take forever to match a ton
26581 of text against a regexp with lots of .* forms.
26582 ("maint print psymbols", "maint print symbols"): Make some of
26583 these greps more selective, so that expect doesn't try to wade
26584 through huge piles of output and time out.
26586 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26588 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
26589 tests: one which doesn't expect shlib events to be reported, and
26590 another which does, but is XFAIL for all platforms other than
26593 * gdb.base/break.exp: Teach the test suite that the `catch
26594 fork', `catch vfork', and `catch exec' commands produce error
26595 messages on platforms that don't provide these features.
26597 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26599 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
26600 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26601 (shortening names from solib_threshold.exp etc), won't run on
26602 anything but HP-UX for the foreseeable future.
26603 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
26606 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26608 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
26609 gdb.trace/Makefile.in (clean): Remove all test executables.
26611 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26613 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26614 successfully re-sets breakpoints in shared libraries.
26615 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26617 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26619 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26620 and compiled w/o GCC.
26622 * gdb.hp/watch-cmd.exp: ditto.
26624 * gdb.hp/watch-hp.exp: ditto.
26626 * gdb.hp/xdb1.exp: ditto.
26628 * gdb.hp/xdb2.exp: ditto.
26630 * gdb.hp/dbx.exp: ditto.
26632 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26634 * constvars.c: Remove C++-isms.
26635 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
26638 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26640 The following changes are part of the HP merge.
26642 * gdb.base/break.exp: new tests to verify that catchpoints for
26643 fork, vfork, and exec don't trigger inappropriately.
26645 * gdb.base/opaque.exp: compile one file at a time, then link.
26647 * gdb.base/signals.exp: be more restrictive about which hppa
26648 systems receive a setup_xfail. new tests.
26650 * gdb.base/solib_threshold.build: new file.
26651 * gdb.base/solib_threshold.exp: new file.
26652 * gdb.base/solib_threshold.link_opts: new file.
26653 * gdb.base/solib_threshold.mk: new file.
26654 * gdb.base/gen_solib_threshold.c: new file.
26656 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26657 tests. New tests for enums inside classes.
26659 * gdb.c++/compiler.cc: indicate support of template debugging.
26661 * gdb.c++/demangle.exp: run hp style demangling tests.
26663 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26666 * gdb.c++/misc.cc: changes to support new tests.
26668 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26669 to support new tests.
26671 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26672 gcc, then skip these tests.
26674 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26676 The following files are part of the HP merge; some had longer
26677 names at HP, but have been renamed to be no more than 14
26678 characters in length.
26680 * gdb.hp/ambiguous.cc: new file.
26681 * gdb.hp/ambiguous.exp: new file.
26682 * gdb.hp/attach.exp: new file.
26683 * gdb.hp/attach2.exp: new file.
26684 * gdb.hp/classes-hp.exp: new file.
26685 * gdb.hp/ctti.exp: new file.
26686 * gdb.hp/ctti-add.cc: new file.
26687 * gdb.hp/ctti-add1.cc: new file.
26688 * gdb.hp/ctti-add2.cc: new file.
26689 * gdb.hp/ctti-add3.cc: new file.
26690 * gdb.hp/dbx.exp: new file.
26691 * gdb.hp/exception.cc: new file.
26692 * gdb.hp/exception.exp: new file.
26693 * gdb.hp/foll-exec.c: new file.
26694 * gdb.hp/foll-exec.exp: new file.
26695 * gdb.hp/foll-fork.c: new file.
26696 * gdb.hp/foll-fork.exp: new file.
26697 * gdb.hp/foll-vfork.c: new file.
26698 * gdb.hp/foll-vfork.exp: new file.
26699 * gdb.hp/inherit-hp.exp: new file.
26700 * gdb.hp/more-steps.exp: new file.
26701 * gdb.hp/namespace.cc: new file.
26702 * gdb.hp/namespace.exp: new file.
26703 * gdb.hp/optimize.exp: new file.
26704 * gdb.hp/pxdb.c: new file.
26705 * gdb.hp/pxdb.exp: new file.
26706 * gdb.hp/quicksort.exp: new file.
26707 * gdb.hp/reg-test.exp: new file.
26708 * gdb.hp/reg-test.s: new file.
26709 * gdb.hp/sized-enum.c: new file.
26710 * gdb.hp/sized-enum.exp: new file.
26711 * gdb.hp/start-stop.exp: new file.
26712 * gdb.hp/templ-hp.cc: new file.
26713 * gdb.hp/templ-hp.exp: new file.
26714 * gdb.hp/thr-lib.c: new file.
26715 * gdb.hp/thr-lib.exp: new file.
26716 * gdb.hp/thr-lib.h: new file.
26717 * gdb.hp/thr-liblib.c: new file.
26718 * gdb.hp/virtfun-hp.c: new file.
26719 * gdb.hp/virtfun-hp.exp: new file.
26720 * gdb.hp/watch-cmd.exp: new file.
26721 * gdb.hp/watch-hp.exp: new file.
26722 * gdb.hp/xdb1.exp: new file.
26723 * gdb.hp/xdb2.exp: new file.
26724 * gdb.hp/xdb3.exp: new file.
26726 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26728 The following files are part of the HP merge; some had longer
26729 names at HP, but have been renamed to be no more than 14
26730 characters in length.
26732 * gdb.base/ss.h: new file.
26733 * gdb.base/call-ar-st.c: new file.
26734 * gdb.base/call-ar-st.exp: new file.
26735 * gdb.base/call-rt-st.c: new file.
26736 * gdb.base/call-rt-st-exp: new file.
26737 * gdb.base/call-strs.exp: new file.
26738 * gdb.base/ena-dis-br.exp: new file.
26739 * gdb.base/environ.exp: new file.
26740 * gdb.base/long_long.exp: new file.
26741 * gdb.base/sect-cmd.exp: new file.
26742 * gdb.base/shlib-cl2.exp: new file.
26743 * gdb.base/smoke.exp: new file.
26744 * gdb.base/so-impl-ld.c: new file.
26745 * gdb.base/so-impl-ld.exp: new file.
26746 * gdb.base/so-indr-cl.c: new file.
26747 * gdb.base/so-indr-cl.exp: new file.
26748 * gdb.base/varargs.exp: new file.
26749 * gdb.base/volatile.exp: new file.
26750 * gdb.base/whatis-exp.exp: new file.
26751 * gdb.base/display.exp: new file.
26752 * gdb.c++/derivation.exp: new file.
26753 * gdb.c++/local.exp: new file.
26754 * gdb.c++/member-ptr.exp: new file.
26755 * gdb.c++/overload.exp: new file.
26756 * gdb.c++/ovldbreak.exp: new file.
26757 * gdb.c++/ref-types.exp: new file.
26758 * gdb.c++/ref-types2.exp: new file.
26759 * gdb.c++/userdef.exp: new file.
26761 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26763 * gdb.base/default.exp: Reflect wording change in remote.c.
26765 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
26767 * gdb.base/help.exp: Update to reflect current text.
26769 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26771 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26772 they're stack variables and contain garbage.
26773 * gdb.c++/anon-union.exp: new file.
26775 The following changes were made by David Taylor
26776 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26777 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26780 * gdb.base/bitops.exp: new file.
26781 * gdb.base/default.exp: change expected messages for catch and
26782 info catch tests to reflect HP merge changes.
26783 * gdb.base/enable-disable-break.exp
26784 * gdb.base/ending-run.c: new file.
26785 * gdb.base/long_long.c: new file.
26786 * gdb.base/maint.exp: new file.
26787 * gdb.base/pointers2.exp: new file.
26788 * gdb.base/shlib-call2.exp: new file.
26789 * gdb.base/solib.exp: new file.
26790 * gdb.base/step-test.c: new file.
26791 * gdb.c++/anon-union.cc: new file.
26792 * gdb.c++/local.cc: new file.
26793 * gdb.c++/member-pointer.cc: new file.
26794 * gdb.c++/method.cc: new file.
26795 * gdb.c++/ref-types.cc: new file.
26796 * gdb.c++/ref-types2.cc: new file.
26797 * gdb.c++/userdef.cc: new file.
26799 * gdb.base/scope.exp: compile one file at a time, then link.
26800 * gdb.base/langs.exp: ditto.
26801 * gdb.base/list.exp: ditto.
26803 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26805 The following changes were made by David Taylor
26806 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26807 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26810 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26811 skip tests. When compiling pass c++ flag to gdb_compile.
26814 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26815 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26816 (skip_hp_tests): new function.
26817 (gdb_preprocess): new function.
26819 * configure.in (hpdir): decide whether to configure gdb.hp.
26820 * configure: regenerated.
26822 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26823 to delete on clean.
26824 (EXECUTABLES): update to reflect new additions.
26825 * gdb.base/commands.exp: update message expected.
26826 * gdb.base/default.exp: add copyright notice.
26827 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26828 * gdb.base/help.exp: update messages to reflect current text.
26829 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26830 targets for recurse tests.
26831 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26834 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26835 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26837 * gdb.c++/misc.exp: ditto.
26838 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26839 run the tests. tell gdb_compile that it's a c++ compilation.
26841 * gdb.threads/pthreads.exp: fix typo in message.
26843 * gdb.base/all-bin.exp: new file.
26844 * gdb.base/arithmet.exp: new file.
26845 * gdb.base/assign.exp: new file.
26846 * gdb.base/completion.exp: new file.
26847 * gdb.base/cond-expr.exp: new file.
26848 * gdb.base/condbreak.exp: new file.
26849 * gdb.base/define.exp: new file.
26850 * gdb.base/dollar.exp: new file.
26851 * gdb.base/environment.exp: new file.
26852 * gdb.base/eval-skip.exp: new file.
26853 * gdb.base/jump.exp: new file.
26854 * gdb.base/logical.exp: new file.
26855 * gdb.base/pointers.exp: new file.
26856 * gdb.base/relational.exp: new file.
26857 * gdb.base/section_command.exp: new file.
26858 * gdb.base/whatis-expr.exp: new file.
26860 * gdb.base/all-types.c: new file.
26861 * gdb.base/call-array-struct.c: new file.
26862 * gdb.base/call-return-struct.c: new file.
26863 * gdb.base/call-strings.c: new file.
26864 * gdb.base/callfuncs2.c: new file.
26865 * gdb.base/condbreak.c: new file.
26866 * gdb.base/constvars.c: new file.
26867 * gdb.base/display.c: new file.
26868 * gdb.base/int-type.c: new file.
26869 * gdb.base/jump.c: new file.
26870 * gdb.base/miscexprs.c: new file.
26871 * gdb.base/pointers.c: new file.
26872 * gdb.base/pointers2.c: new file.
26873 * gdb.base/shmain.c: new file.
26874 * gdb.base/shr1.c: new file.
26875 * gdb.base/shr2.c: new file.
26876 * gdb.base/solib.c: new file.
26877 * gdb.base/solib1.c: new file.
26878 * gdb.base/solib2.c: new file.
26879 * gdb.base/varargs.c: new file.
26880 * gdb.c++/derivation.cc: new file.
26881 * gdb.c++/overload.cc: new file.
26882 * gdb.c++/ovldbreak.cc: new file.
26883 * gdb.hp/attach.c: new file.
26884 * gdb.hp/attach2.c: new file.
26885 * gdb.hp/average.c: new file.
26886 * gdb.hp/compiler.c: new file.
26887 * gdb.hp/compiler.cc: new file.
26888 * gdb.hp/execd-program.c: new file.
26889 * gdb.hp/follow-exec.c: new file.
26890 * gdb.hp/follow-fork.c: new file.
26891 * gdb.hp/follow-vfork-and-exec.c: new file.
26892 * gdb.hp/misc-hp.cc: new file.
26893 * gdb.hp/more-steps.c: new file.
26894 * gdb.hp/optimize.c: new file.
26895 * gdb.hp/quicksort.c: new file.
26896 * gdb.hp/run-hp.c: new file.
26897 * gdb.hp/start-stop.c: new file.
26898 * gdb.hp/sum.c: new file.
26899 * gdb.hp/templates-hp.cc: new file.
26900 * gdb.hp/thread-local-in-lib.c: new file.
26901 * gdb.hp/thread-local-in-lib.h: new file.
26902 * gdb.hp/thread-local-in-lib.lib.c: new file.
26903 * gdb.hp/vforked-program.c: new file.
26904 * gdb.hp/virtfunc-hp.cc: new file.
26905 * gdb.hp/watchpoint-hp.c: new file.
26906 * gdb.hp/xdb.c: new file.
26907 * gdb.hp/xdb0.c: new file.
26908 * gdb.hp/xdb0.h: new file.
26909 * gdb.hp/xdb1.c: new file.
26911 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26913 The following change was made by Edith Epstein
26914 <eepstein@cygnus.com> as part of a project to merge in changes
26915 originally made by HP; HP did not create ChangeLog entries.
26917 * gdb.c++/demangle.exp: changed the expected output for some
26918 ARM-style mangling -- removed second reference to datatype.
26919 For example, maint demangle __dt__11T1__pt__2_cFv
26920 T1<char>::~T1<char>(void)
26922 maint demangle __dt__11T1__pt__2_cFv
26923 T1<char>::~T1(void)
26925 (test_hp_style_demangling): new hp specific demangling test cases.
26927 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26929 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26930 * gdb.trace/backtrace.exp: Likewise.
26931 * gdb.trace/circ.exp: Likewise.
26932 * gdb.trace/collection.exp: Likewise.
26933 * gdb.trace/deltrace.exp: Likewise.
26934 * gdb.trace/infotrace.exp: Likewise.
26935 * gdb.trace/limits.exp: Likewise.
26936 * gdb.trace/packetlen.exp: Likewise.
26937 * gdb.trace/passc-dyn.exp: Likewise.
26938 * gdb.trace/passcount.exp: Likewise.
26939 * gdb.trace/report.exp: Likewise.
26940 * gdb.trace/save-trace.exp: Likewise.
26941 * gdb.trace/tfind.exp: Likewise.
26942 * gdb.trace/tracecmd.exp: Likewise.
26943 * gdb.trace/while-dyn.exp: Likewise.
26944 * gdb.trace/while-stepping.exp: Likewise.
26946 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26948 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26950 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26952 From Brendan Kehoe:
26953 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26956 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26958 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
26959 remote dos host testing right.
26961 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26963 * gdb.base/corefile.exp: remove some xfails.
26965 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26967 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
26968 have different timestamps.
26970 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26972 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
26973 gdb.base/default.exp: Replace "exec" with "executable".
26975 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26977 * gdb.base/default.exp: Change else if to elseif from previous
26980 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26982 * gdb.base/default.exp: Add brace missing from previous delta.
26984 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26986 * gdb.base/default.exp: Support test for info float for all
26987 varieties of arm toolchain.
26989 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
26991 * gdb.trace/*.exp: remove "remote_download" command.
26993 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
26995 * gdb.trace/*.exp: remove -gdwarf from compile.
26997 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26999 * gdb.trace/configure.in(AC_INIT): typo
27000 * gdb.trace/configure: regenerated
27002 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
27004 * config/m68k-emc.exp: New file.
27005 * lib/<emc-support.exp trace-support.exp}: New files.
27006 * configure.in: add new test directory gdb.trace.
27007 * gdb.trace/{configure configure.in Makefile.in}: New files.
27008 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
27009 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
27010 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
27011 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
27012 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
27013 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
27014 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
27016 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
27018 * gdb.c++/classes.exp: Change all regular expressions to match
27019 arbitrary combinations of newline/carriage-return, so that they
27020 will work equally well on Unix and Windows.
27021 * gdb.c++/inherit.exp: ditto.
27022 * gdb.c++/virtfunc.exp: ditto.
27024 1998-08-11 Dawn Perchik <dawn@cygnus.com>
27026 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
27028 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
27030 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
27031 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
27032 to use a0-a3/d0-d3 as needed.
27034 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
27036 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
27037 * gdb.disasm/am33.exp: Corresponding changes.
27039 1998-07-11 Felix Lee <flee@cygnus.com>
27041 * gdb.base/callfuncs.exp: add cmp10 test.
27042 * gdb.base/callfuncs.c (cmp10): new function.
27044 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27046 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
27047 into two parts to get around a synchronization problem in expect.
27049 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27051 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27053 * configure.in: Add options for gdbtk testsuite.
27055 * configure: Regenerate.
27057 * gdb.gdbtk: New directory to hold gdbtk tests.
27059 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27061 * gdb.fortran/types.exp: Escape brackets in expect patterns
27062 for test_float_literal_types_accepted tests.
27063 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27066 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27068 * am33.exp: Just compile, do not link the testcase.
27069 * am33.s: Add ".am33" pseudoop to force am33 mode.
27071 1998-06-25 Felix Lee <flee@cygnus.com>
27073 * gdb.base/setshow.exp: make sure $pc is sane.
27075 * gdb.stabs/weird.exp: split expect patterns properly.
27077 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27079 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27080 * gdb.disasm/am33.exp: Run it.
27082 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
27084 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27085 match processing (and eliminate spurious timeouts when running).
27087 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
27089 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27090 exception test, but conditionalize it on target [mach | gnu].
27092 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
27094 * gdb.base/overlays.exp: fixup compile line for linker script.
27096 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27098 * gdb.fortran/types.exp: don't guess at float size.
27100 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27102 * gdb.base/exprs.exp: delete test that depends on int size.
27104 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27106 * config/sim.exp: Removed checks for target triplets.
27107 (gdb_target_sim): Use gdb,target_sim_options.
27109 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27111 * gdb.base/reread.exp: New file.
27112 * gdb.base/reread1.c: New file.
27113 * gdb.base/reread2.c: New file.
27115 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27117 * config/sim.exp: Use 'target sim -sparclite' when running
27118 SPARClite programs.
27120 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27122 * gdb.base/structs2.exp: New file.
27123 * gdb.base/structs2.c: New file.
27125 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27127 * gdb.asm/common.inc: New file.
27128 * gdb.asm/d10v.inc: New file.
27129 * asm-source.exp: Pass -I's to gas to find .inc files.
27130 Update line numbers in expected output.
27131 * asmsrc1.s: Rewrite.
27132 * asmsrc2.s: Rewrite.
27133 * configure.in: Create arch.inc symlink.
27134 * configure: Regenerate.
27135 * Makefile.in (distclean): Delete arch.inc.
27137 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27139 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
27140 (t_enum_value2): ditto
27141 (t_enum_value3): ditto
27143 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27145 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27146 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27148 Use gdb_test instead of send_gdb/gdb_expect sequences.
27150 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27152 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27155 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27157 * gdb.base/branches.c: Code with lots of loops and
27158 subroutines. Used to test gdbs ability to single step through PC
27159 changes, especially to test mips-tdep.c:mips_next_pc
27161 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27163 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27164 more rigorous EGCS C++ error checking.
27166 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27168 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27170 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27171 function when asleep.
27172 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27173 for i*86 Linux and SVR4 signal handling problems.
27174 Remove linux xfail for `next to handler in signals_tests_1', fixed
27175 by recent infrun.c change.
27176 Limit backtrace to 10 frames to avoid timeout problems with infinite
27178 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27179 target.[ch] change.
27181 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27183 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27184 for a newline from gdb before continuing.
27185 (default_gdb_exit): Just look for y or n.
27186 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27187 it does, fail the rests of the tests in the file.
27189 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27191 * config/cygmon.exp: New file.
27193 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27195 * gdb.base/list.exp: Fix problem with "list default lines around
27196 main" test on remote targets.
27198 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27199 run test on remote targets.
27201 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27203 * gdb.asm: New directory.
27204 * configure.in: Configure it.
27205 * configure: Regenerate.
27206 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27207 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27209 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27211 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27213 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
27215 * gdb.base/overlays (several files): Merge the two overlay
27216 managers into one. Change variables (foox, barx, bazx, grbxx)
27217 back into ints but force them to load in their proper sections.
27219 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27221 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
27222 on-chip insn memory and IMAP1 to upper 128k.
27223 (D10VCopy): Handle memory regions crossing 16k boundaries.
27224 (D10VCopy): Transfer data in 32 bit chunks.
27226 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27228 * gdb.base/overlays.c (main): Exit normally when result is
27231 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
27232 map. Include space for printf in .text segment.
27234 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
27235 updated d10v memory VMA/LMA map.
27236 (D10VCopy): Call D10VTranslate.
27238 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27240 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27242 * gdb.base/bar.c (barx, bar): Change variable to small array so
27243 that it won't be put into the .sdata - small data -
27244 section. Update reference.
27245 * gdb.base/baz.c (bazx, baz): Ditto.
27246 * gdb.base/foo.c (foox, foo): Ditto.
27247 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27249 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
27252 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
27254 * gdb.base/overlays.exp: fix up and get working again.
27255 Add tests for backtraces from an overlay function.
27257 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27259 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27260 "calling function with watchpoint enabled".
27262 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27264 * gdb.base/break.exp (test_next_with_recursion): Remove
27265 gdb_suppress_tests for d10v-*-*.
27266 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27267 pending review of whether it is useful or not.
27269 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27271 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27273 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27275 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27276 * config/dve.exp: New file to support Densan boards.
27278 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27280 * gdb.base/interrupt.exp: Document problem of simulators, signals,
27283 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27285 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27288 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27290 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27292 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
27295 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
27296 target_sizeof_long and target_bigendian_p.
27297 (structs_by_value, structs_by_reference): Check values according
27298 to targets word size and endianess.
27300 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27302 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
27305 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27307 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
27308 Update test of set args help to match source change.
27310 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27312 * gdb.base/default.exp: Expect help system output to be in
27313 alphabetical order.
27314 * gdb.base/help.exp: Ditto.
27316 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27318 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27319 "i*86-pc-linux-gnu*".
27320 * gdb.base/interrupt.exp: Ditto.
27321 * gdb.base/corefile.exp: Ditto.
27323 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
27324 define vxworks when building the testcase.
27326 * gdb.base/ptype.exp: Fix testnames to be unique.
27327 * gdb.base/radix.exp: Ditto.
27328 * gdb.base/term.exp: Ditto.
27329 * gdb.base/whatis.exp: Ditto.
27330 * gdb.c++/classes.exp: Ditto.
27332 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27334 * gdb.base/callfuncs.exp: Fix indentation.
27336 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27337 suppress_flag has been set.
27338 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27341 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27343 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27346 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
27347 set_debug_traps() and breakpoint().
27348 * gdb.c++/misc.cc (main): Ditto.
27349 * gdb.c++/templates.cc (main): Ditto.
27350 * gdb.c++/virtfunc.cc (main): Ditto.
27352 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27354 * lib/gdb.exp(gdb_step_for_stub): New function.
27355 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27356 exists, reload the executable and do a "continue" instead of
27358 (runto_main): Use gdb_step_for_stub.
27360 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
27361 tests to have unique names.
27362 * gdb.base/callfuncs.exp: Ditto.
27363 * gdb.base/commands.exp: Ditto.
27364 * gdb.base/default.exp: Ditto.
27365 * gdb.base/help.exp: Ditto.
27366 * gdb.base/list.exp: Ditto.
27367 * gdb.base/opaque.exp: Ditto.
27368 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27371 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27372 * gdb.c++/cplusfuncs.cc: Ditto.
27373 * gdb.c++/virtfunc.cc: Ditto.
27375 * config/monitor.exp: Keep track of the last file we saw, rather
27376 than trying to get the info from gdb.
27378 * gdb.fortran/types.exp: Move comment to previous line.
27380 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27382 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
27385 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27388 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
27389 string from GDB when it connects.
27391 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27393 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27395 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
27396 if we can't get a debug format from GDB (we may be testing an
27397 older GDB). Use a 10 second timeout when checking for the format.
27399 * gdb.stabs/weird.exp: Fix quoting.
27401 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27403 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27405 * config/arm-ice.exp: New file.
27407 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27409 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
27410 until it has been modified to work with the new testsuite.
27412 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
27413 testcase won't compile, cause all of the testcases in the file to
27416 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27417 (gdb_clear_suppressed): New procedure.
27418 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27419 it contains a positive value.
27421 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27423 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27425 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27427 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27429 * lib/gdb.exp (setup_xfail_format): New function.
27430 (get_debug_format): New function to get debug format.
27431 (debug_format): New global variable to hold last value set
27432 by get_debug_format.
27433 * gdb.base/list.exp: Call get_debug_format and expect some
27434 tests to fail for DWARF 1 and COFF formats.
27435 * gdb.c++/ptype.exp: Ditto.
27436 * gdb.c++/classes.exp: Ditto.
27437 * gdb.c++/cplusfuncs.exp: Ditto.
27438 * gdb.c++/inherit.exp: Ditto.
27439 * gdb.c++/templates.exp: Ditto.
27440 * gdb.c++/virtfunc.exp: Ditto.
27442 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27444 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27445 host doesn't have a currently-open connection.
27447 * config/sparclet.exp: Cleanups and fixes to make it generic for
27448 any gdb stub target. Handle cases where gdb doesn't respond when
27449 interrupted in a sane fashion.
27451 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
27452 same thing in a totally different way.
27454 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
27456 (gdb_start): We set the global gdb_prompt variable in
27457 default_gdb_init now.
27459 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27461 * gdb.base/printcmds.exp: Fix "check for floating addition"
27462 regexp to accept results within approx +/- .01 of exact value.
27463 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27465 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27467 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
27469 (gdb_expect): Add optional timeout parameter, and add timeout
27470 value to various calls.
27471 (gdb_suppress_tests): Only give one warning message per group.
27473 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27475 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
27476 global variables. Handle getting a value for $timeout more
27479 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27481 * lib/gdb.exp: Close connection to remote host if gdb doesn't
27483 (default_gdb_init): New procedure; allow gdb_init to be overridden
27484 by a target configuration file.
27485 (gdb_expect): Pass the timeout to remote_expect.
27487 * config/monitor.exp(gdb_load): Fix typo in regexp.
27489 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27491 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27493 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27495 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
27496 here. Call gdb_target_exec before rebooting the target, to make
27497 sure the connection to the target is closed.
27498 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27499 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27500 Also detect "Timeout reading from remote" error.
27502 * config/gdbserver.exp: Pass the executable being loaded to
27503 gdb_target_monitor. Don't call gdb_file_cmd here; let
27504 gdb_target_monitor do it.
27506 * gdb.disasm/hppa.exp: Don't use exec_output.
27508 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27510 * gdb.base/list.exp: If we're debugging a non-native target,
27511 try to set the pc register to point to the start of the
27512 program before doing the first list command.
27514 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
27515 test_calls after restarting.
27517 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
27520 * gdb.base/watchpoint.exp: Fix typo.
27522 * gdb.base/setshow.exp: Check for use_gdb_stub.
27524 * gdb.base/break.exp: Fix continue until exit test for the gdb
27526 * gdb.base/langs.exp: Ditto.
27528 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
27529 gdb_load_offset. If we weren't given a file to load, figure out
27530 what the current file is and use it.
27532 * config/i386-bozo.exp: New file.
27534 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27536 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27539 * config/proelf.exp: New entry.
27541 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27543 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27546 * gdb.base/watchpoint.exp: Don't run the test_stepping
27547 tests if gdb can't call functions on the target.
27549 * gdb.base/setshow.exp: Don't run the set prompt tests if
27550 the board has gdb_prompt set.
27552 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27554 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27555 * gdb.base/commands.exp: Likewise.
27556 * gdb.base/setshow.exp: Likewise.
27558 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27560 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27563 * config/i960.exp: New file.
27565 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27567 * gdb.base/funcargs.exp: Check for gdb,short_int target
27568 feature instead of looking for explicit target triplets.
27570 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
27572 * gdb.base/printcmds.exp: add a couple more tests a la
27573 "p 123DEADBEEF", to check parse_number.
27574 * top.c: change "to enable to enable" to "to enable" in a couple
27577 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27579 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27582 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27584 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27585 where the test executable is run with explicit args.
27586 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27588 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27590 * gdb.base/run.c: Use FAKEARGV to build test executable that
27591 does not require a command line arg, since most simulators
27592 don't currently support passing such an arg into the simulated
27594 * gdb.base/commands.exp: Change tests to insert the proper
27595 value as the arg to the first recursive factorial call. Change
27596 compilation line to define FAKEARGV at compile time.
27598 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27600 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27601 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27602 function with watchpoint enabled" test.
27604 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27606 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
27607 Don't call gdb_test when the command doesn't return to a gdb prompt.
27609 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
27610 "Tests restarted" messages.
27612 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27614 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27616 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
27618 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27619 for INFO SYMBOL; add help tests for OVERLAY commands.
27620 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27621 add tests for OVERLAY commands
27622 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27623 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27624 * gdb.base/sigall.c: add usestubs code frag
27625 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
27627 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27629 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27631 (gdb_stop_suppressing_tests): Note that tests have restarted.
27633 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27635 * config/h8300.exp: New file.
27637 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27639 * gdb.base/setshow.exp: Check for the existence of a
27640 feature, not its value.
27642 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27644 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27646 * gdb.base/scope.exp: It's now init0(), not init().
27648 * gdb.base/scope0.c: For now, change init() to be init0().
27650 * config/monitor.exp: Use gdb_serial in preference to serial
27653 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
27654 and it's not already set.
27656 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27658 * gdb.base/setshow.exp: Only test the run command if the target
27659 isn't using a stub and if it supports argument passing.
27661 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27663 * config/udi.exp(gdb_start): Make sure UDICONF is set
27664 properly before starting gdb.
27666 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27668 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27669 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27670 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27672 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27674 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
27675 specialized code to reboot the board, use remote_reboot instead.
27677 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27679 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27681 * config/monitor.exp: Make sure we disconnect from the target.
27682 Also, try a reboot/reload cycle instead of failing if the
27685 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27687 * gdb.base/default.exp: Don't set match_max.
27688 * gdb.base/help.exp: Ditto.
27689 * gdb.base/list.exp: Ditto.
27690 * gdb.base/signals.exp: Ditto.
27692 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27693 set, use remote_ld to download the testcase instead of
27696 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27698 * config/vr5000.exp: New file.
27700 * config/monitor.exp(gdb_target_monitor): Add pattern for
27701 "Ending remote" to detect errors in connecting.
27703 * gdb.base/setshow.exp: Add .* within auto language test.
27705 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27708 * config/monitor.exp(gdb_load): Check for a failure when loading,
27709 and reboot the board if necessary.
27711 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27712 a set of tests. Remove print.* from the patterns being checked.
27714 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27716 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27717 refer to gdb_spawn_id.
27719 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27721 * config/sparclet.exp: Ditto.
27722 * config/sparclet-old.exp: Ditto.
27723 * config/slite.exp: Ditto.
27724 * config/sim.exp: Ditto.
27725 * gdb.base/funcargs.exp: Ditto.
27727 * lib/gdb.exp:Remove references to gdb_spawn_id.
27728 (gdb_expect): Move to remote.exp.
27730 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27732 * config/monitor.exp: Detect the "Couldn't establish connection"
27735 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27737 * gdb.base/bitfields.exp: Use runto instead of explicit
27738 gdb_run_cmd/gdb_expect sequences.
27740 * gdb.base/break.exp(text_next_with_recursion): Add match for
27743 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27744 We also need to handle the "A program is being debugged already"
27745 prompt from gdb. Use gdb_test to set the baud rate.
27747 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27748 to 20000. Really. I mean it.
27750 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27752 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
27753 fails. If suppress_flag is set, skip perror message about not
27754 being able to send to GDB.
27755 (send_gdb): If suppress_flag is set, don't try to send commands to
27757 (gdb_expect): If suppress_flag is set, always fail immediately.
27758 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27759 (gdb_init): Call gdb_stop_suppressing_tests.
27760 (default_gdb_exit): Ditto.
27761 (default_gdb_start): Ditto.
27763 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
27764 gdb_stop_suppressing_tests as appropriate.
27765 * gdb.base/break.exp: Ditto.
27766 * gdb.base/callfuncs.exp: Ditto.
27767 * gdb.base/commands.exp: Ditto.
27768 * gdb.base/exprs.exp: Ditto.
27769 * gdb.base/funcargs.exp: Ditto.
27770 * gdb.base/list.exp: Ditto.
27771 * gdb.base/recurse.exp: Ditto.
27772 * gdb.base/scope.exp: Ditto.
27773 * gdb.base/structs.exp: Ditto.
27774 * gdb.c++/inherit.exp: Ditto.
27776 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27778 * config/vr4300.exp: New file.
27780 * gdb.*/*.exp: Call gdb_expect instead of expect.
27782 * lib/gdb.exp(gdb_expect): New function.
27784 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27786 * lib/gdb.exp(gdb_init): New function.
27788 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
27789 for each individual variable set.
27791 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27794 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27796 * gdb.base/scope.exp: Use gdb_test.
27798 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27799 aborting; the testsuite driver will do that for us (see
27800 gdb_finish). Also, use gdb_test in a few more places.
27802 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27804 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27806 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27808 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27809 and "add_tests" are not at the same address.
27811 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27813 * gdb.base/ptype.exp: Use gdb_test.
27815 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27817 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27818 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27819 left in. No longer expect them to fail.
27821 * gdb.stabs/*.mt; Deleted, no longer used.
27822 * gdb.stabs/configure.in: Remove references to target makefile
27824 * gdb.stabs/configure: Rebuilt.
27826 * gdb.disasm/*.mt: Deleted, no longer used.
27827 * gdb.disasm/configure.in: Remove references to target makefile
27828 frags. Use "sh3.s" as the unique filename for this directory.
27829 * gdb.disasm/configure: Rebuilt.
27831 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27832 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27833 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27835 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27837 * config/udi.exp: Use mondfe,name instead of remote_host.
27839 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27841 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27842 a function with a watchpoint enabled on the mn10200.
27844 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27845 before trying to create it!
27847 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27849 * config/vx.exp: Use hostname instead of netport.
27851 * config/vxworks.exp: New file.
27853 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27855 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
27856 gdb before assuming everything worked. Send a ^C if a timeout
27859 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27860 $gdb_spawn_id directly.
27861 (gdb_run_cmd): Try _start as well as start. Use the target feature
27862 gdb,start_symbol as the symbol to start from when jumping.
27864 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27866 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27869 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27870 it doesn't lose for 16bit integer systems.
27872 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27874 * gdb.fortran/types.exp: If the target doesn't support "double"
27875 data types, then expect "real" types to only be 4 bytes.
27877 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27878 call tests if the target doesn't support inferior function calls.
27880 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27883 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27885 * gdb.base/help.exp: Disable "help set", "help show", and
27886 "help support". Simplify regexp for "help stack".
27888 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27889 to 60 seconds. Temporarily set match_max to 15000 around the
27890 "info copying" test.
27892 * gdb.base/nodebug.exp: Don't try to do an inferior function
27893 call if the target doesn't support them.
27894 * gdb.base/printcmds.exp: Likewise.
27895 * gdb.base/setvar.exp: Likewise.
27896 * gdb.base/structs.exp: Likewise.
27897 * gdb.c++/templates.exp: Likewise.
27898 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27900 * gdb.base/recurse.exp: Enable for the mn10200.
27902 * configure.in: Do configure gdb.stabs directory for *-*-elf
27904 * configure: Rebuilt.
27906 * gdb.base/break.exp: Check for gdb,noresults before testing
27907 exit status and/or results from the target.
27908 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27909 * lib/gdb.exp: Remove old (now bogus) initialization of
27910 noinferior, noargs, noresults and nosignals.
27912 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27914 * config/sh.exp: New file.
27916 * config/slite.exp: Try to connect multiple times to the board
27917 before rebooting. Only send a "monitor run" if need_monitor_run
27920 * gdb.base/break.exp: Don't do the "stub continue" test if
27921 the target has gdb_stub set.
27923 * gdb.base/callfuncs.exp: Increase the timeout.
27925 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27926 if the target has gdb,noinferiorio set.
27928 * gdb.base/list.exp: Increase match_max to 10000 characters.
27930 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27932 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27935 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27937 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27939 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
27940 trying to delete the copy of gdb. Catch the file delete so we
27941 don't die if the delete fails; also, the file should be copied to
27942 the host, not to the build.
27944 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27946 * lib/gdb.exp(gdb_test): Surround the result pattern with
27947 parenthesis in case it contains multiple regexps separated
27950 * gdb.base/watchpoint.exp: Use gdb_test.
27951 * gdb.base/default.exp: Ditto.
27953 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27955 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
27957 * gdb.base/scope.exp: Use gdb_test.
27958 * gdb.c++/classes.exp: Ditto.
27959 * gdb.c++/inherit.exp: Ditto.
27961 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27963 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27964 remote_exec instead.
27965 * gdb.base/corefile.exp: Don't be ridiculous.
27966 * gdb.base/*.c: Add missing stub invocations.
27968 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27970 * config/slite.exp: Miscellaneous fixes.
27972 * lib/gdb.exp: Fix runto.
27974 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27977 * gdb.base/watchpoint.exp: Fix regexp.
27979 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27980 close and wait commands, as the descriptor may now be
27981 invalid. Always call "remote_close host".
27983 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27985 Major rewrite for testsuite revision.
27987 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27988 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27989 instead of relying on spawn_id to always contain a valid
27991 (get_compiler_info): New procedure to build the ${binfile}.ci
27992 file, instead of replicating this in N different places.
27993 (gdb_compile): New procedure.
27995 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
27996 appropriate arguments) instead of compile. Use gdb_test in a lot
27997 more places. Use send_gdb instead of send. Always run gdb_start
27998 at the start of a testcase, as this is no longer done magically.
28000 config/*-gdb.exp: Rename without the -gdb suffix.
28002 config/mips.exp: Use remote_close instead of exit_remote_shell.
28003 config/monitor.exp: Use target_info instead of looking at
28004 baud, timeout, etc.
28005 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
28007 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28009 * gdb.c++/templates.exp (test_ptype_of_templates),
28010 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
28011 Update expect patterns for destructors and assignment operators
28012 to match corresponding c-typeprint.c changes.
28013 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
28014 to destructor breakpoint test, GDB should be able to set the
28015 destructor breakpoint without specifying arguments.
28017 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
28019 * gdb.threads/pthreads.exp: Change result for failure to compile due
28020 to lack of pthreads runtime support from an error to simply an
28021 unsupported test, per dejagnu standards.
28023 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28025 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
28026 where GDB exits to reduce pattern match time.
28027 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
28029 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
28031 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
28033 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
28034 * gdb.base/default.exp: ditto.
28035 * gdb.base/nodebug.exp: ditto.
28036 * gdb.base/printcmds.exp: ditto.
28037 * gdb.base/ptype.exp: ditto.
28038 * gdb.base/setvar.exp: ditto.
28039 * gdb.base/structs.exp: ditto.
28040 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28042 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28044 * configure, */configure: Rebuild with autoconf 2.12.
28046 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28048 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28049 use new i*86-pc-linux*-gnu quads.
28050 * gdb.base/corefile.exp: Ditto.
28051 * gdb.base/signals.exp: Ditto.
28052 * gdb.base/sigall.exp: Ditto.
28053 * gdb.base/interrupt.exp: Ditto.
28055 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28056 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28059 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
28060 linux. This allows the test case to at least compile on latest
28061 linux, but still not run due to missing the threads runtime library.
28063 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28065 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28066 directory to search gdb directory. Accept and step over conditional
28067 stack alignment code. Consume $prompt in failure cases.
28068 Reset timeout to $oldtimeout instead of some arbitrary value.
28069 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28070 timeout problems with infinite stack backtraces.
28071 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28072 Accept function parameters for linkfunc member.
28074 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28076 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28077 (CXXFLAGS): Remove, unreferenced.
28078 (B_OPTIONS): Add for -B options and add code to initialize with
28079 previous -B options and also add -B option to pick up cross compiled
28081 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28082 doing cross compiles.
28083 (target_alias): Declare global.
28084 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28085 to verify that gcc exists in build tree, and if so set CC to that
28086 gcc and to use B_OPTIONS and TARGET_INCLUDES.
28088 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28090 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28091 ptype test for anonymous union. Fixup testcase to match
28092 current gcc debug output.
28094 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28096 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28097 force argument to an unsigned long type.
28099 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28101 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
28102 tests and anonymous union print/ptype tests.
28103 * gdb.base/list.exp (test_forward-search): Increase timeout by
28104 5 minutes for the "search extremely long line" case.
28105 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28106 completely optional and that the pass/fail messages use the command as
28107 the message if that third arg is a null string.
28108 (gdb_test_exact): Arrange that a null string pattern means match a
28109 null string output rather than any output, which might include random
28111 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28113 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28114 always failing and failure is now exposed by gdb.exp changes.
28116 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28118 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28119 weren't being noted.
28121 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28123 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28124 * gdb.stabs/weird.exp: Remove v_comb xfails.
28126 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
28128 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
28129 list.exp scope.exp watchpoint.exp]
28130 Make all timeout error msgs explicitly say "(timeout)".
28132 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
28134 * config/monitor.exp: Increase download timeout to 1000 seconds.
28136 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
28138 * config/m32r.exp: Increase timeout to 120 seconds.
28140 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28142 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28143 and accept older ordering as obsolescent gcc or gdb.
28144 * gdb.c++/templates.exp: Ditto.
28145 * gdb.c++/virtfunc.exp: Ditto.
28147 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28149 * gdb.base/coremaker.c: Add code to mmap some data so we
28150 can check that it ends up in the core file.
28151 * gdb.base/corefile.exp: Add test to read mmapped data
28154 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
28156 * config/m32r.exp: New file.
28158 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28160 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28161 that cflags can contains -gstabs, and work correctly for other tests.
28163 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
28165 * gdb.base/setshow.exp: New file, tests show and set.
28166 * gdb.base/setshow.c: New file, tests show and set.
28167 * gdb.base/help.exp: Add test for help set|show annotate.
28168 * gdb.base/default.exp: Add test for set|show annotate.
28170 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28172 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28174 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28177 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28179 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28180 and width commands. This is done elsewhere.
28181 * (gdb_start): Don't call gdb_start_sim here. That's already
28182 done in gdb_load. This fixes lots of failures in default.exp.
28184 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28186 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28187 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28188 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28189 in the same we we treat other failures (since it may be an expected
28190 condition), rather than as an error.
28191 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28194 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28196 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28197 (distclean maintainer-clean realclean): No need to remove files
28198 twice. Nuke the duplicates.
28199 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
28200 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
28201 Remove config.h along with other config files.
28203 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28205 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28206 "p func1 ()" and note that rests of tests are skipped.
28207 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
28208 setup_xfails for "print func2::coremaker_local".
28209 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28210 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28211 affected by the previous run test.
28212 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28213 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28214 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28215 "pass int powerset tuple" and "pass modeless int powerset tuple".
28216 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28217 "real write 4" and "real write 8".
28218 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
28219 setup_xfails for "print vs1 after tuple assign 2",
28220 "print \$i after tuple assign 2", and
28221 "print vs2 after tuple assign 2".
28222 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28223 meaningful error message and return -1 so the caller can
28224 suppress further tests and avoid a cascade of errors.
28226 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28228 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28229 format for printing version.
28230 * gdb.base/default.exp: Ditto.
28231 * gdb.base/interrupt.exp: Fix problem with cascade of
28232 errors if child process dies while calling a function.
28234 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28236 * Makefile.in (VPATH): Add
28237 * Makefile.in (Makefile, config.status): Fix rules so things get
28238 remade when necessary.
28240 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28242 * Makefile.in (just-check): Add path to sibling expect dir
28243 to environment variable specified by RPATH_ENVVAR.
28245 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28247 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28248 (just-check): Add shared library paths for libstdc++, tk,
28249 tcl, bfd, and opcodes to the environment variable specified
28251 * configure.in: Add support to recognize --enable-shared flag
28252 and generate correct value for RPATH_ENVVAR.
28253 * configure: Regenerated with autoconf.
28255 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28257 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
28258 include all osf versions.
28259 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28260 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28261 when target is linux. When failing to build pthreads test
28262 executable, give more meaningful message.
28263 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28264 arg for pthread_create.
28266 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28268 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
28269 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
28270 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
28271 and -lpthreads (everybody else).
28272 (test_startup): Fail gracefully if threads are not supported.
28273 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28274 "p/c array_index("abcdef",2)" when not gcc compiled.
28275 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28276 "print func2::coremaker_local" when not gcc compiled.
28277 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28278 "ptype on opaque struct tagname (statically)",
28279 "ptype on opaque struct tagname (dynamically) 1", and
28280 "ptype on opaque struct tagname (dynamically) 2"
28281 for not compiled with gcc.
28282 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28283 backtrace when compiled with gcc.
28284 * lib/gdb.exp (runto_main): Return result of "runto main" rather
28285 than always return success.
28287 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28289 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28291 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28293 * gdb.base/structs.exp: Undo last change.
28295 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28297 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28298 encapsulate all the steps/nexts done during self test, starting
28299 at main, and makes them less sensitive to optimization issues.
28300 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28301 signal handler" test.
28302 * gdb.threads/pthreads.exp: Only run this for native configs.
28303 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28304 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28306 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28307 for "runto test_calls(void)" test.
28309 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28311 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28312 and don't expect address info in breakpoint confirmations.
28314 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28316 * gdb.base/list.exp (test_forward_search): Increase timeout
28317 temporarily by 60 seconds for searching extremely long line,
28318 and then reset to old value when done. Increase expect input
28321 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28323 * gdb.base/list.exp (test_forward_search): Fix to handle very
28324 long source line without overflowing expect's input buffer.
28326 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28328 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28331 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28334 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28337 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28340 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28342 * configure.in (configdirs): Add gdb.threads.
28343 * configure: Regenerated with autoconf.
28344 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28345 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28346 * gdb.threads/configure: New, generated with autoconf.
28348 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28350 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28352 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28354 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28355 each signal's status in the output of "handle all print".
28356 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28357 the \r\n sequence that immediately precedes the gdb prompt.
28358 * gdb.base/a1-selftest.exp: Save original timeout and restore
28361 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28363 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28366 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28368 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28370 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28372 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28373 timeout by 60 seconds.
28375 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28377 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28378 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28381 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28383 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28384 gdb initialization, also report how long dejagnu waited. Restore
28385 old timeout before doing error return. Temporarily increase timeout
28386 by 3 minutes to allow for slow startups over heavy NFS use.
28388 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28390 * lib/gdb.exp: Report timeout value for verbosity level 2.
28391 * config/gdbserver.exp: Ditto.
28392 * config/hppro.exp: Ditto.
28393 * config/mips-gdb.exp: Ditto.
28394 * config/monitor.exp: Ditto.
28395 * config/netware.exp: Ditto.
28396 * config/sim-gdb.exp: Ditto.
28397 * config/slite-gdb.exp: Ditto.
28398 * config/udi-gdb.exp: Ditto.
28399 * config/unix-gdb.exp: Ditto.
28400 * config/vx-gdb.exp: Ditto.
28401 * gdb.base/a1-selftest.exp: Ditto.
28402 * gdb.base/a2-run.exp: Ditto.
28403 * gdb.base/break.exp: Ditto.
28404 * gdb.base/corefile.exp: Ditto.
28405 * gdb.base/list.exp: Ditto.
28406 * gdb.base/recurse.exp: Ditto.
28407 * gdb.base/scope.exp: Ditto.
28408 * gdb.base/signals.exp: Ditto.
28410 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28412 * gdb.threads/Makefile.in (docdir): Removed.
28414 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28416 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
28417 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
28419 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
28420 autoconf 2.5 or higher.
28421 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28423 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28425 * configure: Regenerated.
28426 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28427 avoid name clashes with SunOS headers.
28429 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28431 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28433 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28435 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28436 prototype information ends up in the compiler info file.
28438 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28440 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28441 attempting to regenerate it. Eliminate use of a temporary file
28442 and just generate the info file directly. Source it immediately,
28443 for consistency of use.
28444 * gdb.base/corefile.exp: Ditto
28445 * gdb.base/exprs.exp: Ditto.
28446 * gdb.base/funcargs.exp: Ditto.
28447 * gdb.base/langs.exp: Ditto.
28448 * gdb.base/list.exp: Ditto.
28449 * gdb.base/mips_pro.exp: Ditto.
28450 * gdb.base/nodebug.exp: Ditto.
28451 * gdb.base/opaque.exp: Ditto.
28452 * gdb.base/ptype.exp: Ditto.
28453 * gdb.base/scope.exp: Ditto.
28454 * gdb.base/setvar.exp: Ditto.
28455 * gdb.base/signals.exp: Ditto.
28456 * gdb.base/whatis.exp: Ditto.
28457 * gdb.c++/templates.exp: Ditto.
28458 * gdb.c++/virtfunc.exp: Ditto.
28459 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
28460 whether or not to add -lstdc++ to the compile command line args.
28462 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28464 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28465 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28466 Increase timeout, a lot of single stepping might be needed if the
28467 target has no hardware watchpoints.
28469 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28471 * gdb.base/break.exp: Ignore compiler warnings when compiling
28473 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28474 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28476 * gdb.base/exprs.exp: Add h8300 xfails.
28477 * gdb.base/funcargs.exp: Likewise.
28478 * gdb.base/nodebug.exp: Likewise.
28479 * gdb.base/printcmds.exp: Likewise.
28480 * gdb.base/ptype.exp: Likewise.
28481 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28483 * gdb.base/return.exp: Handle float/double precision problems
28485 * gdb.base/funcargs.c: Explicitly make last constant argument to
28486 call_after_alloca_subr an unsigned long type.
28487 * gdb.base/return.c: Include stdio.h.
28489 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28491 * config/abug.exp: New file for the older Motorola Bug monitor
28492 that runs on the mvme13x series VME boards.
28493 * config/monitor.exp: Use the new config array for target settings
28496 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28498 * sim-gdb.exp: Make the SH simulator allocate less space when
28501 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28503 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28506 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28508 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28509 "rs6000-*-*" for "list function in include file" when gcc compiled.
28510 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28511 for "p ctable1[120]".
28512 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28513 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28514 Remove setup_xfail for "rs6000-*-*" for
28515 "print 'scope0.c'::filelocal before run".
28516 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28517 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28518 since some compilers don't allow both options to be given
28519 on the same command line. Create object file and move it.
28521 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28523 * gdb.base/corefile.exp: Always regenerate the core file, since
28524 we always regenerate the coremaker program. Detect special case
28525 where registers cannot be read from core file.
28527 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28529 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28530 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28531 * gdb.c++/templates.exp: Only match on basename of file since
28532 some formats like xcoff don't encode directory information.
28533 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28534 and rs6000 AIX xcoff targets.
28535 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28536 * configure: Regenerate.
28537 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28538 here, rather than in distclean.
28540 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28542 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28543 defined, and use it to compile the test case with -O2. The
28544 native compilation still uses no optimization.
28545 * gdb.base/mips_pro.c: Remove inline assembly code since
28546 it is compiled PIC by default, which results in assembler
28547 warnings that make the testsuite think the compilation
28550 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28552 * gdb.c++/misc.exp: Add note to message for
28553 "print s.a for foo struct" that this is a known gcc 2.7.2
28556 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28558 * gdb.base/break.exp: Fix pattern for matching "Delete all
28559 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28560 setup_xfail for deleting all breakpoints test. Fix various
28561 timeout messages to include "(timeout)".
28562 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28563 for "p t_float_values2(3.14159,float_val2)".
28564 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28565 for "continue to call2g" when gcc compiled.
28566 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28567 "up to foo in langs.exp", "show language at foo in langs.exp",
28568 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28569 and "show language at fsub in langs.exp".
28570 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28571 "list line 1 in include file", "list message for lines past EOF",
28572 "list function in include file", "list list0.h:foo", and
28573 "list filename:function; nonexistant function".
28574 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28575 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28576 and "ptype t_char_array" to be for native cc only.
28578 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28580 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
28581 setup_xfail for "print coremaker_bss", "print coremaker_ro",
28582 "print func2::coremaker_local", and "backtrace in corefile.exp".
28584 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28586 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28587 "bt in signals.exp". This problem only appears when running
28588 the testsuite, and then only intermittently.
28590 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28592 * gdb.base/return.exp (return_tests): Differentiate between
28593 two tests of continuing.
28595 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28597 * */Makefile.in (maintainer-clean): Remove config.log.
28598 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28599 * gdb.c++/Makefile.in (PROGS): Add inherit.
28600 (clean): Remove *.ci.
28602 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28604 * gdb.c++/misc.cc: Add test code from Mike Stump.
28605 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28607 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28609 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28610 to "alpha-*-osf2*" and add comment.
28611 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
28612 setup_xfail for "step over execarg initialization" and
28613 "step over corearg initialization".
28614 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28615 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28616 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28617 gcc compiled for "print coremaker_bss", "print coremaker_ro",
28618 "print func2::coremaker_local", and "backtrace in corefile.exp".
28619 * gdb.base/signals.exp: Build and source signals.ci.
28620 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28621 to be for gcc only.
28622 * lib/gdb.exp: Move verbose statements outside conditionals.
28624 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28626 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28627 Feb 3 procfs.c change.
28629 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28631 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28633 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28635 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28636 from dejagnu's apparent default of 10 seconds, which gives random
28637 results when running the tests over NFS on moderately loaded systems.
28638 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28640 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28642 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28643 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
28646 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28648 * configure.in (CY_AC_PATH_TCLH): Remove.
28649 * configure: Regenerate.
28651 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28653 * gdb.c++/Makefile.in (clean): Add missing '{'.
28655 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28657 * lib/gdb.exp: Provide a default value for noinferior.
28659 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28662 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28664 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28665 the executable, not the .o to run the tests from.
28667 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28669 * gdb.base/break.exp: Don't test for program exit or exit status
28670 if $noresults if nonzero.
28671 * gdb.base/langs.exp: Likewise.
28672 * gdb.base/watchpoint.exp: Likewise.
28674 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28675 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28676 trying to compile the testcase.
28678 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28680 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28681 * gdb.base/signals.exp (continue to handler): Likewise.
28683 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28685 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28687 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28689 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28691 * gdb.base/corefile.exp: Recognize "not found" as failure
28692 when trying to determine if a core file was generated.
28693 If no core file was generate the first time, try again without
28694 the ulimit -c to work around braindamaged shells.
28696 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28698 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28699 [] tests with "test" and enclose string in quotes.
28700 * gdb.stabs/configure: Rebuild
28702 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28704 Changes in sync with expect:
28705 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28706 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28707 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28708 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28709 argument to AC_REQUIRE.
28710 * configure: Regenerated.
28712 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28714 * gdb.base/corefile.exp: When generating a core, discard any
28715 error messages about ulimit not found and the "core dumped"
28716 message from the shell that runs the coredumper.
28718 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28720 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28722 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28723 which sed script to run. Expect failure for v_comb test
28726 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28728 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
28729 "print func2::coremaker_local" and for "backtrace in corefile.exp"
28731 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28733 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28734 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
28735 "sparc-sun-solaris*" xfails for "p v_comb".
28736 * lib/gdb.exp (default_gdb_start): Fix typo.
28737 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28738 messages to not include the full program name that caused
28739 the core dump since some systems (such as solaris) apparently
28740 truncate this path to about 80 characters.
28741 When generating a core file first try increasing the core file
28742 size limit to unlimited since some systems may default it to
28743 zero, and it is harmless to try it. Move the test for failing
28744 to generate a core file to where it will actually get executed.
28745 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28746 new gdb result from g++ debug info improvements and make old
28747 pattern obsolescent. Also account for size_t differences
28748 (may be int or long).
28749 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28750 initialization before function call is placed in the delay slot
28751 and thus appears to be skipped over by commands such as "next".
28753 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28755 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28757 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28759 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28760 input source file; fix code to compile test to deal with this
28762 * gdb.c++/*.exp: Likewise.
28764 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28766 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28767 "bt in signals.exp".
28769 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28771 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28772 "step over execarg initialization" and
28773 "step over corearg initialization".
28775 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28777 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28778 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28780 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28782 From Rob Savoye (rob@poseidon.cygnus.com)
28783 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28784 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
28785 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28786 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28787 configure.in}: Major reworking for autoconfig.
28788 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28789 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
28791 * config/unix-gdb.exp: Make GDB global.
28792 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
28793 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28794 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28795 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28796 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28797 term.exp, twice.exp, watchpoint.exp, whatis.exp},
28798 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
28799 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28800 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28801 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28802 pr-8136.exp, result.exp, string.exp, tuples.exp},
28803 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
28804 to returns as necessary, arrange for test to compile own testcase
28806 * lib/gdb.exp: Changes for testsuite to compile own test cases.
28808 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28810 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
28811 clear_xfail at end of test which might not call either pass or fail.
28812 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28813 "backtrace through signal handler".
28815 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28817 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28818 continuing from a job control stop signal.
28819 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28821 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28823 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28824 * gdb.base/corefile.exp: Likewise.
28825 * gdb.base/funcargs.exp: Likewise.
28827 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28829 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28830 * config/monitor.exp: Add support for setting baud rate.
28832 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28834 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28835 i*86-*-linux* xfails for "backtrace through signal handler".
28836 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28837 "print func2::coremaker_local".
28838 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
28839 alpha-dec-osf2* xfail for
28840 "delete all breakpoints when none".
28842 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28844 * gdb.base/break.exp: Change test that deletes all breakpoints
28845 when no user breakpoints are installed. A post 4.15 change
28846 causes gdb to no longer prompt in this case.
28848 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28850 * gdb.base/return.exp (return_tests): Change xfail for test
28851 "correct value returned double test" to stop xfailing at
28852 Solaris 2.5. Apparently the bug has been fixed.
28854 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28856 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28857 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28859 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28861 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28862 * gdb.disasm/hppa.s: Corresponding changes.
28864 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28866 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28868 * config/mt-hpux: Deleted.
28870 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28872 * Many files: When warning about suppressed tests due to a
28873 nonexistant test binary, avoid incrementing the warning count.
28875 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28877 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
28879 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28881 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28882 "sparc-*-solaris2*".
28884 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28886 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28887 Add global and local variables and initialize them.
28888 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28889 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28890 extracts the file name and terminating signal from the core file.
28891 * TODO: Remove note about tests for correct mapping of corefile.
28892 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28893 from optimizing it away.
28894 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28895 handles common blocks.
28897 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28899 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28900 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28902 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28904 * Makefile.in (maintainer-clean): New target, synonym for
28906 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28907 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28908 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28909 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28910 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28911 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28913 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28915 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28916 xfails when not gcc compiled for "print foo::funclocal".
28917 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28918 "print foo::funclocal at foo",
28919 "print 'scope1.c'::foo::funclocal at foo",
28920 "print foo::funclocal_bss at foo",
28921 "print 'scope1.c'::foo::funclocal_bss at foo",
28922 "print foo::funclocal_ro at foo",
28923 "print 'scope1.c'::foo::funclocal_ro at foo",
28924 "print bar::funclocal at foo" and
28925 "print 'scope1.c'::bar::funclocal at foo".
28926 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28927 gcc compiled for "print foo::funclocal at bar".
28928 Expand all messages to ensure that they identify that
28929 the test is at bar().
28930 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28932 "ptype on opaque struct pointer (statically)",
28933 "ptype on opaque struct tagname (statically)",
28934 "ptype on opaque struct pointer (dynamically) 1",
28935 "ptype on opaque struct tagname (dynamically) 1",
28936 "ptype on opaque struct pointer (dynamically) 2" and
28937 "ptype on opaque struct tagname (dynamically) 2
28938 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28941 "whatis datalocal",
28944 "whatis bsslocal", and
28946 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28947 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28948 when not gcc compiled.
28949 * gdb.base/funcargs.exp (float_and_integral_args): Add
28950 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28952 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28953 "backtrace from call6a" when not gcc compiled.
28954 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28955 "backtrace from call7a" when not gcc compiled.
28956 * gdb.base/callfuncs.exp (do_function_calls):
28957 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28958 "p t_char_array_values(char_array_val2,char_array_val1)",
28959 "p t_char_array_values(char_array_val1,char_array_val2)",
28960 "p t_char_array_values("carray 1","carray 2")",
28961 "p t_char_array_values("carray 1",char_array_val2)",
28962 "p t_char_array_values(char_array_val1,"carray 2")",
28963 "p sum_args(1,{2})",
28964 "p sum_args(2,{2,3})",
28965 "p sum_args(3,{2,3,4})",
28966 "p sum_args(4,{2,3,4,5})"
28967 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28968 "backtrace in corefile.exp" when not gcc compiled.
28970 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28972 * gdb.base/signals.exp: Rewrite `handle all print' test as
28973 a procedure. Accept blanks or TABs as whitespace, increase
28974 timeout and expect input buffer size for the large output
28975 from the command. Remove "i*86-*-bsdi2.0" xfail.
28977 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28979 * gdb.base/setvar.exp: Add new testcases for truncation when
28980 assigning invalid values to bitfields.
28982 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28984 * gdb.base/callfuncs.exp (do_function_calls): Remove
28985 mips-sgi-irix* xfail for
28986 "call inferior func with struct - returns char *"
28987 and fix test so that an optional (unsigned char *) cast is
28988 accepted in the result.
28990 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28992 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28993 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28994 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28995 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28996 that accidentally got checked in.
28998 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
29000 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
29001 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
29003 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
29004 Add mips-sgi-irix5* xfail for not gcc compiled.
29005 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
29006 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
29007 compiled for "p top", "whatis top", "p middle", and "whatis
29009 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
29010 "whatis signed char" for not gcc compiled.
29011 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
29012 "set variable signed char=-1 (-1)" and
29013 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
29014 * gdb.base/funcargs.exp (float_and_integral_args):
29015 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
29016 Add mips-sgi-irix* xfail when not gcc compiled for
29017 "continue to call2b".
29018 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
29019 "continue to call2g".
29020 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
29021 compiled for "backtrace from call6a"
29022 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
29023 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
29024 when not gcc compiled for "backtrace from call7a".
29025 (localvars_after_alloca): Fix gdb_test cmds for
29026 "print * after runto ...".
29027 Remove rs6000-*-* xfails for
29028 "print i after runto localvars_after_alloca" and
29029 "print l after runto localvars_after_alloca"
29031 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
29032 when not compiled with gcc, for:
29033 "print signed char == (minus)",
29034 "print signed char != (minus)",
29035 "print signed char < (minus)",
29036 "print signed char > (minus)".
29037 * gdb.base/callfuncs.exp (do_function_calls):
29038 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29039 "call inferior func with struct - returns char *".
29040 * gdb.base/return.exp (return_tests): Change xfail for
29041 "correct value returned double test" to include Solaris 2.4.
29042 * gdb.base/funcargs.exp (float_and_integral_args):
29043 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
29045 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29047 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29048 enumeration bitfields if compiling with GNU C.
29049 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29052 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29054 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29055 test for PRO targets.
29057 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29058 breakpoints in the inferior at any given time by making
29059 two groups of breakpoints for call2*, call6* and call7*
29062 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29064 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29065 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29066 from optimizing it away.
29067 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29068 "call inferior func with struct".
29070 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29072 * configure.in: Only configure gdb.chill for particular targets.
29074 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29076 * gdb.base/Makefile.in: Add action to .c.o transformation
29077 rule that generates a .ci file for each .o file and remove
29078 explicit .c.o rules except for callfuncs.o.
29079 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29080 generates a .ci file for each .o file and remove explicit
29082 (clean): Remove *.tmp *.ci files.
29083 (EXECUTABLES): Remove templ-info.exp.
29084 * gdb.base/compiler.c: New file.
29085 * gdb.c++/compiler.cc: New file
29086 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29087 Change rs6000-*-* xfail for
29088 "print 'scope0.c'::filelocal_ro" and
29089 "print 'scope1.c'::filelocal" and
29090 "print 'scope1.c'::filelocal_bss" and
29091 "print 'scope1.c'::filelocal_ro" and
29092 "print 'scope1.c'::foo::funclocal" and
29093 "print 'scope1.c'::foo::funclocal_ro" and
29094 "print 'scope1.c'::bar::funclocal" and
29095 "print 'scope0.c'::filelocal_ro" and
29096 "print 'scope1.c'::filelocal at foo" and
29097 "print 'scope1.c'::filelocal_bss at foo" and
29098 "print 'scope1.c'::filelocal_ro at foo" and
29099 "print 'scope1.c'::foo::funclocal at foo" and
29100 "print 'scope1.c'::foo::funclocal_bss at foo" and
29101 "print 'scope1.c'::foo::funclocal_ro at foo" and
29102 "print 'scope1.c'::bar::funclocal at foo" and
29103 "print 'scope0.c'::filelocal_ro" and
29104 "print 'scope1.c'::filelocal" and
29105 "print 'scope1.c'::filelocal_bss" and
29106 "print 'scope1.c'::filelocal_ro" and
29107 "print 'scope1.c'::foo::funclocal" and
29108 "print 'scope1.c'::foo::funclocal_bss" and
29109 "print 'scope1.c'::foo::funclocal_ro" and
29110 "print 'scope1.c'::bar::funclocal" and
29111 "print 'scope1.c'::bar::funclocal_bss"
29112 to only be xfail'd when not compiled with gcc.
29113 Add rs6000-*-* xfail for
29114 "print 'scope0.c'::filelocal_bss before run"
29115 when compiled with gcc.
29116 (test_at_main): Add rs6000-*-* xfail for
29117 "print filelocal_ro in test_at_main"
29118 when compiled with gcc.
29119 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
29120 Add rs6000-*-aix* xfail for
29121 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29122 "ptype t_char_array", not compiled with gcc.
29123 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29124 xfail for "list foo (in include file)" when gcc compiled.
29125 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
29126 (integral_args): Add rs6000-*-* xfail for
29127 "run to call0a" if not compiled with gcc.
29128 (unsigned_integral_args): Add rs6000-*-* xfail for
29129 "run to call1a" if not compiled with gcc.
29130 (float_and_integral_args): Add rs6000-*-* xfail for
29131 "run to call2a" if not compiled with gcc and for
29132 "continue to call2b" for any compiler.
29133 Add rs6000-*-* xfail to
29134 "print f1 after run to call2a" for gcc compiled.
29135 (discard_and_shuffle): Add rs6000-*-* xfail for
29137 (shuffle_round_robin): Add rs6000-*-* xfail for
29138 "backtrace from call7a" if not compiled with gcc.
29139 Add rs6000-*-* xfail for
29140 "backtrace from call7b" if compiled with gcc.
29141 (call_after_alloca): Add rs6000-*-* xfail for
29142 "print c in call_after_alloca" and
29143 "print s in call_after_alloca" and
29144 "backtrace from call_after_alloca_subr"
29145 if not compiled with gcc.
29146 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29147 "print c in localvars_in_indirect_call" and
29148 "print c in localvars_in_indirect_call" and
29149 "backtrace in indirectly called function" and
29150 "stepping into indirectly called function"
29151 if not compiled with gcc.
29152 (localvars_after_alloca): Add rs6000-*-* xfail for
29153 "print c after runto localvars_after_alloca" and
29154 "print s after runto localvars_after_alloca" and
29155 "print i after runto localvars_after_alloca" and
29156 "print l after runto localvars_after_alloca"
29158 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29159 than whatis-info.exp.
29160 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29161 than opaque-info.exp.
29162 Setup rs6000-*-* xfail for
29163 "ptype on opaque struct pointer (statically)" and
29164 "ptype on opaque struct pointer (dynamically)" when
29165 not compiled with gcc.
29166 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29167 rather than callf-info.exp.
29168 (do_function_calls): Add clear_xfail for rs6000-*-* for
29169 "p t_float_values2(3.14159,float_val2)". Seems to work
29170 fine there, both with xlc and gcc. Need to find out what
29171 it is doing right and fix other platforms.
29172 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29173 "call inferior func with struct - returns int",
29174 "call inferior func with struct - returns long",
29175 "call inferior func with struct - returns float",
29176 "call inferior func with struct - returns double",
29177 "call inferior func with struct - returns char *",
29178 but only if not gcc compiled (presumes xlc compiled).
29179 Change rs6000-*-* xfails for
29180 "call inferior func with struct - returns char" and
29181 " call inferior func with struct - returns short" to only
29182 xfail if not using gcc.
29183 (clean mostlyclean): Remove *.ci and *.tmp files.
29184 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29185 than templ-info.exp.
29186 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29187 Add rs6000-*-* xfail for "up to foo in langs.exp"
29188 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
29189 when not gcc compiled.
29191 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29193 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29194 * gdb.base/corefile.exp: Likewise.
29195 * gdb.base/list.exp: Likewise.
29196 * gdb.base/scope.exp: Likewise.
29197 * gdb.base/siganls.exp: Likewise.
29199 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29201 * gdb.base/whatis.exp: Likewise.
29203 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29205 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29206 failure (opcode table has been fixed to match reality).
29208 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29210 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29211 "call inferior func with struct - returns char",
29212 "call inferior func with struct - returns short"
29214 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29215 "print 'scope0.c'::filelocal at main",
29216 "print 'scope0.c'::filelocal_bss in test_at_main",
29217 "print 'scope0.c'::filelocal at foo",
29218 "print 'scope0.c'::filelocal_bss in test_at_foo",
29219 "print 'scope0.c'::filelocal at bar",
29220 "print 'scope0.c'::filelocal_bss in test_at_bar"
29222 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29223 in source file 1". This bug seems to have been fixed with both
29224 gcc and native cc (was native assembler bug?).
29226 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29228 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29229 "backtrace through signal handler" to "i*86-*-sysv4*".
29230 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29231 continue" case. Add "known SVR4 bug" to fail message.
29232 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29233 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29234 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29235 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29236 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29237 "up to foo in langs.exp", "show language at foo in
29238 langs.exp", "up to cppsub_ in langs.exp", "show
29239 language at cppsub_ in langs.exp", "up to fsub in
29240 langs.exp", and "show language at fsub in langs.exp".
29241 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29242 "bactrace in corefile.exp".
29243 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29244 "call inferior function with struct - returns float" and
29245 "call inferior function with struct - returns double".
29247 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29249 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29250 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29251 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29252 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29254 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29256 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29257 (or overriden) "CHILL" macro rather then bare "gcc".
29258 Also look for ../../gcc/xgcc since that is what we will
29259 actually need, not "Makefile". Remove following assignment
29260 of CHILL to CHILL_FOR_TARGET because that results in
29261 recursive definition.
29263 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29265 * gdb.base/corefile.exp: Change xfail for backtrace in
29266 corefile.exp from linuxaout to all linux.
29267 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29268 cases where we miss the breakpoint at the signal handler
29269 for some reason. Setup xfail for linuxoldld/linuxaout and
29270 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29271 hitting SIGURG breakpoint.
29272 * gdb.base/signals.exp: Setup xfail for "next" acting like
29273 continue to add linuxoldld. Setup xfail for all linux for
29274 "next to handler in signals_tests_1", "backtrace in
29275 signals_tests_1", "continue to func1", "pass SIGUSR1",
29276 and continue to handler".
29278 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29280 * Update all FSF addresses except those in COPYING* files.
29282 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29284 * gdb.base/a2-run.exp: Change messages to be more explicit about
29285 the status of args, and quote binfile in results.
29287 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29289 * gdb.base/callfuncs.exp: Add tests for passing structs to
29290 inferior functions and return various types.
29291 * gdb.base/callfuncs.c: Add functions to receive a struct
29292 and return a member of the struct, in various types.
29294 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29296 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29298 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29300 * config/vxworks29k.exp: New file, sources vxworks.exp.
29302 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29304 * config/gdbremote.exp: New file. Testing framework using
29307 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29309 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29310 "call function when asleep" and "send end of file".
29311 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29312 for "backtrace in corefile.exp".
29313 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29314 for "backtrace through signal handler".
29315 * gdb.base/corefile.exp: Make sure we actually generate a core file
29316 before trying the core tests. Some systems allow the user to suppress
29317 generation of core files and default to that (linux for example).
29318 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29319 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29321 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29323 * gdb.threads: New directory with some crude multi-threaded
29324 gdb tests (step.exp and step2.exp).
29325 * config/mt-lynx (STEP_EXECUTABLE): Define.
29326 (THREADFLAGS): Define.
29328 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29330 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29332 * gdb.base/signals.exp: Disable whole file for lynx until
29335 * gdb.base/signals.exp: xfail test where "next" acts like
29336 "continue" for lynx.
29338 * gdb.base/interrupt.exp: xfail test for calling function while
29339 inferior is asleep for lynx.
29341 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29342 than one cr-lf after each command.
29344 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29346 * configure.in: Reinstate setting of stabsdirs variable, fix
29347 typo in setting up configdirs for native builds.
29349 * gdb.base/return.exp: Fix typo in return double test.
29350 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29351 compiler from optimizing them away.
29353 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29355 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29356 sequences to be echo'd by gdb when using gdb_test.
29357 * gdb.chill/chexp.exp: Likewise.
29358 * gdb.fortran/exprs.exp: Likewise
29360 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29362 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29363 after the inferior gdb has started.
29365 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29366 after each command.
29367 * gdb.base/funcargs.exp: Likewise.
29368 * gdb.base/gdbvars.exp: Likewise.
29369 * gdb.base/interrupt.exp: Likewise.
29370 * gdb.base/list.exp: Likewise.
29371 * gdb.base/watchpoint.exp: Likewise.
29372 * gdb.c++/demangle.exp: Likewise.
29373 * gdb.c++/inherit.exp: Likewise.
29374 * gdb.chill/chexp.exp: Likewise.
29375 * gdb.fortran/exprs.exp: Likewise.
29377 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29378 test if we can't handle IO to/from the inferior.
29380 * gdb.c++/misc.exp: Always check for a program already being
29381 started after sending a "run" command to gdb.
29383 * gdb.base/twice.exp: Start with a fresh gdb.
29385 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29386 only depend on gdb's expression code, not the chill runtime.
29388 * gdb.base/return.c: Put return values into variables so we
29389 can have gdb print them rather than depending on the program
29391 * gdb.base/return.exp: Corresponding changes.
29393 * lib/gdb.exp: Provide default value for noinferiorio.
29394 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29397 * gdb.base/break.exp: Always check for a program already being
29398 started after sending a "run" command to gdb.
29399 (text_next_with_recursion): Don't check the output from the
29400 program's printf statement. Instead just make sure the program
29403 * gdb.base/commands.exp: Protect tests which need arguments with
29404 $noargs conditionals.
29406 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29408 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29409 of structure member arrays to match gdb/valops.c:value_addr change.
29411 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29413 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29416 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29418 * configure.in (configdirs): Remove gdb.chill from default list
29419 of subdirs and then add it back in only if doing a native build.
29420 The current chill compiler does not yet work in any cross build.
29421 * Revert all signal changes from Jul 6.
29422 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29423 for sh-hms targets, allowing these tests to link, with no other
29424 changes. Testing is suppressed by setting "nosignals" in site.exp.
29426 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29428 * configure.in (signaldirs): Define and add to configdirs for all
29429 targets except some specific ones that are known to not support signals.
29430 Also clean up formatting.
29431 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29432 (signals, sigall): Remove rules to build.
29433 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29434 Moved to new gdb.signals directory.
29435 * gdb.signals: New test directory.
29436 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29437 signals.c signals.exp}: New or moved files.
29439 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29441 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29443 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29445 * gdb.base/return.exp: Xfail `return double' test failure
29446 on at least Solaris 2.3 and handle future/past versions on
29447 a case by case basis as appropriate. Also update message
29448 to include i*86 failures.
29450 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29452 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29454 * lib/gdb.exp: Fix comment which erroneously identified
29455 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29456 gdb_file_cmd not gdb_load).
29457 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29459 * gdb.base/setvar.exp: Make test names consistent between pass and
29460 fail cases. Use gdb_test more.
29462 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29464 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29466 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29468 * gdb.base/help.exp: Fix expected help string for `show commands'.
29470 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29472 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29474 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29477 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29479 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29480 that loop eventually terminates. Fix Connection refused logic so
29481 that testsuite will expire nicely.
29483 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29485 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29486 config/rom68k.exp: New tcl glue for the appropriate monitors.
29487 These all just end up calling monitor.exp.
29488 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29489 refused' by retrying. Cleanup some timeout issues.
29490 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29491 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29492 callers don't have to set/restore global timeout variable.
29494 * The following set of changes centralizes management of the global
29495 timeout variable. This way, it can be set in one target dependent
29496 place instead of dozens of places scattered throughout the test suite.
29497 If you need to lengthen a timeout, then you should either set timeout
29498 in one of the config/{target}.exp files, or multiply it by a factor.
29499 Setting it to an absolute value is always going to lose for some
29501 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29502 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29503 * gdb.base/funcargs.exp: Don't set timeout.
29504 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29505 * gdb.base/printcmds.exp (test_print_string_constants
29506 test_print_array_constants): Don't set timeout.
29507 * gdb.base/ptype.exp: Don't set timeout.
29508 * gdb.base/recurse.exp: Don't set timeout.
29509 * gdb.base/return.exp: Don't set timeout.
29510 * gdb.base/watchpoint.exp: Don't set timeout.
29511 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29512 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29514 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29516 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29518 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29520 * lib/gdb.exp: Disable chill tests for irix5.
29522 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29524 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29525 each test pass or fail.
29527 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29529 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29532 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29534 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29536 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29538 * config/est.exp: Fix copyright and comments. Remove dead code.
29539 Use targetname, serialport and baud variables instead of fixed
29541 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29542 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29544 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29546 * gdb.base/watchpoint.exp: Don't run
29547 test_watchpoint_triggered_in_syscall for sunos.
29549 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29551 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29552 they don't seem to exist. Do include stdio.h.
29554 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29556 * gdb.base/a1-selftest.exp: Add alpha xfail.
29558 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29560 * gdb.base/watchpoint.c (main): Prompt before calling read().
29561 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29562 Revise accordingly. Remove cruft about sending "123" several
29563 times, until it gets noticed. Clean up the "print buf[0]" stuff
29564 so that it passes or fails, and waits for prompts in the usual way.
29566 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29568 * gdb.base/recurse.exp: Fix comment.
29570 * TODO: Remove item about printing variables in nodebug.exp. Add
29571 item about enabling tests which are only run on some targets.
29573 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29574 fail, make test names unique, use new gdb_test convention
29575 regarding pattern, use gdb_test more, etc.).
29577 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29578 fail, make test names unique, etc.).
29580 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29582 * gdb.base/nodebug.c: Change return type of top and middle to
29584 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29585 are fixed by the recent mdebugread.c changes. Allow `short ()'
29586 as type for top and middle.
29588 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29590 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29591 nearly as I can tell, the whole thing was an accident in Stu's
29592 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29593 to replace a send/expect pair with gdb_test, but ended up only
29594 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29595 of 30 Mar 1995 took care of it, but left this vestigial comment
29596 which I am now nuking.
29598 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29600 * gdb.base/break.exp: Look for different line number for
29601 breakpoint at main depending on usestubs.
29603 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29605 * gdb.base/list.exp: Adjust some alternate expect patterns to
29606 match recent list0.c change. Add alternate expect pattern for
29607 output from `list default lines around main' for optimizing
29610 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29612 * lib/gdb.exp: If nosignals is not set, set it to 0.
29614 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29616 * config/slite-gdb.exp: Responds to load symbol table prompt.
29617 * gdb.base/break.exp: Adjust line number, fix rerun.
29618 * gdb.base/langs0.c: Add #ifdef usestubs.
29620 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29622 * gdb.base/list.exp: Adjust line contents after adding new lines in
29623 list0.c. Also fix a syntax error.
29625 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29626 * gdb.base/break.exp: ditto.
29627 * gdb.base/list.exp: ditto.
29628 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29629 * gdb.base/run.c: ditto.
29630 * gdb.base/list0.c: ditto.
29631 * gdb.base/funcargs.c: ditto.
29633 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29635 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29636 $targetname, $serialport and $baud instead of hardwired variables.
29637 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29638 target doesn't support signals.
29640 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29642 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29644 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29646 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29647 Don't rely on the value of an auto variable before it has been
29648 initialized. Use gdb_test more.
29650 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29652 * lib/gdb.exp (default_gdb_version): A version number must start
29653 with a digit, but other than that contains all characters up to
29654 the first whitespace character.
29656 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29658 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29660 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29662 * gdb.c++/*.exp: Warn if executable does not exist. The original
29663 reason for skipping the warning was that configure.in sometimes
29664 intentionally skipped building the executables but the tcl code
29665 had no way of knowing. That (a) was always bogus with respect to
29666 error handling, (b) is no longer true (right now there is no way
29667 to skip C++ tests).
29669 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29671 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29673 * gdb.base/list.exp: Add expect patterns for output from
29674 SunPRO compiled executables.
29675 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29678 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29680 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29681 number (we are already testing that the correct source line text
29684 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29685 that is what is intended, but something needed to be done to get
29686 sunos4 native working again.
29688 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29690 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29691 apparently went with a (very) old xfail.
29693 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29695 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29696 runto_main is a proc in gdb.exp that will do 'step' for target use
29698 * gdb.base/exprs.exp: ditto.
29699 * gdb.base/interrupt.exp: ditto.
29700 * gdb.base/opaque.exp: ditto.
29701 * gdb.base/printcmds.exp: ditto.
29702 * gdb.base/ptype.exp: ditto.
29703 * gdb.base/scope.exp: ditto.
29704 * gdb.base/setvar.exp: ditto.
29705 * gdb.base/signals.exp: ditto.
29706 * gdb.base/twice.exp: ditto.
29707 * gdb.c++/classes.exp: ditto.
29708 * gdb.c++/inherit.exp: ditto.
29709 * gdb.c++/templates.exp: ditto.
29710 * gdb.base/break.exp: no run and hit main for stubs. Change line
29711 numbers for breakpoints and info breakpoint.
29712 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29714 * gdb.base/callfuncs.c: ditto.
29715 * gdb.base/exprs: ditto.
29716 * gdb.base/interrupt.c: ditto.
29717 * gdb.base/opaque0.c: ditto.
29718 * gdb.base/printcmds.c: ditto.
29719 * gdb.base/ptype.c: ditto.
29720 * gdb.base/scope0.c: ditto.
29721 * gdb.base/setvar.c: ditto.
29722 * gdb.base/signals.c: ditto.
29723 * gdb.base/twice.c: ditto.
29724 * gdb.c++/misc.cc: ditto.
29725 * gdb.c++/templates.cc: ditto.
29727 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29729 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29731 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29732 somewhere between `read' and `main.c'. I'm pretty sure the
29733 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29734 and it isn't particularly useful.
29736 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29738 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29740 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29742 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29744 * config/mt-slite: add LIBS and -nostdlib.
29745 * config/slite-gdb.exp: add this new file to support sparclite target.
29747 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29749 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29751 * gdb.base/a2-run.exp: Change argument to istarget from
29752 "*-*-vxworks" to "*-*-vxworks*".
29753 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29755 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29757 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29758 will not runto main but do a 'step' to step out of breakpoint().
29759 * config/mt-slite: add -Dusestubs.
29761 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29763 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29766 * gdb.base/signals.exp: Add test for "handle all print".
29767 * TODO: Remove "handle all print". Also remove item about
29768 checking copyright date (I don't like the idea of a spurious FAIL
29769 based on when we run the tests).
29771 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29772 for SunOS4 (reason for failure not investigated). Remove
29773 redundant test for $binfile.
29775 * gdb.base/nodebug.c (array_index): Call malloc.
29777 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29779 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29781 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29782 conventions and slightly simplify the matching regexp.
29784 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29786 * gdb.base/break.exp: Update gdb_test invocation to use new
29789 * lib/gdb.exp: If noargs is not set, set it to 0.
29791 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29794 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29796 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29798 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29799 one argument of type "<non-float parameter>".
29801 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29803 * config/rom68k.exp: New file to support Motorola IDP board.
29804 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29805 * gdb.base/break.c: Change things around so that this program
29806 doesn't depend upon args. This is necessary to make remote
29807 targets work (in general, they can't take args).
29808 * gdb.base/break.exp: Don't try to send args to program. Don't
29809 expect output. Also, replace lots of code with gdb_test.
29811 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29813 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29814 printing of '\'' (which is what the comment says we are testing,
29815 even though we were not), not '''.
29816 (test_integer_literals_rejected): Test that printing ''' is an error.
29818 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29819 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29820 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29821 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29822 Use gdb_test not test_print_accept.
29823 * lib/gdb.exp: Remove test_print_accept.
29825 * gdb.base/signals.exp (signal_tests_1): Make pass message
29826 consistent with fail message.
29828 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29829 unsigned char; the bug (PR 1821) is fixed.
29831 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29833 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29834 successful tests--makes xfailing them work right.
29836 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29838 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29839 only \r\n, not .*. The test can pass .* as the last thing in
29840 $pattern if that is what it wants. In addition to providing this
29841 flexibility, this change should speed up pattern matching in cases
29842 where the pattern already ended with .* (there were a number of
29843 them). This change also helps catch bad patterns--in the old
29844 scheme the typo "char \*" instead of "char \\*" would pass. Now
29846 * Many .exp files: Update callers.
29848 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29849 clearer and does not spuriously match multiple ('s. Likewise for
29852 * gdb.base/nodebug.exp: Test ability to call a function and pass
29853 it a string (even with no debugging info).
29855 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29856 "p '\'", which is the same as "p ''" once tcl gets done with
29857 quoting, to "p '\\'", which I suspect is what is intended (one
29858 backslash gets sent to GDB).
29860 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29862 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29864 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29865 1817) was fixed literally years ago.
29867 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29869 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29870 test, it causes stepping out of call_after_alloca_subr with
29871 optimizing compilers.
29872 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29875 * gdb.c++/templates.exp: Source templ-info.exp only if
29876 the templates executable exists.
29878 * gdb.c++/misc.cc (class Contains_static_instance,
29879 class Contains_nested_static_instance),
29880 gdb.c++/classes.exp (test_static_members): Test printing of
29881 a class that contains a static instance of the class.
29883 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29885 * gdb.base/langs2.c (cppsub_): Don't prototype.
29886 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29889 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29891 * lib/gdb.exp (skip_chill_tests): New procedure.
29893 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29895 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29897 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29898 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29900 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29902 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29904 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29905 disassemble 8, not 16, instructions for part 4.
29907 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29908 support the latter anymore.
29910 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29912 * gdb.base/callfuncs.c: Control use of prototypes based on
29913 NO_PROTOTYPES, not __STDC__.
29914 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29915 t_float_values2 tests if prototypes in use.
29917 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29918 t_double_values): When checking differences against DELTA, check
29919 that difference is within the range (-DELTA,DELTA), not just
29922 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29924 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29925 'file' command firts, then 'target', then 'load', this is due to gdb
29927 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29929 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29931 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29932 FP load/store variants.
29933 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29935 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29937 * gdb.base/term.exp: Do not give a warning if not native, it is
29938 not an abnormal condition.
29940 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29942 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29945 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29947 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29948 are getting the version number.
29950 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29951 if not native, it is not an abnormal condition.
29953 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29955 * lib/gdb.exp: Just use "file exists", rather than undocumented
29956 dejagnu procedure "findfile".
29958 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29960 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29961 (LDFLAGS): Set to -Xlinker -Ur.
29963 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29964 Removed, these values are set by lib/gdb.exp.
29966 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29968 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29970 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29971 of replicating gdb startup code.
29973 * config/mt-vxworks (LDFLAGS): Set to -r.
29974 (CFLAGS_FOR_TARGET): Removed.
29976 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29977 (gdb) and gdb for vxworks uses (vxgdb).
29979 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29980 executable is not in the tree and host != target, use sed and
29981 program_transform_name to determine the gdb name used by the
29984 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29985 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29987 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29989 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29990 floats, chars, and shorts where there are ANSI-style function
29993 * gdb.base/langs.exp, gdb.base/langs*: New test.
29994 * gdb.base/Makefile.in: Build it.
29995 * TODO: Remove item about checking that C names don't get C++
29996 demangling applied; this test tests it.
29998 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30000 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
30001 went with the const70 xfail. The xfail went away a year ago.
30003 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
30005 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
30008 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
30010 * gdb.base/a1-selftest.exp: Don't run on hp300.
30012 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30014 * Makefile.in (site.exp): Set host_alias and target_alias as well
30015 as host_triplet and target_triplet.
30017 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30019 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
30021 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
30022 places as other ecoff systems).
30024 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
30027 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30029 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
30031 * gdb.base/nodebug.exp: Accept "function" in addition to "text
30032 variable and "variable" in addition to "data variable".
30033 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
30035 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
30037 * gdb.base/list1.c (long_line): Add additional statement at start
30039 * gdb.base/list.exp (test_forward_search): Update line number to
30040 reflect new statement.
30042 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30044 * gdb.base/signals.exp: Reinitialize searched source directories
30045 after gdb_start call.
30047 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30049 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30050 * gdb.stabs/Makefile.in: Likewise.
30052 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30053 change. Instead split the tests into smaller pieces.
30054 * gdb.disasm/hppa.s: Corresponding changes.
30056 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30058 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30059 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30061 * gdb.base/funcargs.exp: Modify many tests so that every test
30062 either passes or fails. Make some test names unique.
30064 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30066 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30067 Call stty to set interrupt character.
30069 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30070 for HP assembler versus GNU assembler based on actual behavior of
30071 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30073 * TODO: Suggest a few more stepping tests.
30075 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30077 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30078 restart GDB for h8300 after a continue.
30079 (return): Add pattern to match a29k-udi behavior.
30080 * gdb.base/nodebug.exp: Remove obsolete comment.
30081 * gdb.base/regs.exp: New file, testing of register displays.
30082 * gdb.base/return.exp: Fix typo in reference to $objdir.
30083 * gdb.base/whatis.exp: Always start with a fresh GDB.
30085 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30087 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30088 higher, these tests generate a lot of output.
30090 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30092 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30093 code following the catch silently ignored some errors; without the
30094 catch they should be thrown like any other tcl error. Also, the
30095 catch used "" instead of {} which meant all the callers who wanted
30096 to include one of the characters "[]$ had to quote it an extra time.
30097 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30098 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30099 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30100 Remove extra quoting.
30102 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30104 * gdb.base/commands.exp: Make test names unique; every test either
30105 passes or fails. Update some comments.
30107 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30109 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30111 The following fixes a FAIL caused by the fact that the alpha stabs
30112 configuration didn't use the ".if alpha" code in weird.def.
30113 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30114 bit pointer, so the 32 bit version works even on the alpha.
30115 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30116 Remove the stuff which allowed us to have separate versions for
30117 alpha and everything else.
30119 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30120 regexp which "info func operator\[\](" is supposed to match. Fix
30121 string to send to GDB. Note that GDB still doesn't work right. Add a
30122 new test for "info func .perator\[\](" which GDB does handle correctly.
30124 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30126 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30128 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30129 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30130 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30131 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30132 it makes the tests harder to understand and confuses test-o-matic.
30133 The preferred style is that each test provides a PASS or a FAIL,
30134 and has a unique message (e.g. "continue #54" not just "continue")
30135 which is the same for the pass and the fail.
30136 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30137 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30139 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30140 prt_accept which was basically the same thing. Likewise for
30141 test_print_reject and prt_reject.
30142 * lib/gdb.exp (test_print_reject): Add some more error message
30143 patterns to match from the former printcmds.exp (prt_reject).
30144 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30145 One defect of the passcount stuff is that some of it failed to
30146 report XPASS where appropriate.
30147 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30148 stuff before and after arg in expected pattern.
30149 (test_paddr_operator_functions): Re-do test without print_addr_of;
30150 this is the only test which seems to want extra stuff there.
30152 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30154 * gdb.base/nodebug.exp: Update new tests to reflect improved
30155 wording of gdb output.
30157 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30158 and "ptype" work on variables in files compiled without -g.
30159 Replaces commented out "maint print msymbol" tests.
30161 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30163 * gdb.base/setvar.c (dummy): Call malloc.
30165 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30166 losing with the irix4 sed.
30168 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30171 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30173 * TODO: Remove items about corefile.exp testing new exec-file and
30174 backtrace; both are now done. Add items about printing enums.
30176 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30178 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30179 "get signal $thissig" test fails.
30181 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30183 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30185 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30186 compiler warning with dec alpha compiler.
30188 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30189 extra \n from gdb_test call (this explains why the prompt test
30190 that I removed yesterday was there).
30191 (user_defined_command_test): Remove extra \n and prompt test.
30193 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30194 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30196 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30197 Also remove alpha workaround, which turns out to be because
30198 SIGABRT == SIGLOST.
30200 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30202 * gdb.base/help.exp: Don't test "help show".
30204 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30206 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30207 "set print address" is on.
30208 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30209 pass prompt to gdb_test; gdb_test already looks for the prompt.
30211 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30213 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30214 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30215 was to make sure that gdb can read a core file. But (a) the "read
30216 the corefile" part didn't make it to a1-selftest.exp, we just
30217 delete the corefile after creating it, and (b) we test reading
30218 corefiles in corefile.exp anyway. Also, this test left around a
30219 xgdb process on Solaris.
30221 * gdb.base/corefile.exp: Also test backtrace.
30223 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30225 * gdb.base/commands.exp: Test a simple user defined command with
30226 arguments and if/while statements; verify the full user command is
30227 printed by "show user".
30229 * gdb.base/commands.exp: Test if/while commands as part of a
30230 breakpoint command list; verify they appear in breakpoint
30233 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30235 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30236 than by dividing by zero.
30238 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30240 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30241 performing an inferior call with watchpoints enabled.
30242 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30245 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30247 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30250 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30251 Add additional pattern for when "int operator int(void);" appears
30252 in a different order.
30254 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30256 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30258 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30259 and "signal" with ".*".
30261 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30263 * TODO: Add note about "handle all nostop".
30265 * gdb.base/{sigall.c, sigall.exp}: New test.
30266 * gdb.base/Makefile.in: Add it.
30268 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30270 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30271 when invoking GDB, suppresses any windowing interface.
30273 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30275 * config/sim-gdb: New file, simulator testing support.
30277 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30279 * gdb.base/interrupt.exp: Test calling func1 twice.
30281 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30283 * gdb.base/list.exp (test_forward_search): Set timeout higher
30284 when we'll be getting lots of output from gdb.
30286 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30287 "init_malloc" to after the expect statement. Run it if that
30288 regexp is taken, but also for two others which happen if source
30291 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30293 * gdb.base/printcmds.exp: New test, for printing register before
30294 program is running.
30296 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30298 * gdb.base/list.exp: Correct some alternate expect patterns
30299 to reflect changes in list1.c.
30301 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30303 * TODO: Add item regarding large frames.
30305 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30307 * TODO: Remove item about enabling return.exp; it
30308 is enabled. Suggest a few more "return" tests.
30310 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30312 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30315 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30317 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30318 and pr-5646.o, so "make" is the same as "make all", not "make
30321 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30323 * gdb.base/list.exp: Adjust expectations to reflect changes in
30325 (test_forward_search): New test proc.
30326 * gdb.base/list1.c (long_line): New function, has long source line.
30328 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30330 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30331 additional line of code that was added.
30333 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30335 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30336 tests so as not to overflow expect's input buffers.
30337 * gdb.disasm/hppa.exp: Corresponding changes.
30339 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30341 Beginnings of template debugging tests.
30342 * gdb.c++/templ-info.cc: New file to test for template
30343 debugging capability of the compiler.
30344 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30346 * gdb.c++/templates.cc: Add explicit template instantiations
30347 to enable compiling with -fno-implicit-templates. Add destructor
30348 and 'value' method to T5 class for template tests.
30349 * gdb.c++/templates.exp: Add testcases for printing of template
30350 types, setting breakpoints on template methods and calling a
30353 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30355 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30356 branch target since some assemblers (gas-2.5) may emit a
30357 relocation for the branch instead of resolving it in the
30360 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30362 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30363 through signal handler.
30365 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30367 * configure.in (*-*-netware): Use config/mt-netware.
30369 * config/mt-netware: New file.
30370 * config/mt-i386-netware: Removed, separate configs for different
30371 netware architectures are no longer needed now that we have
30374 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30376 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30377 by the recent changes to use ANSI C arithmetic conversions.
30379 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30381 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30382 bug involving using inferior_pid to figure out whether to select a
30385 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30387 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30388 match the current disassembler output.
30390 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30392 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30393 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30394 types, expect "int" as type of integer values (for now).
30396 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30398 * gdb.base/commands.exp: New tests for if/while commands.
30400 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30402 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30403 by .*, since hex values have different syntax in Chill mode.
30405 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30407 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30408 linefeed from expect pattern for repeated types with indices > 9.
30410 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30412 First part of Fortran test suite.
30413 * gdb.fortran: New directory.
30414 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30416 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30418 * gdb.base/default.exp: Update expect pattern for load command
30421 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30423 * configure.in: Change i386 to i[345]86.
30424 * gdb.base/configure.in: Likewise.
30425 * gdb.c++/configure.in: Likewise.
30426 * gdb.chill/configure.in: Likewise.
30428 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30430 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30431 patterns, since that is not a valid context for comments.
30433 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30435 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30436 repeated types and repeated types with indices > 9.
30438 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30440 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30441 2417; old bug has been fixed.
30443 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30445 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30446 send the newline ourselves instead of assuming gdb_test will do
30447 so when passed an empty input string.
30449 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30452 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30454 * lib/gdb.exp (gdb_test): Don't send anything if the first
30455 argument is an empty string. This makes cases where we want to
30456 match output that is already in expect's buffers (for example,
30457 matching a breakpoint after gdb_run_cmd has been called) work
30460 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30462 * config/netware.exp: New file.
30464 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30466 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30467 the -B and -L prefixes so we can find the debugging stub.
30469 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30470 there and we are using the gcc from the tree.
30472 * gdb.base/types.c: Removed.
30474 * gdb.base/configure.in: Look for makefile fragments in ../config.
30475 Recognize i386-*-netware.
30476 * gdb.c++/configure.in: Likewise.
30478 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30480 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30481 the correct TCL syntax.
30483 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30485 * gdb.base/opaque.exp: use runto instead of messing around with
30486 breakpoints. Simplify by using gdb_test.
30488 * gdb.base/bitfields.exp: restart between tests on netware targets
30489 because breakpoints aren't relocated after target death. Run
30490 processes to completion.
30492 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30494 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30496 * Makefile.in: Remove extra tabs that confuse some versions
30497 of "make". Use the newly built gdb to test with by default,
30498 rather than the first one in the tester's search path.
30500 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30502 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30504 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30507 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30509 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30511 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30513 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30514 * gdb.base/funcargs.exp: Likewise.
30516 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30517 * gdb.base/funcargs.exp: Likewise.
30519 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30522 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30524 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30525 return,signals,twice}.exp: Handle non-existant binaries
30528 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30529 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30530 might testing a cross development system.
30532 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30534 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30535 runtest script is relative to ${srcdir}, not ${rootdir}.
30537 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30539 * gdb.base/signals.exp: Allow for optionality of breakpoint
30542 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30544 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30546 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30548 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30549 for size_t definition.
30550 * gdb.c++/templates.cc: Likewise
30552 * config/mt-i386-netware: New file.
30554 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30557 * gdb.base/Makefile.in: Added support for systems that name core
30558 files by appending "core" to the program name.
30559 * gdb.base/a1-selftest.exp: Likewise.
30561 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30563 * gdb.base/return.exp: Add comment and message for `return double'
30564 test failure on Sparc Solaris.
30566 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30568 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30570 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30572 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30573 from optimizing them away.
30574 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30575 patterns to include default constructors and assignment operators,
30576 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30577 character in the output of the virtual base pointer.
30579 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30581 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30582 expression match in print_addr_of to avoid unintented matches.
30583 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30584 versions up to 2.5.8.
30586 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30588 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30589 included file to run under newer versions of expect.
30590 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30591 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30592 Remove xfail for the virtual table of BDDHookV.
30594 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30596 * lib/gdb.exp (string_to_regexp): Set a default result.
30597 (default_gdb_start): Fix misleading message.
30599 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30601 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30602 Remove all CC, etc definitions.
30603 * config/mt-hpux: New file.
30604 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30605 (CFLAGS, LDFLAGS): Define.
30606 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30608 * Makefile.in (site.exp): Don't insert host_os, etc.
30609 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30610 (distclean): Check existence of subdir.
30611 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30612 * gdb.base/Makefile.in: General cleanup and simplification.
30613 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30614 to build executables. Use default rule to build .o files.
30615 (EXPECT, RUNTEST, CC): Fix relative pathname.
30616 (site.exp): Don't insert host_os, etc.
30617 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30618 and/or SIGUSR1 defined.
30619 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30620 * gdb.c++/Makefile.in: General cleanup and simplification.
30621 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30623 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30625 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30627 * gdb.base/recurse.exp: Misc changes to get tests running again
30628 after Kung's changes to the watchpoint code.
30629 * gdb.base/watchpoint.exp: Likewise.
30631 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30633 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30635 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30637 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30638 * lib/gdb.exp (default_gdb_start): Define.
30639 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30640 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30641 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30642 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30643 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30644 Don't call gdb_target_udi in between tests.
30646 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30648 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30649 (which was basically just a local version of the same thing). In
30650 addition to avoiding duplication, gdb_test_exact is faster.
30651 * lib/gdb.exp (gdb_test_exact): Fix typo.
30653 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30654 don't give an error.
30656 * gdb.base/term.exp: Call delete_breakpoints before starting.
30658 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30659 (t10): Add comment.
30661 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30663 Reorganization of the GDB Test Suite.
30665 * gdb.base: New directory, contains all the basic tests.
30666 * gdb.c++: New directory, tests specific to C++.
30667 * gdb.chill: New directory, tests specific to Chill.
30668 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30669 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30670 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30671 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30672 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30674 * */gdbme.*: Rename to match appropriate expect scripts.
30675 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30676 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30677 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30678 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30679 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30680 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30681 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30682 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30683 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30684 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30685 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30686 gdb.c++/virtfunc.cc: New names of C++ files.
30687 * gdb.chill/chillvars.ch: New name of Chill file.
30688 * gdb.base/configure.in, gdb.c++/configure.in,
30689 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30690 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30691 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30692 * configure.in (configdirs): Update to reflect directory changes.
30693 (target_abbrev): No longer define for any configuration.
30694 * Makefile.in: Cosmetic improvements to header comments.
30696 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30698 Various changes to gdb.t31:
30700 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30701 * gdbme.ch: Make all key-words and predefineds be upper-case.
30702 * chillvars.exp: Expect key-words and predefinds in upper-case.
30704 * chillvars.exp: Use gdb_test_exact many places.
30705 Change expected output for arrays (which now includes index labels).
30707 * pr-5020.exp, gdme.ch (module PR_5020):
30708 New test, for PR-5020.
30710 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30712 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30713 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30715 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30717 * Makefile.in: Fix bit-rot in definitions of CHILL,
30718 CHILL_FOR_TARGET and Chill_LIB.
30719 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30720 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30721 CHILL, and CHILL_LIB.
30723 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30725 * Revert the previous changes. Please see Rob's directory
30726 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30728 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30730 * Makefile.in, configure.in, config/mips-gdb.exp,
30731 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30732 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30733 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
30734 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30735 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30736 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30737 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30738 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30739 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30740 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30741 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30742 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30743 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30744 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30745 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30748 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30750 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30751 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30752 Rob's new testing fragments.
30754 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30756 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
30757 lib/gdb.exp: Replace error proc calls with perror.
30759 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30761 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30762 version also, match on casted version strings, and match on
30763 gdb startup case where the line numbers might be messed up.
30765 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30767 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
30768 (CFLAGS): Delete it from here.
30770 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30772 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30774 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30776 * Makefile.in (RUNTEST): Default to just "runtest".
30778 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30780 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30781 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30782 the code has been restructured.
30784 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30786 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30787 \n, not just one of each.
30789 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30790 /bin/cc gives a warning if you do.
30792 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30794 * gdb.t24/demangle.exp: change expect pattern of
30795 __t10ListS_link1ZUiRCUiPT0
30797 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30799 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30800 on local variables in recursive functions.
30802 * gdb.t07/Makefile.in: Build the new test.
30804 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30806 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30807 directly. Instead compare the return values from actual calls.
30809 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30811 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30813 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30815 * From Peter Schauer with minor modifications.
30816 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30817 stops in mid-line in the caller. Add xfail for returning a float
30818 value on X86 targets.
30820 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30822 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30823 to avoid expect lossage.
30824 (fmem_LRbug_tests): Likewise.
30825 * gdb.disasm/hppa.s: Corresponding changes.
30827 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30828 conditions to work with latest dejagnu/expect.
30830 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30831 expected to fail on the PA.
30832 (backtrace in call with trampolines): Explicitly require main
30833 to be frame #1 (no trampolines should show up in backtrace).
30835 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30836 "continue -expect".
30837 * gdb.t06/break.exp: Likewise.
30838 * gdb.t07/watchpoint.exp: Likewise.
30839 * gdb.t13/bitfields.exp: Likewise.
30840 * gdb.t15/{funcargs,return}.exp: Likewise.
30841 * gdb.stabs/weird.exp: Likewise.
30842 * config/{mips,udi}-gdb.exp: Likewise.
30844 * hppa.sed: Enclose comments within a sed command to avoid
30845 losing with the old OSF1 sed.
30847 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30849 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30851 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30852 * gdb.t15/funcargs.exp: Conditionally step again to really
30853 finish from marker_call_with_trampolines. Handle the case where
30854 the first step from within call_with_trampolines already steps
30856 * gdb.t15/gdbme.c: Add comment to closing brace of
30857 call_with_trampolines for funcargs.exp.
30859 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30861 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
30864 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30866 * gdb.t07/gdbme.c: More code for watchpoint testing.
30868 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30869 "Hardware watchpoint" throughout file.
30870 (test_watchpoint_triggered_in_syscall): New test.
30871 (test_complex_watchpoint): New test.
30873 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30875 * gdbme.c (call_with_trampolines): New function to try and step
30876 into. Tests trampoline problems on the PA.
30878 * funcargs.exp (localvars_in_indirect_call): No longer expect
30879 stepping into indirect call to fail on PAs.
30880 (test_stepping_over_trampolines): New test.
30882 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30884 * TODO: Add suggestions for static member function tests, and
30887 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30889 * TODO: Add suggestions for "p/a" tests.
30891 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30892 (default_gdb_exit): Replace all the hair with sending "quit" to
30893 the process with a simple close.
30895 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30897 * TODO: Add suggestions for shared library tests.
30899 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30901 * TODO: Add suggestions for x/s tests.
30903 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30905 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30906 "enable once", and "enable breakpoints once" with ".*".
30908 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30910 * TODO: Add suggestions about structure passing tests.
30912 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30914 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30915 the primary1 test, use work around if __GNUC__ < 2.
30916 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30917 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30918 Test for bad output rather than waiting for timeout. Issue
30919 second continue only if first continue failed.
30921 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30923 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30924 operator[] test with gdb_test because the old code didn't seem to
30925 be getting the quoting right with the new dejagnu.
30927 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30929 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30931 * Makefile.in: Use a fresh expect if there is one, use runtest
30932 from the src tree if there is one.
30934 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30936 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30937 next over recursive call. Revise the tests from that point on
30938 (which had been skipped) to match GDB's actual (correct) output.
30940 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30941 with next over a breakpoint whose condition is false.
30943 * gdb.t00/help.exp: Comment out "help set print" tests just like
30944 (and for same reason as) "help set" test.
30946 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30948 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30949 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30951 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30953 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30954 necessary gdb_target_udi.
30956 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30958 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30959 1838 and 2417; they are fixed.
30961 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30962 gdb.t03/ptype.exp (ptype structure, ptype union):
30963 Remove xfails; the test is looser than when the xfails were added.
30965 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30966 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30968 * gdb.t01/run.exp: Only run shell test if isnative.
30970 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30971 since "run" automatically loads if necessary. Call gdb_target_udi
30972 after the "file" since "file" kills any execution target.
30974 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30975 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30976 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30979 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30981 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30983 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30985 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30987 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30988 properly quoting regexps. This makes the second argument to
30989 demangle a fixed string, which matches the callers, instead of a
30990 shell-style pattern which is what the previous implementation
30991 used. Update some of the callers.
30993 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30995 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30996 (comib_nullified_tests): Fix typo.
30997 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30998 strings. No longer expected to fail.
31000 * gdb.disasm/hppa.s (addib_tests): Fix typo.
31001 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
31002 strings. No longer expected to fail.
31004 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
31005 string. No longer expected to fail.
31007 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31009 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
31010 No longer expected to fail.
31012 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
31013 string. No longer expected to fail.
31015 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31017 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
31018 only in the names (I probably got most of them). I was even
31019 generous with some which differed in underscores in names, and
31020 probably missed a few, and I *still* was able to remove almost a
31021 third of the file with almost no impact on testsuite coverage.
31023 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31025 * gdb.t00/default.exp: Match udi_attach error message as well as
31026 the one from child_attach.
31028 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
31030 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
31032 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
31033 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
31035 * Move test with enums and partial symbols back to
31036 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
31037 Reverts the change of 26 May 93. Per today's change to
31038 stabs.texinfo, the behavior that weird.exp was expecting was
31039 unreasonable; what is important is that the compiler+gdb get
31040 things right, which happens with a recent gcc. Also fix the test
31041 to deal with native compilers which put out the stab gdb can't
31044 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31046 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31047 in the names. The main thing these accomplish is to slow things down.
31048 Many more such duplicates surely remain.
31050 * gdb.t00/help.exp: Comment out "help support" test just like
31051 (and for same reason as) "help set" test.
31053 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31055 * gdb.t06/break.exp: Remove setup_xfails for
31056 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31057 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31058 about known bug in gcc to include up through 2.5.8.
31059 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31061 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31062 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31063 with latest gcc and gdb.
31064 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31067 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31069 * configure.in (hppa*-*-*): Also configure and build stabs-only
31072 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31074 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31075 * gdb.t10/configure.in (hppa*-*-*): Use it.
31077 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31079 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31081 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31083 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31084 versions prior to 1.13.5.
31086 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31088 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31089 the prompt is at the start of a line.
31091 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31093 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31094 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31095 in the copr tests now.
31096 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31097 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31100 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31102 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31103 gdb.t31/chillvars.exp, lib/gdb.exp:
31104 Tweak to run under either version of expect.
31105 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31106 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31107 * gdb.t11/list.exp: Remove extraneous whitespace.
31109 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31111 * gdb.t16/printcmds.exp (test_print_strings): Accept
31112 "(unsigned char *) " before the string.
31114 * TODO: Add notes about printing of fancy types and GDB expressions.
31116 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31118 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31119 * gdb.t06/configure.in: Don't try to compile signals test program
31120 if doing mips-idt-ecoff.
31122 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31124 * Most .exp files: Tweak to run under either version of expect.
31126 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31128 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31129 xfails; I'm not sure why they are failing, but not because of PR 1806.
31131 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31133 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31134 defined in lib/gdb.exp.
31136 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31138 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31139 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31140 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31141 have to be typeless.
31143 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31145 * TODO: Add suggestion for copyright year test.
31147 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31149 * configure.in (*-*-lynxos*): Add stabs tests.
31151 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31153 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31154 so insert a tab before any assembler directive in column zero.
31156 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31158 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31160 (fpu_short_memory_tests): Likewise.
31162 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31164 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31165 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31166 .stabs directives in comments.
31168 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31170 * TODO: New file, describing tests we could write.
31171 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31173 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31175 * gdb.t06/signals.exp: Add kludge to force re-sync.
31177 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31178 to xgdb instead of gdb, get out of gdb.
31180 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31182 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31185 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31187 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31188 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31189 * gdb.stabs/hppa.sed: New sed script for the PA.
31191 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31193 * gdb.stabs: Re-write weird.def and configuration to use sed
31194 instead of cpp. sed is portable and POSIX; cpp is neither.
31196 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31198 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31200 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31202 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31204 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31206 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31208 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31209 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31211 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31213 * lib/gdb.exp: Comment out code which depends on non-existent
31214 `transform' procedure.
31216 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31218 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31219 * lib/gdb.exp: Transform tool name.
31220 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31221 1.1's new error handling system.
31223 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31225 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31227 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31229 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31230 They made pattern matching so slow that timeouts happened on
31231 heavily loaded systems. Now any output from "show print" which
31232 gets us back to the GDB prompt is a PASS.
31234 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31236 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31238 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31240 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31242 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31243 It is not from PR 3220.
31245 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31247 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31248 just started failing because they depended on the order the
31249 subcommands are presented, or exact docstring text. This kind of
31250 test is a pain and has minimal benefit.
31252 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31254 * gdb.t09/corefile.exp: At end of test, use "core" command with
31257 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31259 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31260 17}/Makefile.in: Make it possible to run the testsuite with Sun
31261 make and CC = cross gcc by adding explicit build rules for .o
31264 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31266 * gdb.t15/funcargs.exp: Don't put comments on same line as
31267 setup_xfail (@#$*%& tcl braindamage!).
31269 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31271 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31273 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31275 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31276 * gdb.t20/inherit.exp: remove three dumplicate entries.
31278 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31280 * gdb.t06/break.exp: For "next over recursive call", fail on any
31281 incorrect output, not just on "factorial (value=2)".
31283 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31285 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31286 working now. Add an xfail if accesing a bss variable causes
31287 a memory error if the target is not yet run.
31289 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31291 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31292 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31293 name of __st* demangling (2 strings). Did Kung really get the
31294 more than 95 others right without testing them?
31296 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31298 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31300 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31302 * configure.in (configdirs): Add gdb.disasm
31303 * gdb.disasm: New directory for GDB disassembler tests.
31304 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31306 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31308 * gdb.t00/help.exp: Don't test "help set".
31310 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31311 from within expect statements. None of these happen anymore and
31312 they cause regressions to be silently unnoticed.
31314 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31315 messages) about known failures with gcc cygnus-2.4.5-930417.
31317 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31318 comp-info.exp so it gets built if it doesn't exist.
31320 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31321 it is no longer used.
31322 * gdb.t13/comp-info.c: Removed.
31324 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31326 * gdb.t06/signals.exp: Add xfail for sun3.
31328 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31330 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31331 relevant because ^C doesn't get sent but failure can be reproduced
31334 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31336 * gdb.stabs/alpha.mt: New configuration file for alpha.
31337 * gdb.stabs/configure.in: Use it.
31338 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31339 sharing with alpha.mt, redefine long to word via preprocessor.
31340 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31342 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31344 * gdb.t00/teststrategy.exp: Change expect string so that we
31345 consume the `(xgdb)' from the command echo and from the gdb prompt.
31346 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31347 gdb currently compares all values as long, so this failure probably
31348 applies to any configuration where LONGEST is bigger than a target int.
31349 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31351 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31352 to handle opaque pointers, gcc is.
31353 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31354 as first argument. Include <sys/types.h> and change all operator
31355 new definitions to use size_t.
31356 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31357 now that we use size_t.
31359 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31361 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
31362 a long or float array cast all array members to the same type.
31363 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
31365 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
31367 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
31369 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31371 * gdb.t24 (demangle.exp): Constructors of templates have names like
31372 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31373 section 14.6 of the ARM.
31375 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31376 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31377 accomplish little and slow down the testsuite.
31379 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31380 Accept spaces various places.
31382 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31384 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31385 with watchpoint enabled.
31387 * Makefile.in: Remove definition of CC and remove the second
31388 definition of CXX (the "CXX = gcc" one remains). These definitions
31389 were causing backquotes to be expanded within backquotes, which
31392 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31394 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31396 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31398 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31399 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
31400 by mips cc and contains no stabs entries.
31402 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31404 * config/vx-gdb.exp: Use fake device to load files rather than
31406 * lib/gdb.exp: New proc to do "file" command.
31407 * config/unix-gdb.exp: Use new "file" proc.
31409 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31411 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31412 Rework board rebooting slightly.
31413 (gdb_exit): Don't exit from the remote shell; there isn't one.
31414 * gdb.stabs/weird.exp: If a program is being debugged already,
31416 * gdb.t04/setvar.exp: Stop and restart gdb.
31417 * gdb.t05/expr.exp: Likewise.
31418 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31419 restart gdb and reload the program.
31420 * gdb.t08/opaque.exp: Likewise.
31421 * gdb.t12/scope.exp: Likewise.
31422 * gdb.t13/bitfields.exp: Likewise.
31423 * gdb.t15/funcargs.exp: Likewise.
31424 * gdb.t20/classes.exp: Likewise.
31425 * gdb.t03/ptype.exp: Increase timeout.
31426 * gdb.t16/printcmds.exp (test_print_string_constants,
31427 test_print_array_constants): Likewise.
31428 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31429 * gdb.t20/classes.exp (do_tests): Likewise.
31430 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31432 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31434 * gdb.stabs: Renamed *wierd* to *weird*.
31436 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31438 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31439 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31441 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31443 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31444 (do_tests): Remove xfail for whatis on one_var and two_var.
31446 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31448 * Makefile.in: Made cross building work better by adding
31449 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31451 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31453 * gdb.t15/{return.c,return.exp,Makefile.in}:
31454 New test, currently commented out.
31456 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31458 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31459 still running and removes the leftover named socket so GDb can do
31462 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31464 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31466 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31467 cross testing works better with "make check"
31468 * config/unix-gdb: Use default procedures for exit and version.
31469 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31470 with the newest VxWorks.
31472 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31474 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31477 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31478 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31480 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31482 * config/unix-gdb.exp: Remove this version of gdb_exit
31483 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31484 Rob says he'll look at it when he gets back to testing boards.
31486 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31488 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31489 an expected fail for certain ptype commands.
31491 * gdb.t20/classes.exp: Update expected results of "ptype class
31492 Base1" to account for the constructor that now appears in the type.
31494 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31496 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31497 disappeared from list.
31498 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31499 "alldone" proc with call to cleanup and exit.
31500 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31501 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31502 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31503 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31504 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31505 "alldone" proc with simple returns that suppress remaining
31506 tests. The alldone proc went away many months ago.
31508 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31510 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31512 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31514 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31516 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31517 as vax gdb will display them.
31519 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31521 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31524 * scope.exp: Change "bad value for localval" messages so each one
31527 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31528 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31530 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31532 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31534 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31535 doesn't exist (due to optimization).
31537 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31539 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31540 contains \r because the filename is long.
31542 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31543 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31545 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31547 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31548 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31550 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31552 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31554 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31556 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31558 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
31559 to match does not match the passing case but still matches the
31562 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31564 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31566 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31568 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31569 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31570 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31571 Remove various versions of gdb_exit.
31572 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31574 * config/unix-gdb.exp: gdb_exit remains here, and should override
31575 the generic version, since it's doing a lot of wierd stuff that
31576 the other versions aren't. FIXME, fold it in, or abandon this
31579 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31581 * gdb.t24/demangle.exp: Add tests for PR 3220.
31583 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31585 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31587 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31589 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31590 "i386-*-*". Works for i486 as well.
31592 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31593 bug, and expand domain of xfail to all SVR4 systems, since the
31594 actual problem is likely to be in generic SVR4 /proc support.
31596 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31598 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31600 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31602 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31603 xfails for other systems. Match a missing 'Continuing.' as an
31604 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31606 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31607 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31608 Only issue warning for missing executables if -all option is used.
31610 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31611 file if -all option is used. It's like an unpredictable XFAIL.
31613 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31615 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31616 for dynamically linked binaries.
31618 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31620 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31622 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31623 to state that this is a known bug in old versions of g++.
31625 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31627 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31628 while waiting for `Continuing'.
31630 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31632 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31633 in text, data, and bss.
31634 * gdb.t10/nodebug.c: Add local and global test variables for
31635 initialized and uninitialized data.
31637 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31639 * config/unix-gdb.exp (gdb_exit): Add "wait".
31641 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31643 * gdb.t06/signals.exp: xfail the continue from the handler for all
31646 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31647 function with watchpoints enabled, the i386 call dummy starts with
31650 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31651 386 bsd names its corefiles.
31653 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31655 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31656 compilers don't grok it.
31657 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31658 with small octal ints rather than character constants, which
31659 are signed and might not fit if first promoted to int.
31661 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31663 * gdb.t09/Makefile.in (clean): Remove corefile.
31665 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31667 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31669 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31670 and Jim Kingdon (kingdon@cygnus.com)
31672 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31673 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31674 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31676 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31678 * gdb.t17/interrupt.exp: Add xfail for hppa.
31680 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31682 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31683 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31684 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31685 to determine signed-ness of bitfields and use the result to setup
31687 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31688 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31689 call line is reached if necessary.
31691 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31693 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31695 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31697 * gdb.t06/break.exp: Also test `clear' command.
31699 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31701 * gdb.t00/teststrategy.exp: Remove extra quote.
31703 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31704 watchpoint enabled to be for all non-68k machines.
31706 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31708 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31710 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31711 targets use aout.mt instead of ecoff.mt as gas understands
31712 standard aout format.
31714 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31716 * lib/gdb.exp (runto): Don't insist that function we are running to
31717 was compiled with -g.
31719 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31721 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31722 to get back into the read system call.
31723 Accept leading newline in case where we woke it up.
31725 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31727 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31728 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31729 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31730 enable ecoff configuration.
31732 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31734 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31736 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31738 * gdb.t16/printcmds.exp: Add another printf test.
31740 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31742 * configure.in: If configured -with-stabs on any target, add
31743 stabsdirs to configdirs.
31745 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31747 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31748 fun" so pattern does not match the command itself.
31750 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31752 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31754 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31756 * gdb.t17/interrupt.exp: Test for more things.
31758 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31760 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31761 compiler arranges the code and line numbers.
31763 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31765 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31767 * gdb.t00/help.exp: Increase expect input buffer size.
31769 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31771 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31773 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31775 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31777 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31778 [0-9]*, not just [0-9].
31780 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31782 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31784 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31786 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31788 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31790 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31792 * gdb.t06/signals.c: Add xfails for sun3.
31794 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31796 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31797 test_stepping tests.
31799 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31801 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31803 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31805 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31806 rather than actually putting it through cpp twice.
31808 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31810 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31812 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31815 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31817 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31819 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31820 C++ features prints as "struct", make it a pass, not an xfail.
31822 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31824 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31825 Don't require VA to print as "class" rather than "struct".
31827 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31829 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31831 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31833 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31835 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31837 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31840 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31842 * gdb.t16/printcmds.exp: Add printf tests.
31844 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31846 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31848 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31850 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31851 pass counts, to counteract any existing or future setup_xfails.
31853 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31855 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31856 {BEGIN,END}_COMMON for common block instead of STAB.
31857 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31859 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31860 intp_var should be N_GSYM not N_LSYM.
31861 wierd-aout.S: Use a label for the value of the N_SO.
31862 wierd.def: Remove all backslashes.
31863 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31865 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31867 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31868 get the expected next to inheritance3.
31870 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31872 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31873 now that gcc-2.4 gets it right.
31875 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31877 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31879 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31880 generating comp-info.exp which works for cross-compilation.
31882 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31884 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31887 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31889 * gdb.t01/run.exp: Start with a fresh gdb.
31890 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31893 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31895 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31896 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31897 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31898 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31901 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31903 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31904 test cases from bug reports.
31906 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31908 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31909 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31910 avoid spurious xfails.
31911 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31912 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31913 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31915 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31917 * gdb.t00/teststrategy.exp: Rework to provide more useful
31918 description of each test, fix problem with systems that define
31919 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31920 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31921 results for "next over recursive call" so timeouts aren't taken
31924 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31926 * gdb.t12/scope.exp: Test printing of variables before run.
31928 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31929 printed in wrong order due to sorting.
31931 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31933 * gdb.t00/teststrategy.exp: Fix expected results for printing
31934 user entered string constant. Is array of char, prints with no
31937 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31939 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31940 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31941 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31942 of struct of char arrays.
31943 * gdb.t00/radix.exp: New tests for radix commands.
31945 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31947 * gdb.t16/printcmd.exp: Print a variable before running program
31948 (with xfail for AIX).
31950 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31952 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31954 * gdb.t16/printcmd.exp: Don't print variables before running program.
31956 * gdb.t06/break.exp: Don't require envp argument to main.
31958 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31960 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31961 Add xfails for rs6000.
31963 * gdb.t02/whatis.exp: Change other tests not to re-test something
31966 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31967 each type used has a variable of that type.
31969 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31971 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31973 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31975 * configure.in: change srctrigger to be a file, not a directory
31977 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31979 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31981 * gdb.t11/list.exp: Fixed a couple of typos.
31983 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31985 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31986 is fixed and PR is closed.
31987 * gdb.t16 (gdbme.c): Add simple test string variable.
31988 * gdb.t16 (printcmds.exp): Add tests with simple test string
31989 variable, primarily for boundaries on "set print elements".
31991 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31993 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31994 Make leading 0's optional and don't expect a tab in the middle
31997 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31999 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
32000 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
32001 don't end command passed to gdb_test with newline.
32003 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
32004 signed keyword away, don't expect signed bitfields to be signed.
32006 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
32007 printing with only as many 1's as are in the field as well as printing
32008 with 32 1's (see comment).
32010 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
32012 * gdb.t00/default.exp: Start with a fresh gdb.
32013 * configure.in (configdirs): Remove gdb.t31 until the chill
32014 compiler works again. It no longer is able to find chillrt0
32015 since it isn't in libchill.a anymore.
32016 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
32017 wierd.o, make more modular.
32018 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
32019 spurious newlines that caused problems.
32021 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32023 * Move test with enums and partial symbols from gdb.t03/ptype.exp
32024 to gdb.stabs/wierd.exp since GCC has worked around the bug.
32025 gdb.stabs/wierd.{exp,def}: Many new tests.
32027 * gdb.t00/default.exp: update info line for new message.
32029 * gdb.t02/{whatis.exp,gdbme.c}:
32030 Test that "char *" doesn't print as "caddr_t".
32032 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32034 * gdb.t00/help.exp: Use .* in place of some help messages which
32036 gdb.t00/default.exp: Update "info frame" test for new message.
32037 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32040 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32042 * gdb.t03/{gdbme.c,ptype.exp}:
32043 Add tests for typedef'd struct and union without tags.
32044 Also check "whatis" on a variable of a typedef'd enum without a tag.
32046 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32047 PRMS 1823; the bug still exists but isn't reproduced by this test
32048 anymore), and remove rs6000 XFAIL (the bug is fixed).
32050 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32051 duplicated from whatis.exp. For those that are left, accept
32052 "long", "long int", or "int" for long variables (whatis.exp already
32053 has an XFAIL for "int", so no need to fail it here).
32055 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32056 Deal with GCC's names for types now that GDB uses the compiler's names.
32058 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32059 setup_xfail's for sunos4. If we #defined the signed keyword away,
32060 don't expect GDB to know that char it is signed.
32062 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32064 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32066 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32067 should work on any system, regardless of debugging format.
32068 * gdb.t21/demangle.exp: Move to gdb.t24.
32069 * gdb.t24/demangle.exp: Move from gdb.t21.
32070 * gdb.t24/{Makefile.in, configure.in}: New files.
32072 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32074 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32075 * gdb.stabs: New directory.
32077 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32079 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32080 not just "Quit anyway?".
32082 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32084 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32085 that all setup_xfails are immediately followed by clear_xfails.
32087 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32089 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32090 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32091 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32092 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32093 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32094 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32095 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32096 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32097 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32098 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32099 gdb.t31/chillvars.exp, lib/gdb.exp:
32100 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32101 bug-gdb@prep.ai.mit.edu.
32103 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32105 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32106 with 0.0, not integer 0.
32108 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32110 * gdb.t06/break.exp: Update for "Kill the program" message change.
32112 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32114 * Makefile.in (GDBFLAGS): Set to -nx.
32115 * Makefile.in (site.exp): Use GDBFLAGS.
32117 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32119 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32121 (check): depend on just-check.
32122 (just-check): added so that tests can be run without a noop
32125 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32127 Switch to using configure's configdirs.
32128 * Makefile.in (Makefile): add configure.in dependency.
32129 (SUBDIRS): removed redundant assignment.
32130 * configure.in: switch subdirs assignment to configdirs.
32131 * gdb.t*/configure.in: new files.
32133 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32135 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32138 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32140 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32141 in explicit rules. Apparently this is not supported by some makes.
32143 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32145 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32147 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32149 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32152 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32154 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32156 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32158 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32159 watchpoint problem that is now fixed.
32160 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32161 uninitialized convenience variables.
32162 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32165 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32167 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32168 which causes expect to get out of sync with gdb on long output
32170 * gdb.t09/corefile.exp: Make expected pattern for core file
32171 failing signal and frame output format less sun specific.
32173 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32175 * gdb.t31/chillvars.exp: Add and remove initial dummy
32176 breakpoint, so that symbol table is forced in.
32177 (Needed at least on Sunos4, though it seems not SVR4.)
32178 * gdb.t31/chillvars.exp: Update for changed output format.
32180 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32182 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
32184 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32186 * Makefile.in: Added --srcdir when invoking runtest, removed the
32187 need for a local config file. (optional now)
32189 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32191 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32192 failure count used to force early termination. Add some more
32193 expected failures for gnu style demangling.
32195 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32197 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32198 pmi variable from gdb.t20/gdbme to get optimized away.
32199 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32200 Check for written corefile upon timeout _and_ eof.
32202 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32204 * config/unix-gdb.exp: Add missing return 0.
32206 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32208 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32211 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32213 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32216 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32218 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32219 time as i860 support works.
32221 * gdb.t15/funcargs.exp: Fix expected outputs to include
32222 "backtrace 100\r" rather than just "backtrace\r", to match last
32225 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32227 * config/udi-gdb.exp (gdb_exit): Remove close command.
32228 (gdb_target_udi): New procedure to set the UDI target.
32229 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32230 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32231 Added waits for prompts after several question responses. Added
32232 some more responses used by a29k-amd-udi-gdb.
32233 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32234 pass different arguments, restart UDI connection after program
32236 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32237 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32238 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32239 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32240 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32241 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32242 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32243 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32244 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32245 after program completion.
32246 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32247 compiled with a SELECT_VECS setting.
32248 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32249 infinite recursion.
32251 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32252 Added checks for COFF results, and made them expected failures for
32253 all targets. It would be better to make them expected failures
32254 for COFF targets only.
32256 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32258 * Makefile.in: add null dvi target, don't bother to recurse
32259 through test directories for info and install-info; rename
32260 $(datadir) to be dejagnu instead of deja-gnu
32262 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32264 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32265 compiler to coredump.
32266 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32269 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32271 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32273 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32276 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32278 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32279 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32280 which in a shell. Deletes xgdb when done.
32281 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32282 Tests the return from the "set height" or "set width" commands.
32283 Added a few return codes where needed.
32285 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32287 * Makefile.in (SUBDIRS): Add gdb.t17.
32288 * configure.in (subdirs): Add gdb.t17.
32289 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32290 files to test gdb's calling of functions in the inferior with
32291 the correct arguments and gdb's ability to retrieve any
32294 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32296 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32297 may be called after gdb goes away. Previous versions of expect
32298 needed these to avoid file descriptor leaks, but they cause
32299 errors with the current revision of expect.
32300 * gdb.t00/gdbvars.exp: Use -re on expected output after
32301 setting sevenbit-strings.
32302 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32303 to set sevenbit-strings consistent across tests.
32304 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32305 set sevenbit-strings consistent across tests.
32307 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32309 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32310 expected output to match current "expect" expectations.
32312 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32314 * gdb.t00/default.exp: Change expected output for default "source"
32315 command, to match new gdb behavior which requires a filename to
32318 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32320 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32321 expected fail for i486-*-* that misses the marker2 function.
32322 * gdb.t10/crossload.exp (bfddefault): Allow successful
32323 recognition of a format to pass even if no symbols are found.
32324 Explicitly catch failures where the format is not recognized
32325 or is ambiguous, and add the reason to the fail message.
32326 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32327 the cause is and invalid target and add reason to failure message.
32328 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32329 elf32-i386, elf32-sparc, and elf32-i860.
32330 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32331 Set up expected failure for 'filename'::variable scope resolution,
32332 which is now apparently broken on all targets.
32333 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32334 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32335 gdb.t23/templates.exp: Change failure for missing binfile into
32337 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32340 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32342 * gdb.t00/default.exp: Add expected output for default "source"
32343 command, to match new gdb behavior.
32344 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32346 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32348 * config/*-gdb.exp: returns an error, rather than exiting on
32351 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32353 * gdb.t03/gdbme.c: Add pointer to struct variable.
32354 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32355 referencing struct members.
32357 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32359 * configure.in (mips-idt-ecoff): New target.
32360 * config/mips-gdb.exp: New file for remote board using MIPS remote
32361 debugging protocol.
32363 * Redid configuration scheme. Removed gdb.t*/configure.in.
32364 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32365 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32366 distclean targets. Built executables via .o files. Adjusted
32367 tests to account for source files in $(srcdir) rather than
32369 * lib/gdb.exp (runto): Don't expect () after the function name,
32370 because it may have arguments.
32372 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32374 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32375 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32376 expected failures for mips-idt-* and mips-sgi-*.
32377 * gdb.t00/default.exp (attach): Kill process if requested.
32378 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32379 that does not read core files.
32380 * gdb.t01/run.exp: Removed checks for exit status code.
32381 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32383 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32384 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32385 appropriate, rather than doing it by hand.
32386 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32388 * gdb.t10/crossload.exp: Kill existing program if needed.
32389 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32390 appropriate, rather than doing it by hand. Always increase
32391 timeout for this test, not just for VxWorks.
32393 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32395 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32396 of Chill STRUCT types and STRUCT values.
32397 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32399 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
32400 struct2): New struct definitions and initializations to test
32401 simple Chill STRUCT types.
32403 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32405 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32406 the null byte at the end of strings.
32407 * gdb.t00/default.exp: Make show version insensitive to copyright
32409 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32410 to avoid dependencies on target char signedness.
32411 * gdb.t16/printcmds.exp: Update expected results for explicitly
32413 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32415 * gdb.t21/demangle.exp: Add many more patterns for template
32416 demangling, most of them being expected failures.
32417 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32418 string we are matching for, to match on the whole string.
32419 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32420 and fix a whole bunch that had incorrect expected output but were
32421 passing anyway because of the bug in "proc demangle".
32422 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32424 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32426 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32428 * gdb/testsuite: made modifications to testcases, etc., to allow
32429 them to work properly given the reorganization of deja-gnu and the
32430 relocation of the testcases from deja-gnu to a "tool" subdirectory.
32432 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32434 * gdb/testsuite: Initial creation of gdb/testsuite.
32435 Migrated dejagnu testcases and support files for testing nm to
32436 gdb/testsuite from deja-gnu. These files were moved "as is"
32437 with no modifications. This migration is part of a major overhaul
32438 of dejagnu. The modifications to these testcases, etc., which
32439 will allow them to work with the new version of dejagnu will be
32440 made in a future update.
32442 For additional changes see gdb.mi/ChangeLog-1999-2003.
32444 ;; Local Variables:
32445 ;; mode: change-log
32448 ;; version-control: never
32451 Copyright 1993-2013 Free Software Foundation, Inc.
32452 Copying and distribution of this file, with or without modification,
32453 are permitted provided the copyright notice and this notice are preserved.