Fix the return value when we found a symbol in .dynstr. This nasty bug was
preventing a lot of symbol lookups in dtruss -s, for example.
This commit is contained in:
parent
cfde4db254
commit
7bc9877d20
@ -299,6 +299,7 @@ proc_addr2sym(struct proc_handle *p, uintptr_t addr, char *name,
|
||||
* the function.
|
||||
*/
|
||||
symcopy->st_value = rsym;
|
||||
error = 0;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user