* gdb.base/charset.exp: Add explicit filename to break.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 9ba407da96da2b27b55bd03d54d6d3c741559477..2ee358fbaa4690a56cc2f44e0b3a167aaa554686 100644 (file)
@@ -1,3 +1,236 @@
+2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * gdb.base/charset.exp: Add explicit filename to break.
+       * gdb.base/dbx.exp: Add explicit filename to breaks.
+
+2007-01-04  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
+       * gdb.mi/mi2-file.exp: Likewise.
+
+2007-01-04  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement specification of MI tests as comments
+       in C and C++ sources.
+       * lib/mi-support.exp (mi_autotest_data): New variable.
+       (mi_autotest_source): New variable.
+       (count_newlines, mi_prepare_inline_tests)
+       (mi_get_inline_test, mi_continue_to_line)
+       (mi_run_inline_test, mi_tbreak)
+       (mi_send_resuming_command, mi_wait_for_stop): New functions.
+       * gdb.mi/mi-var-cp.exp: Move most content to the C file.
+       Run inline tests.
+       * gdb.mi/mi-var-cp.cc: Define tests here.
+
+2006-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       Make this testcase a bit more realistic. The current code
+       is too simplistic, and allows the compiler to optimize out
+       some of the entities we need for this testcase.
+       * gdb.ada/null_record/bar.ads (Void_Star): New type.
+       (Do_Nothing): Add extra parameter.
+       * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
+       * gdb.ada/null_record/null_record.adb: Fake use of type Empty
+       by using a variable of type Void_Star.
+
+2006-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/catch_ex/foo.adb: New file.
+       * gdb.ada/catch_ex.exp: New testcase.
+
+2007-01-03  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
+       pass --image-base to linker.
+
+2007-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/readline.exp: Set $TERM.  Test arrow keys in
+       secondary prompts.
+
+2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
+       output.  Test the types of members and member pointers.
+       * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
+       gdb/2092.
+       * gdb.cp/member-ptr.exp: Search for a comment instead of a
+       statement.  Enable for GCC.  Update expected output for some tests
+       and add new tests.  Remove obsolete GCC KFAILs.  Allow GCC's class
+       layout.
+       * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
+       (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
+       (Diamond::vget_base): New.
+       (main): Add new tests.
+       * gdb.cp/printmethod.exp: Update expected output for member functions.
+       * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
+       print pEe->D::vg().
+
+2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.threads/tls.exp: Allow stops in sem_post.
+
+2006-12-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/annota1.exp: Allow .*printf in backtraces.
+       * gdb.base/annota3.exp: Likewise.
+       * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
+       again (instead of timing out).
+       * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
+       GCC bug 26475.
+       * gdb.java/jmisc.exp: Adjust to work with method signatures including
+       return types.  Add kfails for GDB bugs 2214 and 2215.  Move exit
+       test from jmisc1.exp.
+       * gdb.java/jmisc1.exp: Delete.
+       * gdb.java/jprint.exp: Adjust to work with method signatures including
+       return types.
+       * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
+       * gdb.threads/linux-dp.exp: Don't be confused by program output.
+       * lib/java.exp (compile_java_from_source): Pass the correct type
+       to target_compile.
+
+2006-12-31  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
+       (stack_align_edx): New function.
+       (stack_align_eax): New function.
+       (main): Add calls to stack_align_edx and stack_align_eax.
+       * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
+       Add testing for the cases where the register used during a stack
+       realignment is edx. Same for eax.
+
+2006-12-30  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
+       and generic PE targets.
+
+2006-12-29  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/array_return.exp: Update copyright date list.
+
+2006-12-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
+       (Create_Small_Float_Vector): New function.
+       * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
+       function body.
+       * gdb.ada/array_return/p.adb: Use new type and function from
+       package Pck.
+       * gdb.ada/array_return.exp: Add a test verifying that GDB is
+       able to print the value returned by a function returning an
+       array of float.
+
+2006-12-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
+       The associated tests should be PASSing.
+
+2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Test for base in references.
+       * gdb.mi/mi-var-cp.cc: Add test code.
+       * gdb.mi/mi-var-cp.exp: Test for bases in references.
+       * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
+       * gdb.mi/mi2-watch.exp: Likewise.
+       * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
+       (mi_list_varobj_children): New function.
+
+2006-12-08  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/mi-support.exp
+       (mi_runto): Accept "()" after function name.
+       (mi_create_varobj): New function.
+       (mi_varobj_update): New function.
+       (mi_Check_varobj_value): New function.
+       * gdb.mi/mi-var-cp.exp: New file.
+       * gdb.mi/mi-var-cp.cc: New file.
+       
+2006-12-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
+       gdb.base/weaklib2.c: New files.
+
+2006-11-29  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
+       info.  Adjust test names.
+
+       * gdb.base/break.c (main): Move position of malloc.
+       * gdb.base/break.exp: Revert mistaken checkin.
+
+2006-11-28  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.mi/mi-var-cmd.exp: Check -var-update after
+       assignement of arrays and function pointers.
+       * gdb.mi/var-cmd.c: Add declaration necessary for above
+       tests.
+
+2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gdb.base/break.c (main): Call malloc.
+
+       * gdb.threads/linux-dp.exp: Read thread table before and after
+       creating each philosopher and verify it.
+
+2006-11-27  Nathan Sidwell  <nathan@codesourcery.com>
+           Paul Brook  <paul@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/ending-run.exp: Flatten expect script stepping out of
+        main to remove duplication.  Add start function of the form
+       '_*start[1-9]*'. Add RVDS start function.
+
+2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
+
+2006-11-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
+       * gdb.asm/spu.inc: New file.
+       * gdb.base/term.exp: Disable if [target_info exists noargs].
+       * gdb.gdb/complaints.exp: Disable if ![isnative].
+       * gdb.gdb/selftest.exp: Likewise.
+       * gdb.gdb/observer.exp: Likewise.
+       * gdb.gdb/xfullpath.exp: Likewise.
+       * gdb.base/attach.exp: Disable on SPU target.
+       * gdb.cp/bs145503.exp: Likewise.
+       * gdb.cp/exception.exp: Likewise.
+       * gdb.cp/userdef.exp: Likewise.
+
+2006-11-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
+
+2006-11-10  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.base/completion.exp: Fix completion tests for
+       'info' and 'info '.
+       * gdb.base/help.exp (help_test_raw, test_class_help)
+       (test_prefix_command_help): Move...
+       * lib/gdb.exp: Here.
+       * gdb.base/main.exp: Adjust.
+       * gdb.cp/maint.exp: Adjust.
+       * gdb.trace/tracecmd.exp: Use test_help_class.
+       
+2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.stabs/weird.exp (print_weird_var): Use
+       gdb_test_multiple instead of gdb_expect.
+
+2006-11-09  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.base/help.exp (help_test_raw): New.
+       (test_class_help): New.
+       (test_prefix_command_help): New.
+       Adjust testcases.
+
+2006-11-09  Christophe Lyon  <christophe.lyon@st.com>
+
+       * gdb.base/constvars.c (main): Write to crass and crips, so that
+       they are allocated by the compiler.
+
 2006-10-27  Andreas Schwab  <schwab@suse.de>
 
        * gdb.base/multi-forks.exp: Use "detach fork" instead of
This page took 0.032663 seconds and 4 git commands to generate.