Fix https://bugzilla.redhat.com/show_bug.cgi?id=849357
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 0c11c2b4a364a659bd020392a8904e0d2066204f..a68f69d2b57c6c8b7ef07318568ee783d68b0cf5 100644 (file)
@@ -1,3 +1,523 @@
+2012-09-27  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/derivation.exp: Add regression test.
+       * gdb.cp/derivation.cc (class V_base, class V_inter, class
+       V_derived): New.
+       (vderived): New global.
+
+2012-09-26  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/dw2-common-block.S: New file.
+       * gdb.dwarf2/dw2-common-block.exp: New file.
+
+2012-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.fortran/common-block.exp: New file.
+       * gdb.fortran/common-block.f90: New file.
+
+2012-09-26  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.base/duplicate-bp.c: New file.
+       * gdb.base/duplicate-bp.exp: New file.
+
+2012-09-26  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi2-cli.exp:  Avoid line number in test summary.
+
+       Revert:
+       2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi2-cli.exp: Remove redundant '\'.
+
+2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * gdb.base/longest-types.c: New test case.
+       * gdb.base/longest-types.exp: New test case.
+
+2012-09-25  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi2-cli.exp: Check breakpoint notification.
+
+2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix internal error on canonicalization of clang types.
+       * gdb.dwarf2/dw2-canonicalize-type.S: New file.
+       * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
+       * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
+
+2012-09-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix disassemble without parameters in tailcall frame.
+       * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
+
+2012-09-21  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.dwarf2/dw2-op-out-param.S: New file.
+       * gdb.dwarf2/dw2-op-out-param.exp: New file.
+
+2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi2-cli.exp: Remove redundant '\'.
+
+2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi-cli.exp: Remove.
+       * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
+
+2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
+       "=record-started" notification.
+
+2012-09-21  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi-record-changed.exp: New.
+       * gdb.mi/mi-reverse.exp: Adjust expected output.
+
+2012-09-20  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/python.exp: Test atexit.register.
+
+2012-09-20  Doug Evans  <dje@google.com>
+
+       * boards/dwarf4-gdb-index.exp: New file.
+
+       * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
+       while running the tests.
+
+2012-09-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/bp_reset: New testcase.
+
+2012-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/mi-tsv-changed.exp: New.
+
+2012-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/mi-traceframe-changed.exp: New.
+
+2012-09-17  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
+       when it is less than 0.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR 14119
+       * gdb.arch/amd64-tailcall-ret.S: New file.
+       * gdb.arch/amd64-tailcall-ret.c: New file.
+       * gdb.arch/amd64-tailcall-ret.exp: New file.
+       * gdb.reverse/amd64-tailcall-reverse.S: New file.
+       * gdb.reverse/amd64-tailcall-reverse.c: New file.
+       * gdb.reverse/amd64-tailcall-reverse.exp: New file.
+
+2012-09-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR 14548
+       * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
+       * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
+       * gdb.reverse/singlejmp-reverse.S: New file.
+       * gdb.reverse/singlejmp-reverse.c: New file.
+       * gdb.reverse/singlejmp-reverse.exp: New file.
+
+2012-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with old GCC (~4.1).
+       * gdb.cp/converts.cc (my_enum_var): New variable.
+
+2012-09-14  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.xml/tdesc-regs.exp: Update expected output for new
+       vector_size syntax of vector types.
+
+2012-09-13  Khoo Yit Phang  <khooyp@cs.umd.edu>
+
+       Refactor Python "gdb" module into a proper Python package, by
+       introducing a new "_gdb" module for code implemented in C, and
+       using reload/__import__ instead of exec.
+       * gdb.python/python.exp (Test stderr location): Update module
+       location of GDB-specific sys.stderr.
+       (Test stdout location): Ditto for sys.stdout.
+
+2012-09-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
+
+2012-09-12  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/converts.cc (main): Comment out the pointer to boolean
+       conversion statement.
+
+2012-09-12  Doug Evans  <dje@google.com>
+
+       * gdb.base/help.exp: Remove testing of individual command help text,
+       too much of a maintenance burden.  Instead, test the functionality
+       of "help" itself.
+
+2012-09-11  Doug Evans  <dje@google.com>
+
+       * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
+       breakpoint.
+
+       * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
+       * gdb.dwarf2/fission-reread.S: Ditto.
+       * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
+       * gdb.dwarf2/fission-reread.exp: Ditto.
+
+2012-09-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
+
+2012-09-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/optim_drec: New testcase.
+
+2012-09-10  Doug Evans  <dje@google.com>
+
+       * boards/fission.exp: Explicitly mark "board" as not remote.
+
+2012-09-10  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/13483
+       * gdb.cp/converts.cc (A::A): Add ctor.
+       (A::member_): Add member.
+       (enum my_enum): New enumeration.
+       (main): Add calls to foo1_7 with various
+       permitted arguments.
+       * gdb.cp/converts.exp: Add tests for boolean
+       conversions permitted by the standard.
+
+2012-09-08  Khoo Yit Phang  <khooyp@cs.umd.edu>
+
+       Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
+       avoid spurious results due to ~/.gdbinit.
+       * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
+       $INTERNAL_GDBFLAGS in run command.
+       * gdb.gdb/observer.exp (setup_test): Ditto.
+       * gdb.gdb/selftest.exp (test_with_self): Ditto.
+       * gdb.gdb/xfullpath.exp (setup_test): Ditto.
+
+2012-09-06  Doug Evans  <dje@google.com>
+
+       * boards/fission.exp: New file.
+
+       * gdb.python/py-value.exp: Use clean_restart.
+
+2012-09-05  Doug Evans  <dje@google.com>
+
+       * gdb.base/info-macros.c: Fix whitespace.
+
+2012-08-28  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/14428
+
+       * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
+
+2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-caller-line.c: New file.
+       * gdb.base/break-caller-line.exp: New file.
+
+2012-08-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
+       * gdb.arch/i386-cfi-notcurrent.S: New file.
+       * gdb.arch/i386-cfi-notcurrent.exp: New file.
+
+2012-08-27  Wei-cheng Wang  <cole945@gmail.com>
+           Yao Qi <yao@codesourcery.com>
+           Pedro Alves <palves@redhat.com>
+
+       * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
+       New procedures.
+       (top level): Add overlap checking tests.
+
+2012-08-24  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
+       gdb_test_multiple fails for other reasons.
+
+2012-08-24  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (skip_unwinder_tests): Remove pass.
+
+2012-08-23  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/help.exp: Adjust to "handle" help text change.
+
+2012-08-23  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/disconnected-tracing.c (start, end): New.
+       (main): Call start and end.
+       * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
+       existing tests into this proc.
+       (disconnected_tfind): New.
+
+2012-08-23  Yao Qi  <yao@codesourcery.com>
+
+       * boards/native-gdbserver.exp (${board}_upload): New.
+       * boards/native-stdio-gdbserver.exp (${board}_upload): New.
+       * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
+       Execute tfile on remote target.
+       Copy trace file from target to host.
+
+2012-08-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * gdb.arch/thumb-bx-pc.S: New file.
+       * gdb.arch/thumb-bx-pc.exp: New file.
+
+2012-08-22  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/maint.exp: Update.
+
+2012-08-22  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (skip_unwinder_tests): New proc.
+       * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
+       * gdb.java/jnpe.exp: Use skip_unwinder_tests.
+
+2012-08-21  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.hp/gdb.aCC/exception.exp: Remove.
+
+012-08-19  Andrew Pinski  <apinski@cavium.com>
+
+       * gdb.arch/mips-octeon-bbit.c: New file.
+       * gdb.arch/mips-octeon-bbit.exp: New Test.
+
+012-08-19  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/14365
+       * gdb.dwarf2/dw2-anon-mptr.exp: New file.
+       * gdb.dwarf2/dw2-anon-mptr.S: New file.
+
+2012-08-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/solib-corrupted.exp (make solibs looping): Replace
+       verbose -log by more specific untested call.
+
+2012-08-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfind.exp: Move tests on various command help before
+       checking target supports trace.
+       Fix the expected output of 'help tfind end'.
+
+2012-08-17  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/13356
+       * gdb.base/default.exp: Update all "check type" tests.
+       * gdb.base/help.exp: Likewise.
+       * gdb.base/setshow.exp: Likewise.
+       * gdb.cp/converts.cc (foo1_type_check): New function.
+       (foo2_type_check): New function.
+       (foo3_type_check): New function.
+       (main): Call new functions.
+       * converts.exp: Add tests for integer-to-pointer conversions
+       with/without strict type-checking.
+
+2012-08-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * gdb.base/help.exp: Update expected output.
+
+2012-08-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/rdv_wait: New testcase.
+
+2012-08-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/attach-twice.exp: Remove excessive ps exec.
+
+2012-08-13  Doug Evans  <dje@google.com>
+
+       * gdb.base/help.exp: Update expected output.
+       * gdb.base/default.exp: Update expected output of "show convenience".
+
+2012-08-10  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-strfns.c: New file.
+       * gdb.python/py-strfns.exp: New file.
+       * gdb.python/py-type.exp (test_fields): Add vector tests.
+
+2012-08-10  Mike Frysinger  <vapier@gentoo.org>
+
+       PR cli/10436:
+       * gdb.base/completion.exp: Add tests for handle completion.
+
+2012-08-09  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.mi/mi-cmd-param-changed.exp: New.
+       * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
+       * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
+       * gdb.mi/mi2-prompt.exp: Likewise.
+
+2012-08-08  Doug Evans  <dje@google.com>
+
+       * gdb.base/debug-expr.c: New file.
+       * gdb.base/debug-expr.exp: New file.
+       * gdb.base/exprs.exp: Test {type} casts.
+       * gdb.cp/debug-expr.exp: New file.
+
+2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
+       global variable loop, not a 'break'.  Add loop count limit to 100.
+       Add new fail case for terminated vgdb.
+
+2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Jean-Marc Saffroy  <saffroy@gmail.com>
+
+       PR 11804
+       * gdb.base/gcore-relro.exp: New file.
+       * gdb.base/gcore-relro-main.c: New file.
+       * gdb.base/gcore-relro-lib.c: New file.
+
+2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Do not false FAIL with old GCCs.
+       * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
+       GCC < 4.5 in $no_hw mode.
+
+2012-08-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/default.exp (cd): Accept new directory with no arguments.
+
+2012-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/list.exp (test_only_end): New function.
+       Call it.
+
+2012-08-06  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/py-mi.exp: Add test for printer whose children
+       are a list.
+       * gdb.python/py-prettyprint.c (struct children_as_list): New.
+       (main): New variable children_as_list.
+       * gdb.python/py-prettyprint.py (class pp_children_as_list):
+       New.
+       (register_pretty_printers): Register new printer.
+
+2012-08-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
+       symbols. Abort if vgdb remote connection is closed.
+
+2012-08-02  Doug Evans  <dje@google.com>
+
+       * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
+
+2012-08-02  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
+       s390x, PowerPC 64 and m68k-linux.
+
+2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/annota1.exp: Accept no frames-invalid notification
+       when starting up the program.
+       * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
+       show a symbolic value as well.
+       * gdb.server/server-exec-info.exp: Skip test when skipping
+       gdbserver test and/or when skipping shared library tests.
+       * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
+       avoid name conflicts with other tests.
+
+2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
+       Fix wrong output on big-endian systems.
+       * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
+       4-byte pointer types on 64-bit s390x.
+
+2012-08-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/watchpoint.c (func2): Initialize local_a.  Add
+       marker comment at the beginning (after intialization).
+       * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
+       breakpoint on marker comment instead of function begin.
+       (test_wide_location_1): Do not expect HW watchpoints on 32-bit
+       PowerPC.
+       (test_wide_location_2): Do not expect HW watchpoints on 32-bit
+       or 64-bit PowerPC.
+       (do_tests): Consistently set can-use-hw-watchpoints to 0 if
+       gdb,no_hardware_watchpoints flag is set.
+       (initialize): Remove now redundant can-use-hw-watchpoints change.
+
+2012-08-02  Yao Qi  <yao@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * boards/local-remote-host.exp: New.
+
+2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
+       * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
+       * gdb.base/print-file-var.exp: Likewise.
+       * gdb.server/solib-list.exp: Skip on remote targets.
+
+2012-08-01  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
+       watchpoints on ARM.  When expecting software watchpoints, tolerate
+       (remote) targets that report unsupported hardware watchpoint only
+       at continue time.
+       (test_wide_location_2): Likewise.
+
+2012-08-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
+       valgrind versions.
+
+2012-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-infcall.c: New file.
+       * gdb.base/valgrind-infcall.exp: New file.
+
+       * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
+
+2012-07-30  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.linespec/ls-errs.exp: Check some quote-enclosed
+       linespecs.
+
+2012-07-30  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
+       * gdb.dwarf2/pr13961.S: Ditto.
+
+       * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
+
+2012-07-30  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
+       change its format immediately after reloading the binary.
+
+2012-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix testsuite regression after --use-deprecated-index-sections removal.
+       * gdb.base/annota1.exp (run until main breakpoint): Update the expect
+       string.
+       * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
+
+2012-07-27  Yao Qi  <yao@codesourcery.com>
+
+       KFAIL for PR remote/14161.
+       * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
+       Cleanup socket files.
+       (strace_info_marker): Detach inferior.
+
+2012-07-26  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.objc/print.exp (test_float_accepted): Remove kfails.
+
+2012-07-26  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.python/py-inferior.c (thread): New function.
+       (check_threads): New function.
+       (test_threads): New function.
+       * gdb.python/py-inferior.exp: Added test.
+       Replaced runto with continue to breakpoint.
+
 2012-07-26  Tom Tromey  <tromey@redhat.com>
 
        * lib/ada.exp (standard_ada_testfile): New proc.
This page took 0.036751 seconds and 4 git commands to generate.