Fix several "set remote foo-packet on/off" commands.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index bbea89d1a5c39db3eca9e462598135ea6a3bddca..0b24bd22c4fe3125ebed3ab77a57ae13b0adcd93 100644 (file)
@@ -1,3 +1,245 @@
+2014-04-25  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
+       user.
+       (top level): Test that "set remote conditional-breakpoints-packet
+       off" works as intended.
+       * gdb.base/dprintf.exp: Test that "set remote
+       breakpoint-commands-packet off" works as intended.
+       * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
+       New function.
+       (top level): Call it.
+       * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
+       remote fast-tracepoints-packet off" works as intended.
+       * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
+       * lib/gdb.exp (gdb_is_target_remote): ... here.
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
+       ensure clang would not discard them.
+       * gdb.base/gdbvars.c: Ditto.
+       * gdb.base/memattr.c: Ditto.
+       * gdb.base/whatis.c: Ditto.
+       * gdb.python/py-prettyprint.c: Ditto.
+       * gdb.trace/actions.c: Ditto.
+       * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
+       ensure clang would not discard it.
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
+       clang to emit the full definition of type required by the test
+       * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
+       coax Clang into emitting the definition of the type.
+       * gdb.cp/pr10728-x.h (y): Ditto.
+       * gdb.cp/pr10728-y.cc (y): Ditto.
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.base/label.exp: XFAIL label related tests under Clang.
+       * gdb.cp/cplabel.exp: Ditto.
+       * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
+       under Clang those using labels.
+
+2014-04-25  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
+       double_label.
+       * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
+       partial_label and double_label.
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
+
+2014-04-24  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.cp/cpexprs.cc: Move braces to the same line as the start
+       of the function to work across GCC and Clang.
+       * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
+       pointer types (const void ** const V void **).
+
+2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
+           Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * Makefile.in (EXECUTABLES): Added i386-avx512.
+       * gdb.arch/i386-avx512.c: New file.
+       * gdb.arch/i386-avx512.exp: Likewise.
+
+2014-04-23  Keith Seitz  <keiths@redhat.com>
+
+       * lib/mi-support.exp (mi_list_breakpoints): Delete.
+       (mi_make_breakpoint_table): New procedure.
+       (mi_create_breakpoint): Use mi_make_breakpoint
+       and return the result.
+       (mi_make_breakpoint): New procedure.
+       (mi_build_kv_pairs): New procedure.
+
+       * gdb.mi/mi-break.exp: Remove unused globals,
+       update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
+       All callers updated.
+       * gdb.mi/mi-dprintf.exp: Use variable to track command
+       number.
+       Update all callers of mi_create_breakpoint and use
+       mi_make_breakpoint_table.
+       Remove any unused global variables.
+       * gdb.mi/mi-nonstop.exp: Likewise.
+       * gdb.mi/mi-nsintrall.exp: Likewise.
+       * gdb.mi/mi-nsmoribund.exp: Likewise.
+       * gdb.mi/mi-nsthrexec.exp: Likewise.
+       * gdb.mi/mi-reverse.exp: Likewise.
+       * gdb.mi/mi-simplerun.exp: Likewise.
+       * gdb.mi/mi-stepn.exp: Likewise.
+       * gdb.mi/mi-syn-frame.exp: Likewise.
+       * gdb.mi/mi-until.exp: Likewise.
+       * gdb.mi/mi-var-cp.exp: Likewise.
+       * gdb.mi/mi-var-display.exp: Likewise.
+       * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
+       * gdb.mi/mi2-var-child.exp: Likewise.
+       * gdb.mi/mi-vla-c99.exp: Likewise.
+       * lib/mi-support.exp: Likewise.
+
+       From Ian Lance Taylor  <iant@cygnus.com>:
+       * lib/gdb.exp (parse_args): New procedure.
+
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/break-unload-file.c: New file.
+       * gdb.base/break-unload-file.exp: New file.
+       * gdb.base/sym-file-lib.c (baz): New function.
+       * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
+       field.
+       (load): Store the segment's mapped size.
+       (unload): New function.
+       (unload_shlib): New function.
+       * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
+       * gdb.base/sym-file-main.c (main): Unload, and reload the library,
+       set a breakpoint at baz, and call it.
+       * gdb.base/sym-file.exp: New tests for stale breakpoint
+       instructions.
+
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
+       * gdb.base/hbreak-in-shr-unsupported.c: New file.
+       * gdb.base/hbreak-in-shr-unsupported.exp: New file.
+       * gdb.base/hbreak-unmapped.c: New file.
+       * gdb.base/hbreak-unmapped.exp: New file.
+       * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
+       * lib/gdb.exp (gdb_is_target_remote): ... here.
+
+2014-04-22  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/consecutive-step-over.c: New file.
+       * gdb.base/consecutive-step-over.exp: New file.
+
+2014-04-22  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
+       instead of send_gdb/gdb_expect.
+
+2014-04-22  Yao Qi  <yao@codesourcery.com>
+
+       * lib/trace-support.exp (generate_tracefile): New procedure.
+       * gdb.trace/tfile.exp: Skip the test if generate_tracefile
+       return 0.
+       * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
+       if generate_tracefile returns 1.
+
+2014-04-18  Tom Tromey  <palves@redhat.com>
+           Pedro alves  <tromey@redhat.com>
+
+       PR backtrace/15558
+       * gdb.opt/inline-bt.exp: Test backtracing from an inline function
+       with a backtrace limit.
+       * gdb.python/py-frame-inline.exp: Test running to an inline
+       function with a backtrace limit, and printing the newest frame.
+       * gdb.python/py-frame-inline.c (main): Call f.
+
+2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * gdb.java/jnpe.exp: Drop srcdir from untested path.
+
+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>,
This page took 0.033931 seconds and 4 git commands to generate.