2011-05-31 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 180edc81a16a08ee170289de37241f011ad0a7dd..3d89273725a461d7bfc688aa2547d3b4ffeeaad5 100644 (file)
@@ -1,3 +1,276 @@
+2011-05-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.arch/i386-dr3-watch.c: New file.
+       * gdb.arch/i386-dr3-watch.exp: New file.
+
+2011-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/callfuncs.c (t_structs_fc): New.
+       (t_structs_dc, t_structs_ldc): New.
+       (t_double_many_args):
+       (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
+       (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
+       (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
+       * gdb.base/callfuncs.exp: Call new functions.
+
+2011-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/callfuncs.exp (rerun_and_prepare): New.
+       Call rerun_and_prepare for each test to isolate effects.
+
+2011-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/varargs.c (find_max_float_real): New.
+       (find_max_double_real, find_max_long_double_real): New.
+       * gdb.base/varargs.exp: Call these new added functions.
+       * lib/gdb.exp (setup_kfail_for_target): New.
+
+2011-05-30  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/funcargs.c (callca, callcb, callcc): New.
+       (callcd, callce, callcf, callc1a, callc1b): New.
+       (callc2a, callc2b): New.
+       * gdb.base/funcargs.exp (complex_args): New.
+       (complex_integral_args, complex_float_integral_args): New.
+       * lib/gdb.exp (support_complex_tests): New.  Determine
+       whether to run test cases on _Complex types.
+
+2011-05-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/leader-exit.c: New file.
+       * gdb.threads/leader-exit.exp: New file.
+
+2011-05-27  Marek Polacek  <mpolacek@redhat.com>
+
+        * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-05-27  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
+       remove the `supported' variable.
+       * gdb.mi/mi-nonstop.exp: Likewise.
+       * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
+       * gdb.mi/mi-nsintrall.exp: Likewise.
+       * gdb.mi/mi-nsmoribund.exp: Likewise.
+       * gdb.mi/mi-nsthrexec.exp: Likewise.
+
+2011-05-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.reverse/finish-reverse-bkpt.exp: New test.
+
+2011-05-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
+
+2011-05-24  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoint/12803
+       * gdb.cp/cmpd-minsyms.cc (a): New method.
+       (b): New method.
+       (c): New method.
+       * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
+
+2011-05-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/commands.exp (watchpoint_command_test): Check that the
+       watchpoint's command list didn't execute when the watchpoint went
+       out of scope.
+
+2011-05-24  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
+       * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
+       * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
+       * gdb.arch/i386-gnu-cfi.exp: Likewise.
+       * gdb.arch/i386-permbkpt.exp: Likewise.
+       * gdb.arch/i386-prologue.exp: Likewise.
+       * gdb.arch/i386-size-overlap.exp: Likewise.
+       * gdb.arch/i386-size.exp: Likewise.
+       * gdb.arch/i386-unwind.exp: Likewise.
+       * gdb.reverse/i386-precsave.exp: Likewise.
+       * gdb.reverse/i386-reverse.exp: Likewise.
+       * gdb.reverse/i386-sse-reverse.exp: Likewise.
+       * gdb.reverse/i387-env-reverse.exp: Likewise.
+       * gdb.reverse/i387-stack-reverse.exp: Likewise.
+
+2011-05-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
+       file doesn't error, using MI.
+
+2011-05-23  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.base/charset.exp (string_display): Add tests to assign to
+       arrays.
+       * gdb.base/charset.c (short_array, int_array, long_array): New.
+
+2011-05-20  Pedro Alves  <pedro@codesourcery.com>
+
+       Cope with async mode.
+
+       * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
+       into gdb_test + mi_expect_stop.
+
+2011-05-20  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
+       (callme): Remove printf call.
+
+2011-05-20  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
+       quote pattern to avoid problems with Cygwin/mingw expect versions.
+       * gdb.base/default.exp (show convenience): Use double
+       quote pattern for regular expressions.
+
+2011-05-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix -readnow for -gdwarf-4 unused type units.
+       * gdb.dwarf2/dw4-sig-type-unused.S: New file.
+       * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
+
+2011-05-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/kill-after-signal.c: New file.
+       * gdb.base/kill-after-signal.exp: New file.
+
+2011-05-16  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.ada/start.exp: Call untested with the correct test filename.
+       * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
+       test filename.  Make the test's binary unique.
+       * gdb.arch/i386-signal.exp: Call untested with the correct test
+       filename.
+       * gdb.arch/i386-size-overlap.exp: Ditto.
+       * gdb.arch/Makefile.in (EXECUTABLES): Update.
+       * gdb.base/gcore-buffer-overflow.exp: Ditto.
+       * gdb.cp/call-c.exp: Ditto.
+       * gdb.mi/mi-reverse.exp: Call untested with the correct test
+       filename.  Make the test's binary unique.
+       * gdb.mi/Makefile.in (EXECUTABLES): Update.
+       * gdb.python/py-mi.exp: Ditto.
+       * gdb.python/Makefile.in (EXECUTABLES): Update.
+       * gdb.reverse/i386-precsave.exp: Ditto.
+       * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
+       test filename.
+       * gdb.reverse/i387-stack-reverse.exp: Ditto.
+       * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
+       unique.
+       * gdb.reverse/sigall-reverse.exp: Call untested with the correct
+       test filename.
+       * gdb.reverse/Makefile.in (EXECUTABLES): Update.
+       * gdb.trace/tfile.exp: Ditto.
+
+2011-05-14  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
+       type.
+
+2011-05-13  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-objfile-script.exp: New file.
+       * gdb.python/py-objfile-script.c: New file.
+       * gdb.python/py-objfile-script-gdb.py: New file.
+       * testsuite/gdb.python/py-section-script.exp: Test
+       "info auto-load-scripts".
+
+2011-05-13  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/clztest.exp: New file.
+       * gdb.dwarf2/clztest.c: New file.
+       * gdb.dwarf2/clztest.S: New file.
+
+2011-05-13  Doug Evans  <dje@google.com>
+
+       * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
+       String16 tests.
+
+2011-05-13  Tom Tromey  <tromey@redhat.com>
+
+       * lib/gdb.exp (is_x86_like_target): New proc.
+       * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
+       * gdb.dwarf2/valop.exp: Use is_x86_like_target.
+       * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
+       -nostdlib to compiler.
+       * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
+       * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
+       * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
+       * gdb.dwarf2/dw2-restore.exp: Check for LP64.
+       * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
+
+2011-05-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * gdb.python/py-function.exp: Test setting a value from a function
+       which executes a command.
+
+2011-05-12  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/typeddwarf.S: New file.
+       * gdb.dwarf2/typeddwarf.c: New file.
+       * gdb.dwarf2/typeddwarf.exp: New file.
+
+2011-05-12  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.mi/mi-basics.exp: Fix races.  Honour the
+       `test_exec_and_symbol_mi_operatons' return value.
+       (test_mi_interpreter_selection): Use mi_gdb_test instead of
+       gdb_test_multiple.
+       (test_exec_and_symbol_mi_operatons): Likewise.
+       (test_path_specification): Likewise.
+
+2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
+       (gdb_touch_execfile): Remove catch wrappers.  New variable time.
+       Replace `file copy' and `file rename' by `file mtime'.  Twice.
+
+2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/readline-ask.c: New file.
+       * gdb.base/readline-ask.exp: New file.
+       * gdb.base/readline-ask.inputrc: New file.
+
+2011-05-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.cell/bt.exp: Delete breakpoints before running to signal
+       to avoid race condition.
+       * gdb.cell/coremaker.c: Use small stack size.
+       * gdb.cell/ea-standalone.exp: Use file name without path as
+       argument to c_to.
+       * gdb.cell/fork.exp: Allow other output when continuing to end.
+
+2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/corethreads.c: New file.
+       * gdb.threads/corethreads.exp: New file.
+
+2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
+       Try to compile the test using -Wl,-z,norelro first.
+       (load_core): New variable libthread_db_seen, initialize it.
+       (zeroed-threads cannot be listed): Protect it by XFAIL on
+       !$libthread_db_seen.
+
+2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR 12573
+       * gdb.dwarf2/dw2-skip-prologue.S: New file.
+       * gdb.dwarf2/dw2-skip-prologue.c: New file.
+       * gdb.dwarf2/dw2-skip-prologue.exp: New file.
+
+2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.cp/psymtab-parameter.cc: New file.
+       * gdb.cp/psymtab-parameter.exp: New file.
+
+2011-05-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix a race.
+       * gdb.cp/static-print-quit.exp (print c): Split to ...
+       (print c - <return>, print c - q <return>, print c - to quit):
+       ... these.  Make the testfile untested on gdb-7.1.
+
 2011-5-05  Janis Johnson  <janisjo@codesourcery.com>
 
        * lib/gdb.exp (exec_target_file, exec_symbol_file,
This page took 0.04084 seconds and 4 git commands to generate.