Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 09:42:57 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 101646 for review
Message-ID:  <200607150942.k6F9gv2m033043@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101646

Change 101646 by rdivacky@rdivacky_witten on 2006/07/15 09:42:33

	Make debug messages in set_thread_area a bit more sane.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#15 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#15 (text+ko) ====

@@ -948,10 +948,7 @@
 
 #ifdef DEBUG
 	if (ldebug(set_thread_area))
-	   	printf(ARGS(set_thread_area, "Args passed to the set_thread_area:\n		\
-		      entry number: %i, base address: %i, limit: %i,	\
-		      seg32bit: %i, contents: %i, read_exec_only: %i, 	\
-		      limit in pages: %i, seg_not_present: %i, useable: %i\n"),
+	   	printf(ARGS(set_thread_area, "%i, %i, %i, %i, %i, %i, %i, %i, %i\n"),
 		      info.entry_number,
       		      info.base_addr,
       		      info.limit,
@@ -1006,10 +1003,7 @@
 	memcpy(&sd, &a, sizeof(a));
 #ifdef DEBUG
 	if (ldebug(set_thread_area))
-	   	printf(ARGS(set_thread_area, "Segment created in set_thread_area: \n	\
-   			lobase: %x, hibase: %x, lolimit: %x, 	\
-			hilimit: %x, type: %i, dpl: %i, 	\
-			p: %i, xx: %i, def32: %i, gran: %i\n"), sd.sd_lobase,
+	   	printf("Segment created in set_thread_area: lobase: %x, hibase: %x, lolimit: %x, hilimit: %x, type: %i, dpl: %i, p: %i, xx: %i, def32: %i, gran: %i\n", sd.sd_lobase,
 			sd.sd_hibase,
 			sd.sd_lolimit,
 			sd.sd_hilimit,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607150942.k6F9gv2m033043>