Commit 07d9e57d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Pass -g to nm(1), it makes backtraces on OSX marginally less useless

parent 652cdeb9
......@@ -246,7 +246,7 @@ Symbol_hack(const char *a0)
uintptr_t a;
struct symbols *s;
bprintf(buf, "nm -an %s 2>/dev/null", a0);
bprintf(buf, "nm -agn %s 2>/dev/null", a0);
fi = popen(buf, "r");
if (fi == NULL)
return;
......
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