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

Yao Qi qiyaoltc@gmail.com
Thu Jul 23 15:31:00 GMT 2015


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(-)

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
 			;;
-- 
1.9.1



More information about the Gdb-patches mailing list