From dd7931d580de2d2af5411e0621a61af7345f188b Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 3 Jan 2023 11:45:12 -0300 Subject: [PATCH] syncqt: add some debugging to the ELF version script parsing Drive-by fix spelling-grammar. Pick-to: 6.5 Task-number: QTBUG-109790 Change-Id: I69ecc04064514f939896fffd1736d3bb49e73ee1 Reviewed-by: Alexey Edelev --- src/tools/syncqt/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index f8ee49d6ce..c64ddfa684 100644 --- a/src/tools/syncqt/main.cpp +++ b/src/tools/syncqt/main.cpp @@ -871,6 +871,7 @@ public: switch (m_versionScriptGeneratorState) { case Ignore: + scannerDebug() << "line ignored: " << buffer << std::endl; m_versionScriptGeneratorState = Active; return; case Stopped: @@ -1003,8 +1004,8 @@ public: // This regex looks for the ELFVERSION tag this is control key-word for the version script // content processing. // ELFVERSION tag accepts the following values: - // - stop - stops the symbols lookup for a versino script starting from this line. - // - ignore-next - ignores the line followed but the current one. + // - stop - stops the symbols lookup for a version script starting from this line. + // - ignore-next - ignores the line followed by the current one. // - ignore - ignores the current line. static const std::regex ElfVersionTagRegex(".*ELFVERSION:(stop|ignore-next|ignore).*");