public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
From: sergiodj+buildbot@redhat.com
To: gdb-testers@sourceware.org
Subject: [binutils-gdb] Replace some $ARCH_{get, set}_pc with linux_{get, set}_pc_32bit
Date: Mon, 18 Jan 2016 15:11:00 -0000	[thread overview]
Message-ID: <276d4552dfc2dc3906fa2bd8690ea85b3d8ec055@gdb-build> (raw)

*** TEST RESULTS FOR COMMIT 276d4552dfc2dc3906fa2bd8690ea85b3d8ec055 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 276d4552dfc2dc3906fa2bd8690ea85b3d8ec055

Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit

This patch adds a pair of new functions linux_get_pc_32bit and
linux_set_pc_32bit which get and set 32-bit register "pc" from
regcache.  This function can be used some targets and these own
$ARCH_{get,set}_pc are replaced by linux_{get,set}_pc_32bit
respectively.

This patch touches many targets, but I only have arm board to
test and no regression.  I also rebuilt nios2-linux GDBserver.
If it is right to go, I'll post the 64-bit counterpart later.

gdb/gdbserver:

2016-01-18  Yao Qi  <yao.qi@linaro.org>

	* linux-arm-low.c (debug_threads): Remove declaration.
	(arm_get_pc, arm_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-bfin-low.c (bfin_get_pc, bfin_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-cris-low.c (debug_threads): Remove declaration.
	(cris_get_pc, cris_set_pc,): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-crisv32-low.c (debug_threads): Remove declaration.
	(cris_get_pc, cris_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-low.c: Include inttypes.h.
	(linux_get_pc_32bit, linux_set_pc_32bit): New functions.
	* linux-low.h (linux_get_pc_32bit, linux_set_pc_32bit): Declare.
	* linux-m32r-low.c (m32r_get_pc, m32r_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-m68k-low.c (m68k_get_pc, m68k_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-nios2-low.c (nios2_get_pc, nios2_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-sh-low.c (sh_get_pc, sh_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.
	* linux-xtensa-low.c (xtensa_get_pc, xtensa_set_pc): Remove.
	(the_low_target): Use linux_get_pc_32bit and
	linux_set_pc_32bit.


             reply	other threads:[~2016-01-18 15:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 15:11 sergiodj+buildbot [this message]
2016-01-18 15:11 ` Failures on Debian-s390x-native-gdbserver-m64, branch master sergiodj+buildbot
2016-01-18 15:29 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-01-18 15:40 ` Failures on Fedora-i686, " sergiodj+buildbot
2016-01-18 15:45 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
2016-01-18 15:51 ` Failures on Debian-i686, " sergiodj+buildbot
2016-01-18 15:54 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2016-01-18 16:10 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2016-01-18 16:28 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2016-01-18 16:31 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj+buildbot
2016-01-18 16:33 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-01-18 16:40 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-01-18 16:51 ` Failures on Fedora-ppc64be-m64, " sergiodj+buildbot
2016-01-18 17:00 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2016-01-18 17:08 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-01-18 17:15 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2016-01-18 17:15 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2016-01-18 17:27 ` Failures on Fedora-ppc64be-native-extended-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=276d4552dfc2dc3906fa2bd8690ea85b3d8ec055@gdb-build \
    --to=sergiodj+buildbot@redhat.com \
    --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).