Page MenuHomeFreeBSD

D17769.diff
No OneTemporary

D17769.diff

Index: head/sys/riscv/riscv/machdep.c
===================================================================
--- head/sys/riscv/riscv/machdep.c
+++ head/sys/riscv/riscv/machdep.c
@@ -254,7 +254,7 @@
ptrace_set_pc(struct thread *td, u_long addr)
{
- panic("ptrace_set_pc");
+ td->td_frame->tf_sepc = addr;
return (0);
}
@@ -263,7 +263,7 @@
{
/* TODO; */
- return (0);
+ return (EOPNOTSUPP);
}
int
@@ -271,7 +271,7 @@
{
/* TODO; */
- return (0);
+ return (EOPNOTSUPP);
}
void

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 11:55 PM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31293982
Default Alt Text
D17769.diff (498 B)

Event Timeline