[gdbserver] Don't set srv_linux_usrregs for aarch64*-*-linux*

Message ID 1437665476-12860-1-git-send-email-yao.qi@linaro.org
State New, archived
Headers

Commit Message

Yao Qi July 23, 2015, 3:31 p.m. UTC
  We don't use PTRACE_PEEKUSR/PTRACE_POKEUSR on aarch64-linux, so don't
need to set srv_linux_usrregs.  This patch removes that line.

Regression tested on aarch64-linux gdbserver.  I'll push it in tomorrow.

gdb/gdbserver:

2015-07-23  Yao Qi  <yao.qi@linaro.org>

	* configure.srv (case aarch64*-*-linux*): Don't set
	srv_linux_usrregs.
---
 gdb/gdbserver/configure.srv | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Yao Qi July 27, 2015, 3:16 p.m. UTC | #1
Yao Qi <qiyaoltc@gmail.com> writes:

> gdb/gdbserver:
>
> 2015-07-23  Yao Qi  <yao.qi@linaro.org>
>
> 	* configure.srv (case aarch64*-*-linux*): Don't set
> 	srv_linux_usrregs.

Patch is pushed in.
  

Patch

diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index 2dc954b..9a04aac 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -54,7 +54,6 @@  case "${target}" in
 			srv_xmlfiles="aarch64.xml"
 			srv_xmlfiles="${srv_xmlfiles} aarch64-core.xml"
 			srv_xmlfiles="${srv_xmlfiles} aarch64-fpu.xml"
-			srv_linux_usrregs=yes
 			srv_linux_regsets=yes
 			srv_linux_thread_db=yes
 			;;