gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index aa1544f953d5448921a4f6aadc52c45e9ba3e018..74826cfbb483b5a0e57b5a30d9a13df3535aa2e9 100644 (file)
@@ -1,3 +1,294 @@
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Display @entry parameter values (without references).
+       * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
+       (different, validity, invalid): New functions.
+       (main): Call them.
+       * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
+       stacktest, breakhere_stacktest, different, breakhere_different,
+       breakhere_validity and breakhere_invalid.
+       (entry: bt): Update for @entry.
+       (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
+       (entry_validity: *, entry_invalid: *): Many new tests.
+       * gdb.base/break.exp
+       (run until breakpoint set at small function, optimized file): Accept
+       also the @entry suffix.
+       * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
+       * gdb.mi/mi2-amd64-entry-value.c: New files.
+       * gdb.mi/mi2-amd64-entry-value.exp: New files.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Protect entry values against self tail calls.
+       * gdb.arch/amd64-entry-value.cc (self2, self): New.
+       (main): Call self.
+       * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
+       (set debug entry-values 1, self: bt debug entry-values): New tests.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Recognize virtual tail call frames.
+       * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
+       (amb_b, amb_a): New.
+       (main): Call a and b.
+       * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
+       (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
+       (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
+       New tests.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Implement basic support for DW_TAG_GNU_call_site.
+       * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
+       * gdb.arch/amd64-entry-value.cc: New file.
+       * gdb.arch/amd64-entry-value.exp: New file.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
+       * gdb.dwarf2/implptr-64bit.S: New file.
+       * gdb.dwarf2/implptr-64bit.exp: New file.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix initial language detection with -readnow.
+       * gdb.cp/readnow-language.cc: New file.
+       * gdb.cp/readnow-language.exp: New file.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix printed anonymous struct name.
+       * gdb.cp/anon-struct.exp (print type of X::t2): New test.
+
+2011-10-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * gdb.base/solib-symbol.exp: Do not include directories in
+       filenames in expected messages.
+
+2011-10-07  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
+
+2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
+
+       Allow Python notification of new object-file loadings.
+       * gdb.python/py-events.exp: Test newobjfile event.
+       * gdb.python/py-events.py: Register newobjfile callback.
+       * gdb.python/py-events.c: Add call to shared library
+       * gdb.python/py-events-shlib.c: New file.
+
+2011-10-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * gdb.base/fixsection.exp: Do not include directories in filename
+       in expected message.
+
+2011-10-05  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Add tests for passing of environment variables to inferior.
+       * gdb.base/testenv.c: New test source.
+       * gdb.base/testenv.exp: New expect test.
+
+2011-10-04  Paul Koning  <paul_koning@dell.com>
+
+       * gdb.python/py-value.c (main): Break before return.
+
+2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
+
+       PR python/12691: Add the inferior to Python exited event
+       * gdb.python/py-events.exp: Test the inferior attribute of exited
+       event with a fork.
+       * gdb.python/py-events.py: Print inferior number on exit.
+       * gdb.python/py-events.c: Fork the inferior.
+
+2011-10-03  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.base/jit.exp: Add testcase name to log message
+
+2011-10-03  Paul Koning  <paul_koning@dell.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-value.exp
+       (python inval = gdb.parse_and_eval('*(int*)0'))
+       (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
+       (set argc=2, python print argc_lazy): New tests.
+
+2011-10-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
+
+2011-10-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.python/py-value.exp (test_value_in_inferior): New variable
+       can_read_0, test for it.
+       (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
+       (parse_and_eval with memory error): ... here, make it untested if
+       can_read_0.
+
+2011-09-30  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.python/python.exp (verify pagination beforehand)
+       (verify pagination afterwards): Fix race by splitting the line.
+
+2011-09-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
+       for 64-bit multilibs from i?86-* targets.
+
+2011-09-29  Marek Polacek  <mpolacek@redhat.com>
+
+       * lib/gdb.exp: Fix a typo in one of the comments.
+
+2011-09-29  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
+       matching pattern.
+
+2011-09-28  Paul Koning  <paul_koning@dell.com>
+
+       * gdb.python/py-type.c (enum E): New.
+       * gdb.python/py-type.exp (test_fields): Add tests for Python
+       mapping access to fields.
+       (test_enums): New test for field access on enums.
+
+2011-09-27  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/collection.exp: Test collection of $_ret.
+
+2011-09-22  Andreas Tobler  <andreast@fgznet.ch>
+
+       * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
+       list of compilation switches for <*-*-freebsd*>.
+
+2011-09-19  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tspeed.exp: New file.
+       * gdb.trace/tspeed.c: New file.
+
+2011-09-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
+       instructions.
+       (test_adr_32bit, test_pop_pc): Likewise.
+       (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
+       Thumb instructions.
+       * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
+       in gdb_test_multiple.
+       (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
+
+2011-09-17  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (can_single_step_to_signal_handler): New.
+       * gdb.base/kill-after-signal.exp: Call it.  Skip if target doesn't
+       support single step to signal handler.
+
+2011-09-17  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/disp-step-fork.c: New.
+       * gdb.base/disp-step-syscall.exp: New.
+       * gdb.base/disp-step-vfork.c: New.
+
+2011-09-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/tasks.exp: Make the expected output for
+       the `info tasks' tests more resilient to spacing
+       changes.
+
+2011-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-evthreads.exp (Run to breakpoint 1)
+       (reached breakpoint 2, reached breakpoint 3): Update expected output.
+
+2011-09-15  Kevin Pouget  <kevin.pouget@st.com>
+
+       PR Python/12692 Add gdb.selected_inferior() to Python interface.
+       * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
+
+2011-04-30  Kevin Pouget  <kevin.pouget@st.com>
+
+       Handle multiple breakpoint hits in Python interface:
+       * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
+       presence.
+       * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
+       breakpoint hits.
+
+2011-09-13  Sami Wagiaalla  <swagiaal@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-events.exp: Remove pretty printing comment.
+       * gdb.python/py-evsignal.exp: New file.
+       * gdb.python/py-evthreads.c: Include signal.h.
+       (thread3): Remove variable count3.  Remove variable bad and use raise
+       instead.
+       (thread2): Remove variable count2.  Move thread3 pthread_create here,
+       merge pthread_join to a single line.
+       (main): Remove variable count1.  Merge pthread_join with pthread_create
+       to a single line.
+       * gdb.python/py-evthreads.exp: Remove pretty printing comment.  New
+       KFAIL python/12966 for gdbserver.  Test return value of
+       gdb_compile_pthreads.  Use gdb_run_cmd.  Replace send_gdb and
+       gdb_expect by gdb_test and gdb_test_multiple.
+       (thread 2, thread 3): New tests.
+
+2011-09-12  Matt Rice  <ratmice@gmail.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       PR gdb/13175
+
+       * gdb.base/interp.exp: New tests.
+       * gdb.base/interp.c: New file.
+
+2011-09-12  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
+       * gdb.dwarf2/typeddwarf.exp: Ditto.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with x32 arch.
+       * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
+       * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
+       is_x86_like_target.
+       * testsuite/gdb.trace/collection.exp: Likewise.
+       * testsuite/gdb.trace/report.exp: Likewise.
+       * testsuite/gdb.trace/unavailable.exp: Likewise.
+       * testsuite/gdb.trace/while-dyn.exp: Likewise.
+       * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
+       (is_x86_like_target): Check also is_amd64_regs_target.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR breakpoints/12435
+       * gdb.arch/amd64-prologue-xmm.c: New file.
+       * gdb.arch/amd64-prologue-xmm.exp: New file.
+       * gdb.arch/amd64-prologue-xmm.s: New file.
+
+2011-09-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-param-error-main.c: New file.
+       * gdb.dwarf2/dw2-param-error.S: New file.
+       * gdb.dwarf2/dw2-param-error.exp: New file.
+
+2011-09-08  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
+       inferior's pid and look for a core dump named core.$pid.  Use
+       `remote_file' commands on the host instead of hand coding shell
+       commands on the build.
+       * gdb.base/valgrind-db-attach.exp: Kill the program before
+       finishing the test.
+
+2011-09-02  Matt Rice  <ratmice@gmail.com>
+
+       * lib/prompt.exp: New file for testing the first prompt.
+       * gdb.python/py-prompt.exp: Ditto.
+       * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
+
+2011-09-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.threads/gcore-thread.exp: Set the global core_supported to
+       0, before testing gcore.
+
 2011-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * dw2-ifort-parameter-debug.S: Update copyright year.
This page took 0.039761 seconds and 4 git commands to generate.