No need to print and try NULL at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22505 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3698,7 +3698,7 @@ vm_page_fault(addr_t address, addr_t faultAddress, bool isWrite, bool isUser,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
dprintf("stack trace:\n");
|
dprintf("stack trace:\n");
|
||||||
while (status == B_OK) {
|
while (status == B_OK && frame.return_address != NULL) {
|
||||||
dprintf(" %p", frame.return_address);
|
dprintf(" %p", frame.return_address);
|
||||||
area = vm_area_lookup(addressSpace,
|
area = vm_area_lookup(addressSpace,
|
||||||
(addr_t)frame.return_address);
|
(addr_t)frame.return_address);
|
||||||
|
|||||||
Reference in New Issue
Block a user