Page MenuHomeFreeBSD

D59896.diff
No OneTemporary

D59896.diff

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

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)

Event Timeline