From: Youling Tang <tangyouling@loongson.cn>
To: gdb-patches@sourceware.org
Cc: "Maciej W . Rozycki" <macro@orcam.me.uk>
Subject: [PATCH] gdbserver: Remove srv_linux_usrregs setting in RISCV
Date: Mon, 9 May 2022 20:39:57 +0800 [thread overview]
Message-ID: <20220509123957.11327-1-tangyouling@loongson.cn> (raw)
In the linux kernel code of RISCV, ptrace does not have the implementation
of PTRACE_POKEUSR/PTRACE_PEEKUSR in the arch_ptrace function (like aarch64),
If srv_linux_usrregs is set to yes, HAVE_LINUX_USRREGS will be defined, so
remove the srv_linux_usrregs setting.
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
---
gdbserver/configure.srv | 1 -
1 file changed, 1 deletion(-)
diff --git a/gdbserver/configure.srv b/gdbserver/configure.srv
index d37053628fc..6840c3964cf 100644
--- a/gdbserver/configure.srv
+++ b/gdbserver/configure.srv
@@ -257,7 +257,6 @@ case "${gdbserver_host}" in
srv_tgtobj="${srv_tgtobj} linux-riscv-low.o"
srv_tgtobj="${srv_tgtobj} ${srv_linux_obj}"
srv_linux_regsets=yes
- srv_linux_usrregs=yes
srv_linux_thread_db=yes
;;
s390*-*-linux*) srv_regobj="s390-linux32.o"
--
2.20.1
next reply other threads:[~2022-05-09 12:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 12:39 Youling Tang [this message]
2022-05-09 14:17 ` Tom Tromey
2022-05-09 14:44 ` Maciej W. Rozycki
2022-05-13 16:32 ` Palmer Dabbelt
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=20220509123957.11327-1-tangyouling@loongson.cn \
--to=tangyouling@loongson.cn \
--cc=gdb-patches@sourceware.org \
--cc=macro@orcam.me.uk \
/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