mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Hongliang Wang <wanghongliang@loongson.cn>
To: musl@lists.openwall.com
Subject: [musl] LoongArch: delete bits/ptrace.h
Date: Wed, 28 Feb 2024 15:27:07 +0800	[thread overview]
Message-ID: <27c77ce5-e31b-0c84-ff7f-9ef43b37b986@loongson.cn> (raw)

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

Hi,

Delete loongarch64/bits/ptrace.h, the PTRACE related macro definitions
are not used in loongarch.

---
  arch/loongarch64/bits/ptrace.h | 4 ----
  1 file changed, 4 deletions(-)
  delete mode 100644 arch/loongarch64/bits/ptrace.h

diff --git a/arch/loongarch64/bits/ptrace.h b/arch/loongarch64/bits/ptrace.h
deleted file mode 100644
index dce2fa51..00000000
--- a/arch/loongarch64/bits/ptrace.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#define PTRACE_GET_THREAD_AREA  25
-#define PTRACE_SET_THREAD_AREA  26
-#define PTRACE_GET_WATCH_REGS   0xd0
-#define PTRACE_SET_WATCH_REGS   0xd1
-- 
2.37.1

Regards,
Hongliang Wang

[-- Attachment #2: 0001-LoongArch-PTRACE-Delete-unused-definition-in-ptrace..patch --]
[-- Type: text/x-patch, Size: 770 bytes --]

From 66564678daed7fcf6a836ecf83f8fc2e173dffc6 Mon Sep 17 00:00:00 2001
From: wanghongliang <wanghongliang@loongson.cn>
Date: Mon, 26 Feb 2024 02:17:17 +0800
Subject: [PATCH] LoongArch:PTRACE:Delete unused definition in ptrace.h.

Signed-off-by: wanghongliang <wanghongliang@loongson.cn>
---
 arch/loongarch64/bits/ptrace.h | 4 ----
 1 file changed, 4 deletions(-)
 delete mode 100644 arch/loongarch64/bits/ptrace.h

diff --git a/arch/loongarch64/bits/ptrace.h b/arch/loongarch64/bits/ptrace.h
deleted file mode 100644
index dce2fa51..00000000
--- a/arch/loongarch64/bits/ptrace.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#define PTRACE_GET_THREAD_AREA  25
-#define PTRACE_SET_THREAD_AREA  26
-#define PTRACE_GET_WATCH_REGS   0xd0
-#define PTRACE_SET_WATCH_REGS   0xd1
-- 
2.37.1


             reply	other threads:[~2024-02-28  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28  7:27 Hongliang Wang [this message]
2024-02-29 22:29 ` Rich Felker
2024-03-01  2:00   ` Hongliang Wang

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=27c77ce5-e31b-0c84-ff7f-9ef43b37b986@loongson.cn \
    --to=wanghongliang@loongson.cn \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).