X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=9c95f3ff022eb26ce73bd23e81d27beb7a59dddd;hb=1f3b5d1bafa98e6c80d623b585b42c76a97b58ee;hp=a80d9a252cac685067aedf5239eb5d1121f97dd5;hpb=a96d9b2e9a79e6cc7a9da9b4e5bab6fcc35f1eb4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a80d9a252c..9c95f3ff02 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,578 @@ +2009-12-03 Paul Pluzhnikov + + PR gdb/11022 + + * gdb.base/pr11022.exp: New test. + * gdb.base/pr11022.c: New test. + +2009-12-03 Jan Kratochvil + + Fix spurious false FAILs. + * gdb.base/structs.c (chartest): New. + (main): Fill-in chartest. + * gdb.base/structs.exp (anychar_re, first): New. + (start_structs_test): Import global anychar_re and first. + New gdb_test call "set print elements 300; ${testfile}" + (start_structs_test <$first>): New block. + (any): Import global anychar_re. New variable ac. Use ${ac}. + +2009-11-30 Jan Kratochvil + + * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200. + +2009-11-30 Jan Kratochvil + + * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call): + Force $srcfile file. + * gdb.base/foll-fork.c (callee): Comment out the printf call. + +2009-11-27 Ulrich Weigand + + * gdb.base/hbreak.exp: Disable for s390*-*-* targets. + * gdb.base/watchpoint-hw-hit-once.exp: Likewise. + * gdb.threads/watchthreads-reorder.exp: Likewise. + +2009-11-24 Daniel Jacobowitz + + PR gdb/8704 + + * gdb.base/condbreak.exp: Test combinations of "break *EXP", + "if", and "thread". Correct matching in the previous test. + +2009-11-25 Daniel Jacobowitz + + * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test. + +2009-11-23 Michael Snyder + + * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints. + * gdb.reverse-watch-precsave.exp: Ditto. + +2009-11-23 Paul Pluzhnikov + + * gdb.asm/asm-source.exp: Adjust. + * gdb.base/help.exp: Adjust. + +2009-11-22 Pedro Alves + + * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir) + (do_syscall_tests_without_xml): Set data-directory to + /the/path/to/nowhere. + +2009-11-21 Pedro Alves + + * gdb.threads/local-watch-wrong-thread.c, + gdb.threads/local-watch-wrong-thread.exp: New files. + +2009-11-21 Pedro Alves + + * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't + assume new `regsub' syntax available. + +2009-11-20 Jan Kratochvil + + * gdb.base/watchpoint-hw-hit-once.exp, + gdb.base/watchpoint-hw-hit-once.c: New. + +2009-11-20 Jan Kratochvil + + * gdb.threads/watchthreads-reorder.exp, + gdb.threads/watchthreads-reorder.c: New. + +2009-11-17 Nathan Sidwell + + * gdb.xml/tdesc-regs.exp: Use for m68k. + +2009-11-15 Pedro Alves + + * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files. + +2009-11-13 Daniel Jacobowitz + + * lib/gdb.exp (current_target_name): New procedure. + (gdb_wrapper_target): New variable. + (gdb_wrapper_init): Set gdb_wrapper_target. + (default_gdb_init): Check gdb_wrapper_target before rebuilding the + wrapper. + +2009-11-13 Daniel Jacobowitz + + * gdb.base/remote.exp: Delete the slowest load test. + Do not load with fixed packet sizes. + +2009-11-13 Daniel Jacobowitz + + * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up. + +2009-11-13 Daniel Jacobowitz + + * gdb.base/freebpcmd.exp: Delete unused variable. Specify + srcfile when setting a breakpoint. + +2009-11-13 Maciej W. Rozycki + + * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine + macros. + +2009-11-13 Daniel Jacobowitz + + * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference + to be in memory. + * gdb.base/display.c (force_mem): New. + (do_loops): Use it. Add breakpoint comments. + (do_vars): Add a breakpoint comment. + * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded + line numbers. + +2009-11-13 Nathan Froyd + + * gdb.base/pending.exp: Use gdb_run_cmd to start the program + instead of a bare "run". + +2009-11-13 Paul Pluzhnikov + + * gdb.python/py-prettyprint.exp: Adjust. + +2009-11-12 Daniel Jacobowitz + + * lib/cell.exp (skip_cell_tests): Clean up test files before + returning. + +2009-11-12 Daniel Jacobowitz + + * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n", + and the breakpoint menu. Do not call perror if a prompt is seen. + Consume the following GDB prompt. + * gdb.cp/method2.exp (test_break): Use gdb_test_multiple. + * gdb.cp/namespace.exp: Use gdb_test. + * gdb.cp/templates.exp: Use gdb_test. + (test_template_breakpoints): Use gdb_test_multiple. + +2009-11-12 Daniel Jacobowitz + + * gdb.base/break1.c (struct some_struct, values): Move earlier. + (marker4): Reference values. + +2009-11-12 Daniel Jacobowitz + + * gdb.base/macscp.exp: Avoid the first FAIL if macro information + is missing. + +2009-11-12 Daniel Jacobowitz + + * gdb.base/break.c (need_malloc): New. + * gdb.base/constvars.c (main): Reference crass and crisp. + * gdb.base/gdb1821.c (main): Reference bar. + * gdb.cp/gdb1355.cc (main): Reference s1. + * gdb.cp/hang1.cc (dummy2, dummy3): Declare. + (main): Call them. + * gdb.cp/hang2.cc (dummy2): Define. + * gdb.cp/hang3.cc (dummy3): Define. + * gdb.cp/m-data.cc (main): Reference shadow. + +2009-11-12 Daniel Jacobowitz + Nathan Froyd + + * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a + remote host. + +2009-11-12 Nathan Froyd + + * gdb.base/step-line.exp: Copy step-line.inp to the remote host. + * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host. + * gdb.dwarf2/dw2-compressed.exp: Likewise. + * gdb.dwarf2/dw2-intercu.exp: Likewise. + * gdb.dwarf2/dw2-intermix.exp: Likewise. + * gdb.dwarf2/dw2-producer.exp: Likewise. + * gdb.dwarf2/mac-fileno.exp: Likewise. + * gdb.python/py-prettyprint.exp (run_lang_tests): Copy + py-prettyprint.py to the remote host. + * gdb.python/py-mi.exp: Copy py-mi.py to the remote host. + +2009-11-11 Keith Seitz + + * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and + use it instead of "Foo". + * gdb.cp/classes.exp (do_tests): Add a test to access + a method through a typedef'd class name. + +2009-11-11 Nathan Froyd + + * gdb.base/long_long.exp: Permit leading zeros on floating-point + exponents. + * gdb.base/pointers.exp: Likewise. + * gdb.cp/ref-types.exp: Likewise. + +2009-11-11 Keith Seitz + + * gdb.cp/cplusfuncs.cc (class foo): Add operators + new[] and delete[]. + * gdb.cp/cplusfuncs.exp (dm_type_void): Change to + "void". + (probe_demangler): Remove all single-quoting of + method and variable names. + (info_func_regexp): Remove the word "void" from any + occurrence of "(void)". + (print_addr_2): Remove all single-quoting of + method names. + (print_addr_2_kfail): Likewise. + (print_addr): Single-quote C function names before + passing to print_addr_2. + (test_paddr_operator_functions): Remove single-quoting + for method names. + Add tests for operator new[] and operator delete[]. + +2009-11-11 Jan Kratochvil + + * gdb.dwarf2/dw2-ranges.exp: Call runto_main. + +2009-11-09 Keith Seitz + + * gdb.cp/overload.exp: Add tests for resolving overloaded + methods in expression parsing/evaluation. + +2009-11-10 Daniel Jacobowitz + + * lib/gdb.exp (default_gdb_version): Use --version instead of + --command. + +2009-11-10 Nathan Sidwell + + * lib/gdb.exp (gdb_compile_test): New. + (skip_ada_tests, skip_java_tests): New. + (gdb_compile): Use gdb_compile_test for f77. + * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result. + * lib/java.exp (compile_java_from_source): Remove runtests check, + use gdb_compile_test to record result. + * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp, + gdb.ada/exec_changed.exp, gdb.ada/start.exp, + gdb.ada/watch_arg.exp, gdb.ada/null_record.exp, + gdb.ada/array_return.exp, gdb.ada/arrayidx.exp, + gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp, + gdb.fortran/array-element.exp, gdb.fortran/subarray.exp, + gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp, + gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp, + gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip, + adjust gdb_compile invocations. + +2009-11-09 Jan Kratochvil + + * Makefile.in (abs_builddir): New. + (site.exp): New target `$(abs_builddir)/site.exp'. New comment. + (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to + `$(abs_builddir)/site.exp'. + +2009-11-05 Daniel Jacobowitz + + * config/m68k-emc.exp, lib/emc-support.exp, + gdb.trace/gdb_c_test.c: Delete. + * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp, + gdb.trace/collection.exp, gdb.trace/deltrace.exp, + gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp, + gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp, + gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, + gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special + casing for m68k-*-elf. + +2009-11-03 Pedro Alves + + * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*. + * gdb.arch/i386-prologue.exp: Likewise. + * gdb.arch/i386-unwind.exp: Likewise. + +2009-11-02 Daniel Jacobowitz + + * lib/gdb.exp (gdb_expect): Fix timeout typo. + +2009-11-02 Daniel Jacobowitz + + * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name. + +2009-11-02 Daniel Jacobowitz + + * gdb.cp/ctti.exp: Correct return values for unsigned char functions. + +2009-11-02 Jan Kratochvil + + * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs. + +2009-11-02 Jan Kratochvil + + * gdb.base/sepdebug.exp (CRC mismatch is reported): New test. + * gdb.base/sepdebug2.c: New file. + +2009-10-31 Sergio Durigan Junior + + * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept + the modified warnings for catch syscall. Verify if GDB was compiled + with support for lib expat, and choose which tests to run depending + on this. + +2009-10-30 Vladimir Prus + + * gdb.mi/mi-break.exp (test_breakpoint_commands): Test + that composite commands are parsed OK. And also test + that breakpoint commands do work. + +2009-10-23 Michael Snyder + + gdb.reverse/consecutive-precsave.exp: Change expect pattern + to allow for new disassembly style. + +2009-10-22 Paul Pluzhnikov + + * gdb.asm/asm-source.exp: Adjust. + +2009-10-22 Michael Snyder + + * gdb.reverse/break-precsave.exp: New test. + * gdb.reverse/consecutive-precsave.exp: Ditto. + * gdb.reverse/finish-precsave.exp: Ditto. + * gdb.reverse/i386-precsave.exp: Ditto. + * gdb.reverse/machinestate-precsave.exp: Ditto. + * gdb.reverse/sigall-precsave.exp: Ditto. + * gdb.reverse/solilb-precsave.exp: Ditto. + * gdb.reverse/step-precsave.exp: Ditto. + * gdb.reverse/until-precsave.exp: Ditto. + * gdb.reverse/watch-precsave.exp: Ditto. + +2009-10-22 Michael Snyder + + * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple + for gdb_expect. Adjust one test's expect strings for the new + format of disassemble. + * gdb.reverse/finish-reverse.exp: Delete 'return'. + * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for + gdb_test_multiple. + * gdb.reverse/step-reverse.exp: Delete 'return'. + * gdb.reverse/until-reverse.exp: Delete blank lines. + * gdb.reverse/watch-reverse.exp: Delete blank lines. + +2009-10-21 Paul Pluzhnikov + + * gdb.base/consecutive.exp: Adjust. + * gdb.base/display.exp: Likewise. + * gdb.base/pc-fp.exp: Likewise. + * gdb.base/sigbpt.exp: Likewise. + +2009-10-19 Michael Snyder + + * gdb.reverse/consecutive-reverse.c: Add comment at end of main. + * gdb.reverse/finish-reverse.c: Ditto. + * gdb.reverse/sigall-reverse.c: Ditto. + * gdb.reverse/solib-reverse.c: Ditto. + * gdb.reverse/step-reverse.c: Ditto. + * gdb.reverse/watch-reverse.c: Ditto. + +2009-10-19 Pedro Alves + Stan Shebs + + * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork". + * gdb.base/foll-exec.exp: Adjust to expect a process id before + "Executing new program". + * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork". + * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being + left listed after having been killed. + * gdb.base/attach.exp: Adjust to spell out "symbol-file". + * gdb.base/maint.exp: Adjust test. + + * Makefile.in (ALL_SUBDIRS): Add gdb.multi. + * gdb.multi/Makefile.in: New. + * gdb.multi/base.exp: New. + * gdb.multi/goodbye.c: New. + * gdb.multi/hangout.c: New. + * gdb.multi/hello.c: New. + * gdb.multi/bkpt-multi-exec.c: New. + * gdb.multi/bkpt-multi-exec.exp: New. + * gdb.multi/crashme.c: New. + +2009-10-13 Tristan Gingold + + * gdb.base/sepdebug.exp: Check debug info are found. + +2009-10-08 Pedro Alves + + * lib/gdb.exp (gdb_compile): Remove dead aix and irix related + bits. + +2009-10-07 Jan Kratochvil + + * gdb.base/hbreak.exp, gdb.base/hbreak.c: New. + +2009-10-07 Joel Brobecker + + * gdb.base/watchpoints.c: Add copyright header. Reformat one + of the comments. + +2009-10-06 Pierre Muller + + * gdb.base/annota1.exp: Remove obsolete match_max increase. + * gdb.base/annota3.exp: Idem. + * gdb.base/maint.exp: Idem. + +2009-10-05 Pierre Muller + + * lib/gdb.exp (default_gdb_init): Set current value of match_max + to default. + +2009-10-02 Pierre Muller + + * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for + mingw and cygwin targets. + +2009-10-02 Pierre Muller + Pedro Alves + + * lib/gdb.exp (gdb_compile): Avoid adding + gdb_saved_unbuffered_mode_obj if -nostdlib option is used. + +2009-10-01 Pierre Muller + + * gdb.base/shr1.c: Use %p in format string. + * gdb.base/unload.c: Avoid warning in fprintf. + * gdb.base/watchpoint-solib.c: Idem. + +2009-10-01 Pierre Muller + + * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to + long type. + (test_unlink): Correct printf string. + * gdb.base/checkpoint.c (main): Correct fprintf string for variable i. + * gdb.threads/attachstop-mt.c: Add #include . + +2009-09-29 Jan Kratochvil + + * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ... + * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests. + * gdb.arch/ia64-breakpoint-shadow.S: New file. + +2009-09-29 Ulrich Weigand + + * gdb.objc/basicclass.exp: Disable pending breakpoint query. + * gdb.objc/nondebug.exp: Likewise. + +2009-09-29 Ulrich Weigand + + * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints + target_info setting. + + * gdb.threads/thread-specific.exp (get_thread_list): Support targets + that detect new threads during "info threads". + +2009-09-27 Ulrich Weigand + + * gdb.threads/manythreads.c (main): Increase thread stack size + to 2*PTHREAD_STACK_MIN. + * gdb.threads/multi-create.c (main): Likewise. + (create_function): Likewise. + +2009-09-27 Ulrich Weigand + + * gdb.base/dump.exp: Pass difference of pointer types instead + of integer types as offset to restore in intarr3.srec case. + +2009-09-27 Ulrich Weigand + + * gdb.cp/gdb2495.exp: Skip test on spu*-*-*. + +2009-09-27 Ulrich Weigand + + * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile. + +2009-09-26 Pierre Muller + + New test for two watchpoints, with disabling of + the first inserted. + * testsuite/gdb.base/watchpoints.c: New file. + * testsuite/gdb.base/watchpoints.exp: New file. + +2009-09-25 Tom Tromey + + * gdb.base/charset.exp: Test utf-16 strings with Python. + +2009-09-25 Tom Tromey + + * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and + UCS-4. + * gdb.base/charset.c (utf_32_string): Rename. + (init_utf32): Rename. + (main): Update. + +2009-09-22 Tom Tromey + + * gdb.python/py-function.exp: Add regression tests. + +2009-09-21 Keith Seitz + + * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message + with invalid operator. + +2009-09-21 Keith Seitz + + * gdb.cp/classes.exp (do_tests): Add tests to print a constructor + and destructor using typedef name of class. + * gdb.cp/classes.cc (class Base1): Add a destructor. + (base1): New typedef. + (use_methods): Instanitate an object of type base1. + * gdb.cp/templates.exp (test_template_typedef): New procedure. + (do_tests): Call test_template_typedef. + * gdb.cp/templates.cc (Baz::~Baz): New method. + (intBazOne): New typedef. + (main): Instantiate intBazOne. + +2009-09-21 Phil Muldoon + + PR python/10633 + + * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New + Function. + (run_lang_tests): Add print elements test. + +2009-09-21 Phil Muldoon + + * gdb.python/py-value.exp (test_subscript_regression): New + function. Test for invalid subscripts. + * gdb.python/py-value.c (main): Add test array, and pointer to it. + (ptr_ref): New function. + +2009-09-17 Paul Pluzhnikov + + * gdb.base/default.exp: Fix "show convenience". + +2009-09-15 Tom Tromey + + * lib/mi-support.exp (mi_create_varobj): Update. + (mi_create_floating_varobj): Likewise. + (mi_create_dynamic_varobj): New proc. + (mi_varobj_update): Update. + (mi_varobj_update_with_type_change): Likewise. + (mi_varobj_update_kv_helper): New proc. + (mi_varobj_update_dynamic_helper): Rewrite. + (mi_varobj_update_dynamic): New proc. + (mi_list_varobj_children): Update. + (mi_list_varobj_children_range): Add 'from' and 'to' arguments. + * gdb.python/python-prettyprint.py (pp_outer): New class. + (pp_nullstr): Likewise. + (lookup_function): Register new printers. + * gdb.python/python-prettyprint.c (struct substruct): New type. + (struct outerstruct): Likewise. + (substruct_test): New function. + (struct nullstr): New type. + (string_1, string_2): New globals. + (main): Add new tests. + * gdb.python/python-mi.exp: Added regression tests. + * gdb.mi/mi2-var-display.exp: Update. + * gdb.mi/mi2-var-cmd.exp: Update. + * gdb.mi/mi2-var-child.exp: Update. + * gdb.mi/mi2-var-block.exp: Update. + * gdb.mi/mi-var-invalidate.exp: Update. + * gdb.mi/mi-var-display.exp: Update. + * gdb.mi/mi-var-cmd.exp: Update. + * gdb.mi/mi-var-child.exp: Update. + * gdb.mi/mi-var-block.exp: Update. + * gdb.mi/mi-break.exp: Update. + * gdb.mi/gdb701.exp: Update. + 2009-09-14 Sergio Durigan Junior * Makefile.in: Inclusion of catch-syscall object.