gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 6394c5862c3623cfb174078311d8daaadc97dded..dc66c842db19adf84502b7c0f9df65559b7ab17e 100644 (file)
@@ -1,3 +1,492 @@
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp-lib.c (v, vptr): New variables.
+       * gdb.base/break-interp.exp (test_attach): New comment.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/gcore-thread.exp ($core0file): New variable.
+       (clear __stack_user.next, clear stack_used.next)
+       (save a zeroed-threads corefile): New test.
+       Call core_load for $core0file.
+       (zeroed-threads cannot be listed): New test.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
+       filename.
+       ($srcfile): Preserve the original value.
+       ($testfile): Match it the .exp filename.
+       ($corefile): New variable.  Substitute it around.
+       Use clean_restart.
+       ($prev_timeout): Remove.
+       (load_core): Move core loading into this proc.
+       Fix restore of $timeout if load_core fails.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/eu-strip-infcall.c: New file.
+       * gdb.base/eu-strip-infcall.exp: New file.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
+       * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix Python access to inlined frames.
+       * gdb.python/py-frame-inline.c: New file.
+       * gdb.python/py-frame-inline.exp: New file.
+
+2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.base/gdb1090.exp: Change breakpoint location to read the
+       content of 's24' correctly (avoiding "optimized out").
+       * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
+
+2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
+       expect a colon in watch -location output.
+
+2011-04-13  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.base/commands.exp (redefine_backtrace_test): Fix race. 
+       New testcase `expect response to define backtrace'.  Also remove
+       redundant `default' block.
+
+2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-prettyprint.c (struct hint_error): New.
+       (main): New variable hint_error.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
+       "print hint_error".
+       * gdb.python/py-prettyprint.py (class pp_hint_error): New.
+       (register_pretty_printers): Register it.
+
+2011-04-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/maint.exp (test_help): Update.
+       (test_namespace): Likewise.
+
+2011-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
+       * gdb.ada/arrayptr.exp: Add new tests.
+
+2011-04-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_catch_ex: New testcase.
+
+2011-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
+       base::overload(void) method without specifying "const".
+
+2011-04-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.arch/thumb-singlestep.S: New file.
+       * gdb.arch/thumb-singlestep.exp: Likewise.
+
+2011-03-31  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/py-prettyprint.py (exception_flag): New global.
+       (NoStringContainerPrinter._iterator.next): Check it.
+       * gdb.python/py-prettyprint.c (main): New variable nstype2.
+       * gdb.python/py-mi.exp: Set exception_flag and do more tests.
+
+2011-03-29  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/anon-struct.cc: New file.
+       * gdb.cp/anon-struct.exp: New file.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Test STT_GNU_IFUNC support.
+       * gdb.base/gnu-ifunc-lib.c: New file.
+       * gdb.base/gnu-ifunc.c: New file.
+       * gdb.base/gnu-ifunc.exp: New file.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support a ring of related breakpoints.
+       * gdb.base/watchpoint-delete.c: New file.
+       * gdb.base/watchpoint-delete.exp: New file.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.ada/arrayparam.exp (print first after function call): Use
+       explicit package name.  Add a comment
+       (print lasta after function call): Rename ...
+       (print last after function call): ... it and use explicit package
+       name.
+       (print length after function call): Use explicit package name.
+       * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
+       * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
+       (multiple matches for symbol i): Rename ...
+       (multiple matches for symbol integervar): ... it.
+       * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
+       * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
+
+2011-03-25  Andrew Burgess  <aburgess@broadcom.com>
+
+       * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
+       environment variable to make grep output more predictable. Move
+       all the environment setup into gdb_init so it's done once per test
+       case rather than each time we start gdb.
+
+2011-03-24  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/label.exp: Use `main:there' linespec.  Add re-running
+       test.
+
+2011-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-entry-value-main.c: New file.
+       * gdb.dwarf2/dw2-entry-value.S: New file.
+       * gdb.dwarf2/dw2-entry-value.exp: New file.
+
+2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+        PR python/12183
+
+       * gdb.python/py-function.exp: Add GdbError tests.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/unavailable.cc (args_test_func, local_test_func)
+       (reglocal_test_func, statlocal_test_func): New functions.
+       (globals_test_func): Call new functions.
+       * gdb.trace/unavailable.exp (gdb_collect_args_test)
+       (gdb_collect_locals_test): New procedure.
+       (gdb_trace_collection_test): Call new procedures.
+
+2011-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
+       (test_register, test_register_unavailable): New procedures.
+       (gdb_unavailable_registers_test): New procedure.
+       (gdb_trace_collection_test): Call it.
+
+2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
+
+        PR python/12149
+
+       * gdb.python/python.exp: Add gdb.write tests.
+
+2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/Makefile.in: Add py-objfile.
+       * gdb.python/py-objfile.exp: New file.
+       * gdb.python/py-objfile.c: New file.
+       * gdb.python/py-block.exp: Add is_valid tests.
+       * gdb.python/py-inferior.exp: Ditto.
+       * gdb.python/py-infthread.exp: Ditto.
+       * gdb.python/py-symbol.exp: Ditto.
+       * gdb.python/py-symtab.exp: Ditto.
+
+2011-03-16  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/12273
+       * gdb.cp/cmpd-minsyms.exp: New test.
+       * gdb.cp/cmpd-minsyms.cc: New file.
+
+       PR c++/11734
+       * gdb.cp/ovsrch.exp: New test.
+       * gdb.cp/ovsrch.h: New file.
+       * gdb.cp/ovsrch1.cc: New file.
+       * gdb.cp/ovsrch2.cc: New file.
+       * gdb.cp/ovsrch3.cc: New file.
+       * gdb.cp/ovsrch4.cc: New file.
+
+2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/12528
+       * gdb.base/Makefile.in: Adjust EXECUTABLES.
+       * gdb.base/break-on-linker-gcd-function.exp: New test.
+       * gdb.base/break-on-linker-gcd-function.cc: New file.
+
+2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
+
+       * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
+
+2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * lib/gdb.exp (gdb_unload): Add another termination case.
+
+2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-empty-pc-range.S: New file.
+       * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
+       * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
+       Provide a stub byte there.
+       (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
+       DW_AT_entry_pc.
+       (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
+
+2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
+       using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
+       "generic ABI, auto".
+       (altivec_abi_tests): Accept vectors returned by reference.
+
+2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
+
+2011-03-13  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.python/py-section-script.exp: Skip test if no Python support.
+
+2011-03-12  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
+
+2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-parameter.exp: Update tests to the new Python
+       parameter API. Add "no documentation" test.  Add deprecated API
+       backward compatibility test.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
+       gdb_continue_to_end.
+
+2011-03-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
+       tabs.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
+       parentheses.
+       (gdb_continue_to_end): Add "allow_extra" parameter.  Use
+       $command.
+       * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
+       argument to gdb_continue_to_end.
+       * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
+       argument to gdb_continue_to_end.
+       * gdb.cp/annota3.exp: Fix regex.
+       * gdb.cp/annota2.exp: Fix regex.
+       * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
+       gdb_continue_to_end.
+       * gdb.base/call-signal-resume.exp: Revert earlier patch.
+       * gdb.ada/tasks.exp: Pass "allow_extra" argument to
+       gdb_continue_to_end.
+
+2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.server/ext-run.exp
+       (load new file without any gdbserver inferior): New test.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (TAGS): Rewrite.
+
+2011-03-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.trace/report.exp (12.1: trace report #1): New match for the
+       initial commands echo.  New match for `Found trace'.  Anchor all the
+       other matches.  Anchor and match for `No trace frame found' the final
+       match.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (TAGS): New target.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * lib/opencl.exp (skip_opencl_tests): Update for exit message
+       change.
+       * lib/mi-support.exp (mi_gdb_test): Update for exit message
+       change.
+       * lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
+       exit message change.
+       (skip_altivec_tests): Update for exit message change.
+       (skip_vsx_tests): Likewise.
+       (gdb_continue_to_end): Likewise.  Add 'command' argument.
+       * lib/cell.exp (skip_cell_tests): Update for exit message change.
+       * gdb.threads/tls.exp: Update for exit message change.
+       * gdb.threads/thread-unwindonsignal.exp: Use
+       gdb_continue_to_end.
+       * gdb.threads/step.exp (step_it): Update for exit message change.
+       (continue_all): Likewise.
+       * gdb.threads/print-threads.exp (test_all_threads): Update for
+       exit message change.
+       * gdb.threads/interrupted-hand-call.exp: Use
+       gdb_continue_to_end.
+       * gdb.threads/execl.exp: Use gdb_continue_to_end.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): Use
+       gdb_continue_to_end.
+       * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
+       * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
+       * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
+       * gdb.cp/method.exp: Update for exit message change.
+       * gdb.cp/mb-templates.exp: Update for exit message change.
+       * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
+       * gdb.cp/annota3.exp: Update for exit message change.
+       * gdb.cp/annota2.exp: Update for exit message change.
+       * gdb.cell/fork.exp: Use gdb_continue_to_end.
+       * gdb.base/term.exp: Update for exit message change.
+       * gdb.base/step-test.exp (test_i): Update for exit message change.
+       * gdb.base/sigstep.exp (advance): Update for exit message change.
+       (advancei): Likewise.
+       * gdb.base/siginfo.exp: Update for exit message change.
+       * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
+       * gdb.base/reread.exp: Use gdb_continue_to_end.
+       * gdb.base/langs.exp: Use gdb_continue_to_end.
+       * gdb.base/interrupt.exp: Update for exit message change.
+       * gdb.base/gdb1555.exp: Update for exit message change.
+       * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
+       * gdb.base/ending-run.exp: Update for exit message change.
+       * gdb.base/chng-syms.exp: Update for exit message change.
+       * gdb.base/checkpoint.exp: Update for exit message change.
+       * gdb.base/catch-syscall.exp (check_for_program_end): Use
+       gdb_continue_to_end.
+       (test_catch_syscall_with_wrong_args): Likewise.
+       * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
+       * gdb.base/break-interp.exp (test_ld): Update for exit message
+       change.
+       * gdb.base/bang.exp: Update for exit message change.
+       * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
+       (do_call_attach_tests): Likewise.
+       * gdb.base/a2-run.exp: Update for exit message change.
+       * gdb.arch/ppc-dfp.exp: Update for exit message change.
+       * gdb.ada/tasks.exp: Use gdb_continue_to_end.
+       * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
+
+2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/help.exp (help thread find): Fix one forgotten quote.
+
+2011-03-03  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.aCC/configure (Makefile): Remove.
+       * gdb.hp/gdb.aCC/configure.ac: Remove.
+       * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
+       * gdb.hp/gdb.base-hp/configure.ac: Remove.
+       * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.compat/configure (Makefile): Remove.
+       * gdb.hp/gdb.compat/configure.ac: Remove.
+       * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.defects/configure (Makefile): Remove.
+       * gdb.hp/gdb.defects/configure.ac: Remove.
+       * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
+       * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
+       * gdb.hp/gdb.objdbg/configure.ac: Remove.
+       * gdb.hp/configure.ac: Remove.
+       * gdb.hp/configure: Remove.
+       * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
+       substitution.
+       (Makefile): Remove rule.
+       * gdb.cell/configure.ac: Remove.
+       * gdb.cell/configure: Remove.
+       * gdb.stabs/Makefile.in (Makefile): Remove.
+       (distclean): Don't remove config.status or config.log.
+       * gdb.stabs/configure (Makefile): Remove.
+       * gdb.stabs/configure.ac: Remove.
+       * configure: Rebuild.
+       * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
+       Remove stabs- and cell-specific logic.  Test for existence of
+       ../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
+       subdirectories, gdb.cell, and and gdb.stabs.
+       * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
+
+2011-03-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-inferior.exp: Avoid searching pattern beyond
+       end of buffer.
+
+2011-03-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
+       gdb_test when running a test where we expected no output back.
+
+2011-02-28  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.cp/overload.cc: Change initializer value to integer.
+
+2011-02-27  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.multi/base.exp: Add test for remove-inferiors.
+
+2011-02-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.python/py-frame.exp: Simplify the initialization phase
+       using prepare_for_testing.
+
+2011-02-25  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.multi/base.exp: Add tests for info inferiors with args.
+
+2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-ranges.S: Rename to ...
+       * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
+       * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
+       Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
+       asmfile3.  Comment the STABS (#3) file compilation.  Compile
+       everything through assembler.  Provide KFAIL for symtab/12497.
+       * gdb.dwarf2/dw2-ranges2.S: Rename to ...
+       * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
+       * gdb.dwarf2/dw2-ranges3.S: Rename to ...
+       * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
+
+2011-02-24  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/break.exp: Add tests for delete breakpoints using
+       convenience variables and value history references.
+
+2011-02-24  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/break.exp: Remove debugging 'printf' accidentally
+       left behind in previous check-in.
+
+2011-02-23  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/break.exp: Add tests for "info break" with arguments.
+       * gdb.trace/infotrace.exp: Update patterns for error and help.
+       * gdb.base/completion.exp: Update pattern.
+       * gdb.base/ena-dis-br.exp: Update pattern.
+       * gdb.base/help.exp: Update patterns.
+
+2011-02-23  Michael Snyder  <msnyder@vmware.com>
+
+       * gdb.base/memattr.exp: New test.
+       * gdb.base/memattr.c: Test load for memattr.exp.
+
+2011-02-22  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-symbol.exp: Test lookup_global_symbol.
+
+2011-02-22  Michael Snyder  <msnyder@vmware.com>
+
+       * Makefile.in: Make more clean.
+       * gdb.ada/Makefile.in: Ditto.
+       * gdb.arch/Makefile.in: Ditto.
+       * gdb.asm/Makefile.in: Ditto.
+       * gdb.base/Makefile.in: Ditto.
+       * gdb.cp/Makefile.in: Ditto.
+       * gdb.dwarf2/Makefile.in: Ditto.
+       * gdb.java/Makefile.in: Ditto.
+       * gdb.mi/Makefile.in: Ditto.
+       * gdb.modula2/Makefile.in: Ditto.
+       * gdb.python/Makefile.in: Ditto.
+       * gdb.server/Makefile.in: Ditto.
+       * gdb.stabs/Makefile.in: Ditto.
+       * gdb.threads/Makefile.in: Ditto.
+       * gdb.trace/Makefile.in: Ditto.
+
 2011-02-22  Michael Snyder  <msnyder@vmware.com>
 
        * gdb.threads/thread-find.exp: Add tests for bad input to 
This page took 0.051506 seconds and 4 git commands to generate.