Commit d0fdff71 authored by Ell's avatar Ell
Browse files

app: in GimpBacktrace Windows backend, avoid bogus symbol addresses

In the GimpBacktrace Windows backend, avoid reporting meaningless
symbol addresses when failing to retrieve meaningful ones.
Unfortunately, it seems that we never get symbol addresses for
symbols that have debug information, which negatively affects the
log viewer's call graph.  We're going to have to work around this.

(cherry picked from commit 52772cf3)
parent ca8bbd2e
......@@ -668,7 +668,7 @@ gimp_backtrace_get_address_info (guintptr address,
g_strlcpy (info->symbol_name, symbol_info->Name,
sizeof (info->symbol_name));
info->symbol_address = address - offset;
info->symbol_address = offset ? address - offset : 0;
result = TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment