Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -40,7 +40,7 @@ disasm_command(int argc, char **argv)
|
|||||||
if (!evaluate_debug_expression(argv[argi++], &pc, false))
|
if (!evaluate_debug_expression(argv[argi++], &pc, false))
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
pc = (addr_t)arch_debug_get_interrupt_pc();
|
pc = (addr_t)arch_debug_get_interrupt_pc(NULL);
|
||||||
if (pc == 0) {
|
if (pc == 0) {
|
||||||
kprintf("Failed to get current PC!\n");
|
kprintf("Failed to get current PC!\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user