Drop prefix from unsupported source path.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 678be17c382ac0e00f044daef82abe78bfefaac1..13752efb3e0d0b12249142c5b9cada7cf8a53de8 100644 (file)
@@ -1,3 +1,335 @@
+2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
+       Drop prefix from unsupported source file path.
+
+2014-04-17  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (with_target_charset): New proc.
+       * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
+       with_target_charset.
+       (test_print_strings): Likewise.
+       (test_repeat_bytes): Likewise.
+       * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
+       for some tests.
+
+2014-04-16  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/15827
+       * gdb.dwarf2/corrupt.c: New file.
+       * gdb.dwarf2/corrupt.exp: New file.
+
+2014-04-16  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/16597
+       * gdb.cp/namelessclass.cc: New file.
+       * gdb.cp/namelessclass.exp: New file.
+       * gdb.cp/namelessclass.S: New file.
+
+2014-04-16  Doug Evans  <dje@google.com>
+
+       * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
+       Add comment.
+       (gdbserver_default_get_comm_port): New function.
+       (gdbserver_start): Check if board file provided
+       "gdbserver,get_comm_port" and use it if so.
+       * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
+       (gdb,socketport): Set to "stdio".
+       (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
+       (stdio_gdbserver_template): Delete.
+       (${board}_get_remote_address): Update.
+       (${board}_build_remote_cmd): Delete.
+       (${board}_get_comm_port): New function.
+       (${board}_spawn): Update.
+       * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
+       Delete.
+       (${board}_get_remote_address): Update.
+       (${board}_get_comm_port): New function.
+
+2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
+
+       * gdb.base/memattr.exp: Improve regexps to handle memory regions
+       appearing in any order.
+
+2014-04-15  Doug Evans  <dje@google.com>
+
+       * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
+       uninitialized value of "description".
+
+2014-04-15  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
+       Remove unused globals.
+       (test_running_the_program): Likewise.
+       (test_controlled_execution): Likewise.
+       (test_controlling_breakpoints): Likewise.
+       (test_program_termination): Likewise.
+
+2014-04-15  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
+       unused globals.
+       (test_rbreak_creation_and_listing): Likewise.
+       (test_ignore_count): Likewise.
+       (test_error): Likewise.
+
+2014-04-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
+       <ansidecl.h>, <elf/common.h> and <elf/external.h> to
+       sym-file-loader.c.
+       (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
+       (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
+       to sym-file-loader.c.
+       (struct library): Forward declare.
+       (load_shlib, lookup_function): Change prototypes.
+       (find_shstrtab, find_strtab, find_shdr, find_symtab)
+       (translate_offset): Remove declarations.
+       (get_text_addr): New declaration.
+       * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
+       <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
+       sym-file-loader.h.
+       (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
+       (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
+       here from sym-file-loader.h.
+       (struct library): New structure.
+       (load_shlib, lookup_function): Change prototypes and adjust to
+       work with a struct library.
+       (find_shstrtab, find_strtab, find_shdr, find_symtab)
+       (translate_offset): Make static.
+       (get_text_addr): New function.
+       * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
+
+2014-04-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
+
+2014-04-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sym-file-loader.c: Include <limits.h>.
+       (SELF_LINK): New define.
+       (get_origin): New function.
+       (load_shlib): Use it.
+       * gdb.base/sym-file.exp: Don't early return if the target is
+       remote.  Use runto_main, and issue fail is that fails.  Use
+       gdb_load_shlibs.
+       (shlib_name): Delete.
+       (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
+
+2014-04-15  Pedro Alves <palves@redhat.com>
+
+       * gdb.base/sym-file.exp: Remove regex characters from test
+       message.  Don't refer to breakpoint numbers in test messages.
+
+2014-04-14  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/16253
+       * gdb.cp/var-tag.cc: New file.
+       * gdb.cp/var-tag.exp: New file.
+       * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
+       * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
+       * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
+       * gdb.dwarf2/dw2-inheritance.exp: Likewise.
+
+2014-04-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/classes.exp (test_enums): Handle underlying type.
+       * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
+       type.
+       * gdb.cp/enum-class.exp: New file.
+       * gdb.cp/enum-class.cc: New file.
+
+2014-04-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.dwarf2/enum-type.exp: New file.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.mi/mi-vla-c99.exp: New file.
+       * gdb.mi/vla.c: New file.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-datatypes.c: New file.
+       * gdb.base/vla-datatypes.exp: New file.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-ptr.c: New file.
+       * gdb.base/vla-ptr.exp: New file.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.dwarf2/count.exp: New file.
+
+2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-sideeffect.c: New file.
+       * gdb.base/vla-sideeffect.exp: New file.
+
+2014-04-14  David Blaikie <dblaikie@gmail.com>
+
+       * gdb.mi/non-stop.c: Add return value for non-void function return
+       statement.
+       * gdb.threads/staticthreads.c: Ditto.
+
+2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
+           Doug Evans  <xdje42@gmail.com>
+
+       * gdb.guile/scm-value.c: Improve test case.
+       * gdb.guile/scm-value.exp: Add new test.
+
+2014-04-11  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
+       override Clang's default.
+
+2014-04-11  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert the following changes (regressions):
+
+       * gdb.base/vla-sideeffect.c: New file.
+       * gdb.base/vla-sideeffect.exp: New file.
+
+       * gdb.dwarf2/count.exp: New file.
+
+       * gdb.base/vla-multi.c: New file.
+       * gdb.base/vla-multi.exp: New file.
+
+       * gdb.base/vla-ptr.c: New file.
+       * gdb.base/vla-ptr.exp: New file.
+
+       * gdb.base/vla-datatypes.c: New file.
+       * gdb.base/vla-datatypes.exp: New file.
+
+       * gdb.mi/mi-vla-c99.exp: New file.
+       * gdb.mi/vla.c: New file.
+
+2014-04-11  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/16675
+       * gdb.cp/cpsizeof.exp: New file.
+       * gdb.cp/cpsizeof.cc: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.mi/mi-vla-c99.exp: New file.
+       * gdb.mi/vla.c: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-datatypes.c: New file.
+       * gdb.base/vla-datatypes.exp: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-ptr.c: New file.
+       * gdb.base/vla-ptr.exp: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-multi.c: New file.
+       * gdb.base/vla-multi.exp: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.dwarf2/count.exp: New file.
+
+2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * gdb.base/vla-sideeffect.c: New file.
+       * gdb.base/vla-sideeffect.exp: New file.
+
+2014-04-11  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/completion.exp: Check file exists before running tests
+       on file completion.
+
+2014-04-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/cond-eval-mode.c: New file.
+       * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
+       prepare_for_testing to build the new file.  Check result of
+       runto_main.
+       (test_break, test_watch): New procedures.
+       (top level): Use them.
+
+2014-04-08  Pierre Muller  <muller@sourceware.org>
+
+       * gdb.base/printcmds.exp (test_artificial_arrays): Disable
+       Ctrl-V use for mingw hosts.
+
+2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.python/py-value.c: Improve test case.
+       * gdb.python/py-value.exp: Add new test.
+
+2014-04-07  David Blaikie  <dblaikie@gmail.com>
+
+       * lib/compiler.c: Identify the clang compiler.
+       * lib/compiler.cc: Ditto.
+
+2014-04-03  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
+
+2014-04-01  Anton Blanchard  <anton@samba.org>
+
+       * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
+       messages unique.
+
+2014-04-01  Anton Blanchard  <anton@samba.org>
+
+       * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
+       prepare_for_testing.
+
+2014-04-01  Anton Blanchard  <anton@samba.org>
+
+       * gdb.arch/ppc64-atomic-inst.c: Remove.
+       * gdb.arch/ppc64-atomic-inst.S: New file.
+       * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
+
+2014-03-31  Doug Evans  <dje@google.com>
+
+       * gdb.base/print-symbol-loading-lib.c: New file.
+       * gdb.base/print-symbol-loading-main.c: New file.
+       * gdb.base/print-symbol-loading.exp: New file.
+
+2014-03-31  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/source-dir.exp: Allow ';' as a directory separator.
+
+2014-03-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_dyn_arr: New testcase.
+
+2014-03-27  Doug Evans  <dje@google.com>
+
+       * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
+
+2014-03-27  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
+       if target is nios2-*-*.
+
+2014-03-26  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (readline_is_used): New proc.
+       * gdb.base/completion.exp: Move tests on command complete up.
+       Skip the rest of tests if readline is not used.
+       * gdb.ada/complete.exp: Skp the test if readline is not
+       used.
+       * gdb.base/filesym.exp: Likewise.
+       * gdb.base/macscp.exp: Likewise.
+       * gdb.base/readline-ask.exp: Likewise.
+       * gdb.base/readline.exp: Likewise.
+       * gdb.python/py-cmd.exp: Likewise.
+       * gdb.trace/tfile.exp: Likewise.
+
+2014-03-26  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/macscp.exp: Fix code format issues.
+
 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
This page took 0.043201 seconds and 4 git commands to generate.