mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] LoongArch: delete bits/ptrace.h
@ 2024-02-28  7:27 Hongliang Wang
  2024-02-29 22:29 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Hongliang Wang @ 2024-02-28  7:27 UTC (permalink / raw)
  To: musl

[-- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-01  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28  7:27 [musl] LoongArch: delete bits/ptrace.h Hongliang Wang
2024-02-29 22:29 ` Rich Felker
2024-03-01  2:00   ` Hongliang Wang

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