Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160920783
D44360.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
480 B
Referenced Files
None
Subscribers
None
D44360.diff
View Options
diff --git a/sys/arm64/arm64/gdb_machdep.c b/sys/arm64/arm64/gdb_machdep.c
--- a/sys/arm64/arm64/gdb_machdep.c
+++ b/sys/arm64/arm64/gdb_machdep.c
@@ -55,6 +55,10 @@
case GDB_REG_SP: return (&kdb_frame->tf_sp);
case GDB_REG_PC: return (&kdb_frame->tf_elr);
case GDB_REG_CSPR: return (&kdb_frame->tf_spsr);
+ default:
+ if (regnum >= GDB_REG_X0 && regnum <= GDB_REG_X29)
+ return (&kdb_frame->tf_x[regnum - GDB_REG_X0]);
+ break;
}
}
switch (regnum) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 30, 2:04 AM (8 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34480390
Default Alt Text
D44360.diff (480 B)
Attached To
Mode
D44360: arm64: Return all registers to gdb when able
Attached
Detach File
Event Timeline
Log In to Comment