Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151834417
D17769.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
498 B
Referenced Files
None
Subscribers
None
D17769.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17769: Implement ptrace_set_pc() and fail PT_*STEP requests explicitly.
Attached
Detach File
Event Timeline
Log In to Comment