PR gdb/10728
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 65d1ee6afc51654495ee9294806ad9d480818c8f..ccdc8ef8bae0aec6bb209606e9eb76a64a85ffac 100644 (file)
@@ -1,3 +1,514 @@
+Mon Feb  8 13:18:22 2010  Chris Moller  <moller@mollerware.com>
+
+       PR gdb/10728
+       * gdb.cp/pr10728-x.h: New file.
+       * gdb.cp/pr10728-x.cc: New file.
+       * gdb.cp/pr10728-y.cc: New file.
+       * gdb.cp/pr10728.exp: New file.
+       * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
+
+Mon Feb  8 12:54:54 2010  Chris Moller  <moller@mollerware.com>
+
+       PR gdb/9067
+       * gdb.cp/pr9067.exp:  New
+       * gdb.cp/pr9067.cc:   New
+       * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
+
+2010-02-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/gdb.exp (gdb_test_timeout): New global variable.
+       Set it to timeout if not already set.
+       (gdb_init): Reset the value of timeout to gdb_test_timeout.
+
+2010-02-05  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
+       user.
+
+2010-02-05  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR c++/7935:
+       * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
+
+2010-02-04  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/virtbase.exp: Make test case names unique.
+
+2010-02-02  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/virtbase.exp: Add regression tests.
+       * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
+       (main): Instantiate RHC.
+
+2010-02-02  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
+       type-printing change.
+
+2010-02-02  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
+       * gdb.cp/virtbase.cc: New file.
+       * gdb.cp/virtbase.exp: New file.
+       * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
+
+2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR libc/11214:
+       * gdb.threads/current-lwp-dead.c: Include features.h.
+       (HAS_NOMMU): New.
+       (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
+
+2010-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/symbol-without-target_section.exp,
+       gdb.base/symbol-without-target_section.c: New.
+
+2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/bigcore.exp: Reset increased timeout.
+       * gdb.base/interrupt.exp: Match unexpected gdb prompt.
+
+2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/gcore.exp (capture_command_output): Use
+       gdb_test_multiple.
+
+2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.arch/thumb2-it.S (it_breakpoints): New function.
+       * gdb.arch/thumb2-it.exp (test_it_break): New function.
+       (Top level): Call it.
+
+2010-02-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
+
+2010-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/call-strs.exp, gdb.base/default.exp,
+       gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
+       gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
+       gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
+       gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
+       gdb.base/watchpoint-solib.exp: Save and restore timeout.
+       * gdb.base/ending-run.exp: Correct restore of timeout.
+       * gdb.base/page.exp: Remove unnecessary timeout setting.
+
+2010-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/rec_return: New testcase.
+
+2010-01-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/call_pn: New testcase.
+
+2010-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
+       (Top level): Use it to resume.
+       * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
+       the Thumb mode displaced stepping error as unsupported.
+
+2010-01-28  Sami Wagiaalla  <swagiaal@redhat.com>
+
+    * gdb.cp/nsusing.exp: Added more tests.
+    * gdb.cp/nsrecurs.exp: Ditto.
+    * gdb.cp/nsusing.cc: Added test functions.
+    * gdb.cp/nsrecurs.cc: Ditto.
+
+2010-01-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
+       absolute directory pathnames in gdb.sum file.
+
+2010-01-27  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
+       * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
+
+2010-01-26  Tom Tromey  <tromey@redhat.com>
+
+       PR exp/7643:
+       * gdb.base/printcmds.exp (test_print_string_constants): Remove
+       setup_kfail.
+
+2010-01-14  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/nsrecurs.exp: New test.
+       * gdb.cp/nsrecurs.cc: New test program.
+       * gdb.cp/nsstress.exp: New test.
+       * gdb.cp/nsstress.cc: New test program.
+       * gdb.cp/nsdecl.exp: New test.
+       * gdb.cp/nsdecl.cc: New test program.
+
+2010-01-26  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/namespace-using.exp: Add test for printing of namespaces
+       imported into file scope.
+       Marked test as xfail.
+       * gdb.cp/namespace-using.cc (marker5): New function.
+       * gdb.cp/shadow.exp: New test.
+       * gdb.cp/shadow.cc: New test program.
+       * gdb.cp/nsimport.exp: New test.
+       * gdb.cp/nsimport.cc: New test program.
+
+2010-01-25  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/11049:
+       * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
+       with "set print null-stop on".
+
+2010-01-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
+       Adjust it for DISASSEMBLY_OMIT_FNAME.
+
+2010-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR symtab/11199:
+       * gdb.dwarf2/member-ptr-forwardref.exp,
+       gdb.dwarf2/member-ptr-forwardref.S: New.
+
+2010-01-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
+       (thread1_func): Protect thread1_tid with thread1_tid_cond by
+       thread1_tid_mutex.  Remove gdbstop_mutex handling.
+       (thread2_func): Protect thread2_tid with thread2_tid_cond by
+       thread2_tid_mutex.  Remove gdbstop_mutex handling.
+       (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
+       pthread_create.  Remove gdbstop_mutex handling.  New comment.  Replace
+       pthread_cond_wait conditionalizations by while loops.
+
+2010-01-20  Tom Tromey  <tromey@redhat.com>
+
+       PR backtrace/10770:
+       * gdb.dwarf2/pr10770.exp: New file.
+       * gdb.dwarf2/pr10770.c: New file.
+       * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
+
+2010-01-20  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-async.exp: Remove check for 'async' target, because
+       that target was removed, and the test always runs native anyway.
+
+2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
+       gdb.base/watchpoint-cond-gone-stripped.c: New.
+
+2010-01-19  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/8000:
+       * gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
+       existing tests.
+       * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
+       (main): Use AAA::SomeEnum.
+
+2010-01-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
+       (test_ignore_count): Declare line_callme_body global.
+       (run to breakpoint with ignore count): Use line_callme_body.
+       * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
+       (set line_main_hello, set line_main_return): Reindent.
+       (set line_callee4_head, set line_callee4_body, set line_callee4_next):
+       New.
+       (continue to callee4): Use line_callee4_body.
+       (check *stopped from CLI command): Use line_callee4_next.
+       * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
+       (set line_main_hello, set line_main_return): Reindent.
+       (set line_callee4_head, set line_callee4_body): New.
+       (continue to callee4): Use line_callee4_body.
+
+2010-01-18  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/9680:
+       * gdb.cp/casts.cc: Add new classes and variables.
+       * gdb.cp/casts.exp: Test new operators.
+
+2010-01-18  Tom Tromey  <tromey@redhat.com>
+           Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.python/source2.py: New file.
+       * gdb.python/source1: New file.
+       * gdb.python/python.exp: Test "source" command.
+
+2010-01-15  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfile.c: New file.
+       * gdb.trace/tfile.exp: New file.
+       
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
+       (libfunc): New parameter action.  Implement also selectable "sleep".
+       * gdb.base/break-interp-main.c: Include assert.h.
+       (libfunc): New parameter action.
+       (main): New parameters argc and argv.  Assert argc.  Pass argv.
+       * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
+       (test_attach): New proc.
+       (test_ld): Pass new "segv" exec parameter.  Call also test_attach.
+       * lib/gdb.exp (core_find): New parameter arg.  Pass it to $binfile.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp.exp (test_core): New proc.
+       (test_ld): Call it.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
+       * gdb.base/break-interp.exp: Exit on skip_shlib_tests.  Change $srcfile.
+       New variables $binfile_lib and $srcfile_lib.  Call get_compiler_info
+       and gdb_compile_shlib.  Use new -Wl compiler options.
+       (dl bt, main bt): New tests.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Support PIEs with no symfile_objfile.
+       * gdb.base/break-interp.exp: New argument at the test_ld calls.
+       (test_ld): New parameter trynosym.
+       (test_ld <$trynosym>): New block.
+
+2010-01-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp.exp: New file.
+
+2010-01-13  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
+       * gdb.python/py-prettyprint.py (pp_ls): New printer.
+       * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
+       test.
+       * gdb.python/py-prettyprint.c: Define lazystring test structure.
+       * gdb.python/py-mi.exp: Add lazy string test.
+
+2010-01-13  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/mi-support.exp (mi_check_thread_states): Handle
+       core number in thread listing.
+
+2010-01-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/maint.exp: Adjust the expected output for the
+       "maint print type" test. Use gdb_test_multiple instead of
+       gdb_sent/gdb_expect.
+
+2010-01-11  Doug Evans  <dje@google.com>
+
+       * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
+       from gdbserver_download.  All callers updated.
+
+       * gdb.server/ext-run.exp: "info os processes" requires xml support.
+
+2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Implement binary numbers parsing.
+       * gdb.base/printcmds.exp (test_integer_literals_accepted)
+       (test_integer_literals_rejected): New binary tests.
+
+2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gdb.cell/configure: Regenerate.
+
+2010-01-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/corefile.exp: Move the core finding block out and call it as
+       core_find, new variable $corefile, replace corefile by $corefile and
+       [file tail $corefile] for usage vs. test names resp.
+       * lib/gdb.exp (core_find): Move it as a new function here.  New
+       parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
+       $destcore.  Return "" on error.
+
+2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Workaround PR binutils/10802.
+       * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
+       (twice).
+
+2010-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
+
+2010-01-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
+       call, to avoid interruption.
+
+2010-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.stabs/weird.def (args93): New.
+
+2010-01-07  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (gdb_skip_xml_test): Add comment.
+
+2010-01-07  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/source.exp: Use correct line number.
+
+2010-01-05  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tracecmd.exp: Test ftrace.
+
+2010-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
+
+2010-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
+       "uint_for_mi_testing".
+
+2010-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       Test indented comment in file being sourced.
+       * gdb.base/commands.exp: Test indented comment in file being sourced.
+
+2010-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.fortran/array-element.f, gdb.fortran/complex.f,
+       gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
+       gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
+       notice.
+
+2010-01-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
+       notice.
+
+2010-01-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
+       missing $after_stopped and comma (,) expectation.
+
+2009-12-31  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/actions.exp: Test teval action.
+       
+2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
+       (top level): Call test_watchpoint_in_big_blob.
+       * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
+       watchpoints.
+       (func3): Write to buf.
+
+2009-12-29  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/actions.exp: Test default-collect.
+       
+2009-12-28  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tsv.exp: New file.
+       * gdb.base/completion.exp: Update ambiguous info output.
+       
+2009-12-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/find.c (main): Reference search buffers.
+       * gdb.base/included.c (main): Reference integer.
+       * gdb.base/ptype.c (charfoo): Declare.
+       (intfoo): Call charfoo.
+       * gdb.base/scope0.c (useitp): New function.
+       (usestatics): Use useitp.
+       (useit): Add a type for val.
+       * gdb.base/scope1.c (useit1): Take a pointer argument.
+       (usestatics1): Update calls to useit1.
+       * gdb.cp/call-c.cc: Declare foo.
+       (main): Call foo.
+       * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
+       * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
+       (main): Call C::ensureRefs and ensureOtherRefs.
+       * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
+       variables.
+       (ensureOtherRefs): New function.
+       * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
+       * gdb.cp/templates.cc (main): Call t5i.value.
+
+2009-12-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with G++-4.5.
+       * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
+       * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
+       (uncaught return): Remove.
+
+2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
+       (bp_location13, bp_location14, bp_location17, bp_location18)
+       (marker3_proto, marker4_proto): New variables.
+       (breakpoint info): Update output.
+       (run until breakpoint at marker3, run until breakpoint at marker4): New
+       tests.
+
+2009-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
+       Replace the printf call of Y by provided "y-set-1" label.  New block
+       for the second shared library.
+       * gdb.base/unload.exp: Compile also the second library, call
+       gdb_load_shlibs also for it.  Use now gdb_breakpoint.
+       (single pending breakpoint info): Rename to ...
+       (pending breakpoint info before run): ... this extended test.
+       (libfile2, libname2, libsrcfile2, libsrc2)
+       (lib_sl2): New variables.
+       (exec_opts): Set also SHLIB_NAME2.
+       (pending breakpoint info on first run at shrfunc1)
+       (pending breakpoint info on second run at shrfunc1)
+       (pending breakpoint info on second run at shrfunc2)
+       (print y from libfile, print y from libfile2): New tests.
+       * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
+       * gdb.base/unloadshr2.c: New.
+
+2009-12-22  Hui Zhu  <teawater@gmail.com>
+
+       * gdb.reverse/sigall-reverse.exp: Adjust.
+
+2009-12-21  Vladimir Prus  <vladimir@codesourcery.com>
+
+       PR gdb/10884
+
+       * gdb.mi/var-cmd.c (do_bitfield_tests): New
+       (main): Call do_bitfield_tests.
+       * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
+
+2009-12-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
+       gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
+       gdb.base/watch_thread_num.c, gdb.java/jprint.java,
+       gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
+       gdb.modula2/unbounded1.c: Update copyright header.
+
+2009-12-10  Chris Moller  <moller@mollerware.com>
+
+       PR gdb/9399
+       * gdb.cp/virtfunc2.exp: New tests
+       * gdb.cp/virtfunc2.cc: New tests
+       * gdb.cp/Makefile.in: Added tests to EXECUTABLES
+
+2009-12-10  Oza Pawandeep (paawan1982@yahoo.com
+
+       * gdb.reverse/i387-env-reverse.c: New file.
+       * gdb.reverse/i387-env-reverse.exp: New file.
+       * gdb.reverse/i387-stack-reverse.c: New file.
+       * gdb.reverse/i387-stack-reverse.exp: New file.
+
+2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-type.exp (test_range): New test.
+
 2009-12-03  Phil Muldoon <pmuldoon@redhat.com>
 
        PR python/10805
This page took 0.049951 seconds and 4 git commands to generate.