Changeset View
Changeset View
Standalone View
Standalone View
sys/amd64/amd64/db_trace.c
| Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | #endif | ||||
| db_print_stack_entry(name, rip, *fp); | db_print_stack_entry(name, rip, *fp); | ||||
| /* | /* | ||||
| * Point to base of trapframe which is just above the | * Point to base of trapframe which is just above the | ||||
| * current frame. | * current frame. | ||||
| */ | */ | ||||
| tf_addr = *fp + 16; | tf_addr = *fp + 16; | ||||
| if (!__is_aligned(tf_addr, _Alignof(*tf)) || !INKERNEL(tf_addr)) { | if (!__is_aligned(tf_addr, _Alignof(struct trapframe)) || | ||||
| !INKERNEL(tf_addr)) { | |||||
jrtc27: This line is now too long | |||||
| db_printf("--- invalid trapframe %p\n", (void *)tf_addr); | db_printf("--- invalid trapframe %p\n", (void *)tf_addr); | ||||
| *ip = 0; | *ip = 0; | ||||
| *fp = 0; | *fp = 0; | ||||
| return; | return; | ||||
| } | } | ||||
| tf = (struct trapframe *)tf_addr; | tf = (struct trapframe *)tf_addr; | ||||
| rsp = tf->tf_rsp; | rsp = tf->tf_rsp; | ||||
| ▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines | |||||
This line is now too long