Clarify 65-fix-ldt (comment-only change).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1353 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_scheduler.c b/coregrind/vg_scheduler.c
index 94c0064..697a4df 100644
--- a/coregrind/vg_scheduler.c
+++ b/coregrind/vg_scheduler.c
@@ -471,10 +471,12 @@
/* We don't copy out the LDT entry, because it can never be changed
by the normal actions of the thread, only by the modify_ldt
syscall, in which case we will correctly be updating
- VG_(threads)[tid].ldt. */
+ VG_(threads)[tid].ldt. This printf happens iff the following
+ assertion fails. */
if ((void*)VG_(threads)[tid].ldt != (void*)VG_(baseBlock)[VGOFF_(ldt)])
VG_(printf)("VG_(threads)[%d].ldt=%p VG_(baseBlock)[VGOFF_(ldt)]=%p\n",
- tid, (void*)VG_(threads)[tid].ldt, (void*)VG_(baseBlock)[VGOFF_(ldt)]);
+ tid, (void*)VG_(threads)[tid].ldt,
+ (void*)VG_(baseBlock)[VGOFF_(ldt)]);
vg_assert((void*)VG_(threads)[tid].ldt
== (void*)VG_(baseBlock)[VGOFF_(ldt)]);