Check-in [b344810536]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add more debug.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b3448105362540bbc72f1bc57a151fa0dd6bdee8
User & Date: stephanie.gawroriski 2019-06-13 23:19:41
Context
2019-06-13
23:21
Add test object. check-in: 0bb57d8e72 user: stephanie.gawroriski tags: trunk
23:19
Add more debug. check-in: b344810536 user: stephanie.gawroriski tags: trunk
23:17
Remove unused tempreg. check-in: e6d63d5a12 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/klib/supervisor/todo/DEBUG.java.

74
75
76
77
78
79
80




81
82
83
84
85
86
87
	public static final void note(String __fmt, Object... __args)
	{
		// Get the pipe descriptor for standard error, ignore if it fails
		int fd = Assembly.sysCallV(SystemCallIndex.PD_OF_STDERR);
		if (SystemCallError.getError(SystemCallIndex.PD_OF_STDERR) != 0)
			return;
		




		// Argument pointer
		int argp = 0;
		
		// Print char by char to the console
		boolean percent = false;
		for (int i = 0, n = __fmt.length(); i < n; i++)
		{







>
>
>
>







74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
	public static final void note(String __fmt, Object... __args)
	{
		// Get the pipe descriptor for standard error, ignore if it fails
		int fd = Assembly.sysCallV(SystemCallIndex.PD_OF_STDERR);
		if (SystemCallError.getError(SystemCallIndex.PD_OF_STDERR) != 0)
			return;
		
		// Debug
		DEBUG.code('N', 'f', Assembly.objectToPointer(__fmt));
		DEBUG.code('N', 'a', Assembly.objectToPointer(__args));
		
		// Argument pointer
		int argp = 0;
		
		// Print char by char to the console
		boolean percent = false;
		for (int i = 0, n = __fmt.length(); i < n; i++)
		{