summaryrefslogtreecommitdiffstats
path: root/kdbg/dbgdriver.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-11 16:33:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-11 16:34:18 +0900
commit5daa9bc059a3553399db7373f79d0adbc642bef6 (patch)
treee56b2cebd2d9c2b30e50975e2e64c05d371f81d2 /kdbg/dbgdriver.cpp
parentde6788920b1424cddbe6e8b47b7aba19414a92a8 (diff)
downloadkdbg-5daa9bc059a3553399db7373f79d0adbc642bef6.tar.gz
kdbg-5daa9bc059a3553399db7373f79d0adbc642bef6.zip
Convert some TRACE() messages to avoid FTBFS with clang. This resolves issue #13.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2fa77340550901f84c7b763000d80bb20018e773)
Diffstat (limited to 'kdbg/dbgdriver.cpp')
-rw-r--r--kdbg/dbgdriver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kdbg/dbgdriver.cpp b/kdbg/dbgdriver.cpp
index ab8301d..04c7270 100644
--- a/kdbg/dbgdriver.cpp
+++ b/kdbg/dbgdriver.cpp
@@ -130,8 +130,7 @@ CmdQueueItem* DebuggerDriver::executeCmdString(DbgCommand cmd,
m_state = DSinterrupted;
kill(SIGINT);
ASSERT(m_activeCmd != 0);
- TRACE(TQString().sprintf("interrupted the command %d",
- (m_activeCmd ? m_activeCmd->m_cmd : -1)));
+ TRACE(TQString("interrupted the command %1").arg((m_activeCmd ? m_activeCmd->m_cmd : -1)));
delete m_activeCmd;
m_activeCmd = 0;
}