gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index a4f2a145f7ca95106333aefef427b52c12e0ff67..345ec972d916291e2ae485c147d160747e86654d 100644 (file)
@@ -1,3 +1,174 @@
+2017-10-09  Pedro Alves  <palves@redhat.com>
+
+       Test both arch1=>arch2 and arch2=>arch1.
+
+       * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
+       (srcfile2, binfile2, march1, march2): Remove globals.  Largely
+       factored out to...
+       (append_arch1_options, append_arch2_options, append_arch_options)
+       (build_executables): New procedures.
+       (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
+       local.
+       (top level): Add new 'first_arch' testing axis.
+
+2017-10-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
+       (barrier): New.
+       (thread_start, all_started): New functions.
+       (main): Spawn new thread and wait until it is scheduled.
+       * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
+       option.
+       (do_test): Add 'selected_thread' parameter.  Run to all_started
+       instead of main.  Explicitly set the breakpoint at main.  Switch
+       to the SELECTED_THREAD thread.
+       (top level): Test handling the exec event with either the main
+       thread or the second thread selected.
+
+2017-10-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/print-file-var-main.c: Fix get_version_2 value check
+       logic.  Move STOP marker after the value checks.
+       * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
+       regexp.
+
+2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
+
+2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
+       integer-to-dfp conversion.
+       * gdb.base/dfp-test.exp: Likewise.
+
+2017-10-04  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/hangout.c: Include <unistd.h>.
+       (hangout_loop): New function.
+       (main): Call alarm.  Call hangout_loop in a loop.
+       * gdb.multi/hello.c: Include <unistd.h>.
+       (hello_loop): New function.
+       (main): Call alarm.  Call hangout_loop in a loop.
+       * gdb.multi/multi-arch.exp: Test running to a breakpoint one
+       inferior with the other selected.
+
+2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.mi/list-thread-groups-available.exp: New file.
+       * gdb.mi/list-thread-groups-available.c: New file.
+
+2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/set-cwd.exp: Make it available on
+       native-extended-gdbserver.
+
+2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/set-cwd.c: New file.
+       * gdb.base/set-cwd.exp: Likewise.
+
+2017-10-02  Tom Tromey  <tom@tromey.com>
+
+       PR rust/22236:
+       * gdb.rust/simple.rs (main): New variable "fslice".
+       * gdb.rust/simple.exp: Add slice tests.  Update string tests.
+
+2017-10-02  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Test ptype of a slice.
+
+2017-10-02  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Test index of slice.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/macscp.exp: Add __VA_OPT__ tests.
+
+2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/compare-sections.exp (get value of read-only section): Read
+       as unsigned value.
+       (corrupt read-only section): Likewise and don't set written if patching
+       failed.
+
+2017-09-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
+       files.
+
+2017-09-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
+       symbol names in gdb's output.
+       * gdb.cp/overload.exp ("list all overloads"): Likewise.
+
+2017-09-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
+       Rename to ...
+       (test_list_ambiguous_symbol): ... this and add a symbol name
+       parameter.  Adjust.
+       (test_list_ambiguous_function): Reimplement on top of
+       test_list_ambiguous_symbol and also test listing ambiguous
+       variables.
+       * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
+       (ambiguous_fun): ... this.
+       (ambiguous_var): New.
+       * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
+       (ambiguous_fun): ... this.
+       (ambiguous_var): New.
+
+2017-09-19  John Baldwin  <jhb@FreeBSD.org>
+
+       * gdb.base/starti.c: New file.
+       * gdb.base/starti.exp: New file.
+       * lib/gdb.exp (gdb_starti_cmd): New procedure.
+
+2017-09-14  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/nodebug.exp (nodebug_runto): New procedure.
+       (top level): Use it instead of runto.
+
+2017-09-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
+
+2017-09-11  Tom Tromey  <tom@tromey.com>
+
+       * gdb.python/py-infthread.exp: Add tests for new_thread event.
+       * gdb.python/py-inferior.exp: Add tests for new inferior events.
+
+2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
+
+       * gdb.fortran/printing-types.exp: New file.
+       * gdb.fortran/printing-types.exp: New file.
+
+2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-ptype.exp: Fix typos.
+       * gdb.fortran/vla-value.exp: Same.
+
+2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
+       * gdb.mi/mi-var-child-f.exp: Likewise.
+       * gdb.mi/mi-vla-fortran.exp: Likewise.
+
+2017-09-08  Frank Penczek  <frank.penczek@intel.com>
+            Christoph Weinmann  <christoph.t.weinmann@intel.com>
+            Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.fortran/ptr-indentation.f90: New file.
+       * gdb.fortran/ptr-indentation.exp: New file.
+
+2017-09-05  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/22010:
+       * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
+
 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
This page took 0.028421 seconds and 4 git commands to generate.