From: Vladimir Mezentsev Date: Fri, 10 Mar 2023 21:25:44 +0000 (-0800) Subject: gprofng: PR30195 [display text] Source code location can not be found X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4bcff7caea39dd033c9faac050b1a6520406248;p=binutils-gdb.git gprofng: PR30195 [display text] Source code location can not be found gprofng/ChangeLog 2023-03-10 Vladimir Mezentsev PR gprofng/30195 gprofng/src/DwarfLib.cc (DwrLineRegs::reset): Set 'file = 1;'. --- diff --git a/gprofng/src/DwarfLib.cc b/gprofng/src/DwarfLib.cc index e90c685ebbb..64003797d25 100644 --- a/gprofng/src/DwarfLib.cc +++ b/gprofng/src/DwarfLib.cc @@ -1687,7 +1687,7 @@ DwrLineRegs::reset () timestamp = 0; file_size = 0; address = 0; - file = 0; + file = 1; line = 1; column = 0; is_stmt = (default_is_stmt != 0);