mirror of
https://github.com/MariaDB/server.git
synced 2025-08-15 22:37:22 +00:00
restore stack traces that were broken by ebfe8c4e0e
This commit is contained in:
@ -310,12 +310,8 @@ int my_addr_resolve(void *ptr, my_addr_loc *loc)
|
||||
/* Save result for future comparisons. */
|
||||
strnmov(addr2line_binary, info.dli_fname, sizeof(addr2line_binary));
|
||||
}
|
||||
if (!(error= addr_resolve(ptr, loc)))
|
||||
return 0;
|
||||
#ifdef EXTRA_RESOLVE
|
||||
if (!(error= addr_resolve((void*) (ptr - info.dli_fbase), loc)))
|
||||
return 0;
|
||||
#endif
|
||||
return error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user