callfuncs.exp: Indent perform_all_tests()
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 6a1d330a3057c8ebfe2fc504c0bba611567d72f1..73aff6033f1906c2e30c2ef171906d92f0230fde 100644 (file)
@@ -1,3 +1,381 @@
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
+       logic into perform_all_tests() and invoke it with and without
+       function header prototypes.
+       (do_function_calls): Remove conditional XFAIL for PR 5318.
+       (rerun_and_prepare): Remove duplicate code.
+       (perform_all_tests): New.  Main logic moved here.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
+       code guarded by #ifdef NO_PROTOTYPES.
+       (t_double_many_args): Likewise.
+       (DEF_FUNC_MANY_ARGS_1): Likewise.
+       (DEF_FUNC_VALUES_1): Likewise.
+       (t_structs_ldc): Renamed from t_structs_fc in conditional code
+       guarded by #ifdef PROTOTYPES.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.mi/mi-console.c: Add eye-catcher.
+       * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
+       instead of literal line number.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/shr2.c: Add eye-catcher.
+       * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
+       line number.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/jump.c: Add eye-catchers.
+       * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
+       numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/execd-prog.c: Add eye-catchers.
+       * gdb.base/foll-exec.c: Likewise.
+       * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
+       line numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/ending-run.c: Add eye-catchers.
+       * gdb.base/ending-run.exp: Refer to eye-catchers instead of
+       literal line numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/call-rt-st.c: Add eye-catchers.
+       * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
+       literal line numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/call-ar-st.c: Add eye-catchers.
+       * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
+       literal line numbers.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/average.c: Add eye-catchers.
+       * gdb.base/sum.c: Likewise.
+       * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
+       regexps dynamically.
+
+2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/solib1.c: Add eye-catchers.
+       * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
+       literal line numbers.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
+       leader has exited.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/i386-bp_permanent.c: New file.
+       * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
+       (srcfile): Set to i386-bp_permanent.c.
+       (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
+       that stepi does not execute the 'leave' instruction, instead of
+       testing it does execute.
+       * gdb.base/bp-permanent.c: New file.
+       * gdb.base/bp-permanent.exp: New file.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17564
+       * gdb.base/symtab-search-order.exp: New file.
+       * gdb.base/symtab-search-order.c: New file.
+       * gdb.base/symtab-search-order-1.c: New file.
+       * gdb.base/symtab-search-order-shlib-1.c: New file.
+
+2014-11-07  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17511
+       * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
+       i?86-*-linux*.
+
+2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
+
+       PR c++/17494
+       * gdb.cp/pr17494.cc: New file.
+       * gdb.cp/pr17494.exp: New file.
+
+2014-11-02  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.python/python.exp: Get working directory and match the
+       output of "set extended-prompt \\w " with it.
+
+2014-10-30  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-objfile.exp: Add tests for setting random attributes
+       in objfiles.
+       * gdb.python/py-progspace.exp: Add tests for setting random attributes
+       in progspaces.
+
+2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
+
+       * gdb.base/fullpath-expand.exp: Skip for a remote host.
+       * gdb.base/realname-expand.exp: Likewise.
+       * gdb.linespec/macro-relative.exp: Likewise.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17408
+       * gdb.threads/schedlock.c (some_function): New function.
+       (call_function): New global.
+       (MAYBE_CALL_SOME_FUNCTION): New macro.
+       (thread_function): Call it.
+       * gdb.threads/schedlock.exp (get_args): Add description parameter,
+       and use it instead of a global counter.  Adjust all callers.
+       (get_current_thread): Use "find current thread" for test message
+       here rather than having all callers pass down the same string.
+       (goto_loop): New procedure, factored out from ...
+       (my_continue): ... this.
+       (step_ten_loops): Change parameter from test message to command to
+       use.  Adjust.
+       (list_count): Delete global.
+       (check_result): New procedure, factored out from duplicate top
+       level code.
+       (continue tests): Wrap in with_test_prefix.
+       (test_step): New procedure, factored out from duplicate top level
+       code.
+       (top level): Test "step" in combination with all scheduler-locking
+       modes.  Test "next" in combination with all scheduler-locking
+       modes, and in combination with stepping over a function call or
+       not.
+       * gdb.threads/next-bp-other-thread.c: New file.
+       * gdb.threads/next-bp-other-thread.exp: New file.
+
+2014-10-29  Pedro Alves  <palves@redhat.com>
+
+       PR python/17372
+       * gdb.python/python.exp: Test a multi-line command that spawns
+       interactive Python.
+       * gdb.base/multi-line-starts-subshell.exp: New file.
+
+2014-10-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/fileio.exp: Make directories on host.
+
+2014-10-29  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/fileio.c (test_write): Close the file.
+
+2014-10-28  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/12623
+       * gdb.base/sigstep.c (no_handler): New global.
+       (main): If 'no_handler is true, set the signal handlers to
+       SIG_IGN.
+       * gdb.base/sigstep.exp (breakpoint_over_handler): Add
+       with_sw_watch and no_handler parameters.  Handle them.
+       (top level) <stepping over handler when stopped at a breakpoint
+       test>: Add a test axis for testing with a software watchpoint, and
+       another for testing with the signal handler set to SIG_IGN.
+       * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
+       * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
+
+2014-10-28  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17511
+       * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
+       * gdb.base/sigstep.exp (other_handler_location): New global.
+       (advance): Support stepping into the signal handler, and running
+       commands while in the handler.
+       (in_handler_map): New global.
+       (top level): In the advance test, add combinations for getting
+       into the handler with stepping commands, and for running commands
+       in the handler.  Add comment descripting the advancei tests.
+
+2014-10-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sigstep.exp: Use build_executable instead of
+       prepare_for_testing.
+       (top level): Move code that starts GDB, runs to main and creates a
+       display to ...
+       (restart): ... this new procedure.
+       (top level): Move backtrace from signal handler test to ...
+       (validate_backtrace): ... this new procedure.
+       (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
+       with_test_prefix.  Always restart GDB.
+       (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
+       with_test_prefix.  Always restart GDB.  No need to delete
+       breakpoints after the test.
+       (test_skip_handler): Remove prefix parameter.
+       (skip_over_handler, breakpoint_to_handler)
+       (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
+       parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
+       restart GDB.  No need to delete breakpoints after the test.
+       (top level): Use foreach to call the test procedures with
+       different commands.
+
+2014-10-28  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
+       instead of GNATS numbers.
+       * gdb.base/sigbpt.exp: Likewise.
+       * gdb.base/siginfo.exp: Likewise.
+       * gdb.base/sigstep.exp: Likewise.
+
+2014-10-27  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/sigstep.c (dummy): New global.
+       (main): Issue a couple writes to the new global.
+       * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
+       procedures.
+       (skip_over_handler): Use test_skip_handler.
+       (top level): Call skip_over_handler for stepi and nexti too.
+       (breakpoint_over_handler): Use test_skip_handler.
+       (top level): Call breakpoint_over_handler for stepi and nexti too.
+
+2014-10-27  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.trace/tfile.c (adjust_function_address)
+       [__powerpc64__ && _CALL_ELF != 2]: Get function address from
+       function descriptor.
+
+2014-10-24  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.base/foll-fork.exp (test_follow_fork,
+       catch_fork_child_follow): Check for updated fork messages emitted
+       from infrun.c.
+       * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
+       vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
+       vfork_and_exec_child_follow_through_step): Check for updated vfork
+       messages emitted from infrun.c.
+
+2014-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/corefile.exp: Remove references to ultrix.
+       * gdb.base/interrupt.exp: Likewise.
+       * gdb.base/whatis.exp: Likewise.
+       * gdb.gdb/selftest.exp: Likewise.
+       * gdb.threads/manythreads.exp: Likewise.
+       * gdb.threads/print-threads.exp: Likewise.
+       * gdb.threads/pthreads.exp:: Likewise.
+       * gdb.threads/schedlock.exp: Likewise.
+
+2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * gdb.cp/non-trivial-retval.cc: Add a test case.
+       * gdb.cp/non-trivial-retval.exp: Add a test.
+
+2014-10-20  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
+       * gdb.python/py-objfile-script-gdb.py: New file.
+       * gdb.python/py-objfile-script.exp: Update reference to
+       py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
+       of remote_download.  Remove the dest file.
+
+2014-10-20  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/checkpoint.exp: Don't remove file copied on host.
+       * gdb.base/step-line.exp: Likewise.
+       * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
+       * gdb.dwarf2/dw2-basic.exp: Likewise.
+       * gdb.dwarf2/dw2-compressed.exp: Likewise.
+       * gdb.dwarf2/dw2-filename.exp: Likewise.
+       * gdb.dwarf2/dw2-intercu.exp: Likewise.
+       * gdb.dwarf2/dw2-intermix.exp: Likewise.
+       * gdb.dwarf2/dw2-producer.exp: Likewise.
+       * gdb.dwarf2/mac-fileno.exp: Likewise.
+       * gdb.python/py-frame-args.exp: Likewise.
+       * gdb.python/py-framefilter.exp: Likewise.
+       * gdb.python/py-mi.exp: Likewise.
+       * gdb.python/py-objfile-script.exp: Likewise
+       * gdb.python/py-pp-integral.exp: Likewise.
+       * gdb.python/py-pp-re-notag.exp: Likewise.
+       * gdb.python/py-prettyprint.exp: Likewise.
+       * gdb.python/py-section-script.exp: Likewise.
+       * gdb.python/py-typeprint.exp: Likewise.
+       * gdb.python/py-xmethods.exp: Likewise.
+       * gdb.stabs/weird.exp: Likewise.
+       * gdb.xml/tdesc-regs.exp: Likewise.
+
+2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
+       (out_cu): Use addr_len for the size of addresses.
+       (out_line): Likewise.  Size DW_LNE_set_address instruction
+       according to addr_len.
+       * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
+       (FUNC): Add START_INSNS to definition.
+
+2014-10-18  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/argv0-symlink.exp: Check argv[0] value if
+       gdb_has_argv0 return true.
+       * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
+       check [target_info exists noargs], check [gdb_has_argv0]
+       instead.
+       * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
+       * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
+       procedures.
+
+2014-10-17  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-events.exp: Update expected output for clear_objfiles
+       event.
+       * gdb.python/py-events.py: Add clear_objfiles event.
+
+2014-10-17  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-objfile.exp: Test progspace attribute.
+
+2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.guile/scm-breakpoint.exp: Do not assume any
+       directory separators when matching source file paths.
+       * gdb.python/py-breakpoint.exp: Likewise.
+       * gdb.reverse/break-precsave.exp: Likewise.
+       * gdb.reverse/break-reverse.exp: Likewise.
+       * gdb.reverse/consecutive-precsave.exp: Likewise.
+       * gdb.reverse/finish-precsave.exp: Likewise.
+       * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
+       * gdb.reverse/finish-reverse.exp: Likewise.
+       * gdb.reverse/i386-precsave.exp: Likewise.
+       * gdb.reverse/i387-env-reverse.exp: Likewise.
+       * gdb.reverse/i387-stack-reverse.exp: Likewise.
+       * gdb.reverse/machinestate-precsave.exp: Likewise.
+       * gdb.reverse/machinestate.exp: Likewise.
+       * gdb.reverse/sigall-precsave.exp: Likewise.
+       * gdb.reverse/solib-precsave.exp: Likewise.
+       * gdb.reverse/step-precsave.exp: Likewise.
+       * gdb.reverse/until-precsave.exp: Likewise.
+       * gdb.reverse/watch-precsave.exp: Likewise.
+       * gdb.reverse/watch-reverse.exp: Likewise.
+
+2014-10-17  Yao Qi  <yao@codesourcery.com>
+
+       * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
+       * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
+
+2014-10-17  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17471
+       * gdb.base/bg-execution-repeat.c: New file.
+       * gdb.base/bg-execution-repeat.exp: New file.
+
+2014-10-17  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/17300
+       * gdb.base/continue-all-already-running.c: New file.
+       * gdb.base/continue-all-already-running.exp: New file.
+
 2014-10-17  Pedro Alves  <palves@redhat.com>
 
        PR gdb/17472
This page took 0.032651 seconds and 4 git commands to generate.