Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173189340
D59896.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
418 B
Referenced Files
None
Subscribers
None
D59896.diff
View Options
diff --git a/lib/libproc/proc_bkpt.c b/lib/libproc/proc_bkpt.c
--- a/lib/libproc/proc_bkpt.c
+++ b/lib/libproc/proc_bkpt.c
@@ -59,6 +59,9 @@
#elif defined(__riscv)
#define BREAKPOINT_INSTR 0x00100073 /* sbreak */
#define BREAKPOINT_INSTR_SZ 4
+#elif defined(__loongarch__)
+#define BREAKPOINT_INSTR 0x002a0000 /* break 0 */
+#define BREAKPOINT_INSTR_SZ 4
#else
#error "Add support for your architecture"
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 25, 4:42 AM (2 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39475494
Default Alt Text
D59896.diff (418 B)
Attached To
Mode
D59896: libproc: add LoongArch support
Attached
Detach File
Event Timeline
Log In to Comment