public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: sergiodj+buildbot@sergiodj.net
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] Switch current_thread to lwp's thread in install_software_single_step_breakpoints
Date: Thu, 21 Jul 2016 14:58:00 -0000	[thread overview]
Message-ID: <984a2c042e82f2306183d9d165c5cb99e4341503@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 984a2c042e82f2306183d9d165c5cb99e4341503 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 984a2c042e82f2306183d9d165c5cb99e4341503

Switch current_thread to lwp's thread in install_software_single_step_breakpoints

install_software_single_step_breakpoints has parameter lwp, but still
need to switch to current_thread.  In order to simplify its caller,
we do the current_thread save/restore inside install_software_single_step_breakpoints.

gdb/gdbserver:

2016-07-21  Yao Qi  <yao.qi@linaro.org>

	* gdbthread.h (make_cleanup_restore_current_thread): Declare.
	* inferiors.c (do_restore_current_thread_cleanup): New function.
	(make_cleanup_restore_current_thread): Likewise.
	* linux-low.c (install_software_single_step_breakpoints): Call
	make_cleanup_restore_current_thread.  Switch current_thread to
	thread.


             reply	other threads:[~2016-07-21 14:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 14:58 sergiodj+buildbot [this message]
2016-07-21 15:01 ` *** COMPILATION FAILED *** Failures on Fedora-x86_64-c-build-m64, branch master *** BREAKAGE *** sergiodj+buildbot
2016-07-21 17:39 ` Failures on Debian-i686, branch master sergiodj+buildbot
2016-07-21 17:44 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2016-07-21 18:11 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-07-22  5:09 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-07-22  6:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-07-26  1:52 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-07-26  2:27 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=984a2c042e82f2306183d9d165c5cb99e4341503@gdb-build \
    --to=sergiodj+buildbot@sergiodj.net \
    --cc=gdb-testers@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).