Add ability to add attributes to gdb.Objfile and gdb.Progspace objects.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index 2eea79128c4a72a8a43e3567c0ba5d7968a63041..4f2f208230a9f609786ca3551b210e76fa42d0e7 100644 (file)
@@ -1,3 +1,126 @@
+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)