svn commit: r341991 - stable/12/contrib/elftoolchain/readelf
Maxim Sobolev
sobomax at FreeBSD.org
Wed Dec 12 16:25:31 UTC 2018
Author: sobomax
Date: Wed Dec 12 16:25:30 2018
New Revision: 341991
URL: https://svnweb.freebsd.org/changeset/base/341991
Log:
MFC: r340745, fix CU: output of the --debug-dump=decodedline.
Modified:
stable/12/contrib/elftoolchain/readelf/readelf.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/contrib/elftoolchain/readelf/readelf.c
==============================================================================
--- stable/12/contrib/elftoolchain/readelf/readelf.c Wed Dec 12 15:49:14 2018 (r341990)
+++ stable/12/contrib/elftoolchain/readelf/readelf.c Wed Dec 12 16:25:30 2018 (r341991)
@@ -4720,7 +4720,7 @@ dump_dwarf_line_decoded(struct readelf *re)
DW_DLV_OK)
dir = NULL;
printf("CU: ");
- if (dir && file)
+ if (dir && file && file[0] != '/')
printf("%s/", dir);
if (file)
printf("%s", file);
More information about the svn-src-all
mailing list