forked from CosmosOS/Cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ongoing work for making serial console working.
- Loading branch information
Showing
30 changed files
with
700 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
//using System; | ||
//using System.Collections.Generic; | ||
//using System.Diagnostics; | ||
//using System.Linq; | ||
//using System.Text; | ||
//using System.Threading.Tasks; | ||
//using Cosmos.Build.MSBuild; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Diagnostics; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Cosmos.Build.MSBuild; | ||
|
||
//namespace DebugCompiler | ||
//{ | ||
// internal class Program | ||
// { | ||
// public static void Main() | ||
// { | ||
// var task = new ExtractMapFromElfFile | ||
// { | ||
// CosmosBuildDir = @"c:\Data\Sources\Cosmos\Build", | ||
// DebugInfoFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.cdb", | ||
// InputFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.bin", | ||
// WorkingDir = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\" | ||
// }; | ||
// var sw = Stopwatch.StartNew(); | ||
// task.UseConsoleForLog = true; | ||
// task.Execute(); | ||
// sw.Stop(); | ||
// Console.WriteLine("Took {0}", sw.Elapsed); | ||
// } | ||
// } | ||
//} | ||
namespace DebugCompiler | ||
{ | ||
internal class Program | ||
{ | ||
public static void Main() | ||
{ | ||
//var task = new ExtractMapFromElfFile | ||
var task = new ReadNAsmMapToDebugInfo() | ||
{ | ||
//CosmosBuildDir = @"c:\Data\Sources\Cosmos\Build", | ||
//InputFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.bin", | ||
//WorkingDir = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\" | ||
DebugInfoFile = @"c:\Data\Sources\Cosmos\source2\Users\Kudzu\Breakpoints\bin\Debug\Kudzu.Breakpoints.cdb", | ||
InputBaseDir = @"e:\OpenSource\Cosmos\Demos\Guess\bin\Debug" | ||
}; | ||
var sw = Stopwatch.StartNew(); | ||
//task.UseConsoleForLog = true; | ||
task.Execute(); | ||
sw.Stop(); | ||
Console.WriteLine("Took {0}", sw.Elapsed); | ||
} | ||
} | ||
} |
Oops, something went wrong.