[3.0] a0eafec Pass -g to nm(1), it makes backtraces on OSX marginally less useless
Tollef Fog Heen
tfheen at varnish-cache.org
Mon Apr 22 13:27:00 CEST 2013
commit a0eafec8f6ca673b3d26c718096e45e9e5c8a023
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Aug 22 08:59:47 2012 +0000
Pass -g to nm(1), it makes backtraces on OSX marginally less useless
diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index fd91d08..fbf5713 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -274,7 +274,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;
More information about the varnish-commit
mailing list