]> git.ipfire.org Git - thirdparty/valgrind.git/commit
calling format_message: when passing frameNo == -1, also pass
authorJulian Seward <jseward@acm.org>
Wed, 4 May 2011 09:06:17 +0000 (09:06 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 4 May 2011 09:06:17 +0000 (09:06 +0000)
commit1ccdd881a633aa3f27b08b7a32fe5c9d3db9b516
tree4e94ce7d41f32ef09783c93e62606845d2fb5e43
parenta31f76b8fc4c9aee6faa3a7ae1ea31a013b7cd46
calling format_message: when passing frameNo == -1, also pass
tid == VG_INVALID_THREADID rather than an uninitialised ThreadId.
Also in format_message, improve precondition assertions for
frameNo and tid.

There's no error in the current code since if frameNo == -1 then
tid is unused, but it caused IBM's BEAM checker to complain.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11723
coregrind/m_debuginfo/debuginfo.c