Renamed elf_lookup_symbol_address() to elf_debug_lookup_symbol_address() and
removed the locking it did, as that doesn't work anymore in the kernel debugger. The function was not thought to be used outside the debugger, anyway. Improved usage message from debugger command "ls". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14050 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -162,7 +162,7 @@ stack_trace(int argc, char **argv)
|
||||
if (diff & 0x80000000)
|
||||
diff = 0;
|
||||
|
||||
if (elf_lookup_symbol_address(eip, &baseAddress, &symbol,
|
||||
if (elf_debug_lookup_symbol_address(eip, &baseAddress, &symbol,
|
||||
&image, &exactMatch) == B_OK) {
|
||||
if (symbol != NULL) {
|
||||
kprintf("%08lx (+%4ld) %08lx <%s>:%s + 0x%04lx%s\n", ebp, diff, eip,
|
||||
|
||||
Reference in New Issue
Block a user