Use "nm -D" to retrieve also the symbols of crash when compiled without -g (or stripped after compilation and debuginfo extraction). Signed-off-by: Bernhard Walle <bwalle@xxxxxxx> 1 file changed, 1 insertion(+), 1 deletion(-) symbols.c | 2 +-
Use "nm -D" to retrieve also the symbols of crash when compiled without -g (or stripped after compilation and debuginfo extraction). Signed-off-by: Bernhard Walle <bwalle@xxxxxxx> diff --git a/symbols.c b/symbols.c --- a/symbols.c +++ b/symbols.c @@ -9077,7 +9077,7 @@ if (!(lookfor = retaddr[i])) continue; - sprintf(buf, "/usr/bin/nm -Bn %s", thisfile); + sprintf(buf, "/usr/bin/nm -DBn %s", thisfile); if (!(pipe = popen(buf, "r"))) { perror("pipe"); break;
-- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility