Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/DebugProperties/Variable.cs

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/visual_studio_plugin/src/MsAd7.BaseImpl/DebugProperties/Variable.cs
diff --git a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/DebugProperties/Variable.cs b/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/DebugProperties/Variable.cs
deleted file mode 100644
index 69bccf914656d5efc33d80f3c35b6aebdd85d6e2..0000000000000000000000000000000000000000
--- a/experimental/visual_studio_plugin/src/MsAd7.BaseImpl/DebugProperties/Variable.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2009 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can
-// be found in the LICENSE file.
-using System;
-using System.Diagnostics;
-using Google.MsAd7.BaseImpl.Interfaces;
-using Google.MsAd7.BaseImpl.Interfaces.SimpleSymbolTypes;
-using Microsoft.VisualStudio.Debugger.Interop;
-
-namespace Google.MsAd7.BaseImpl.DebugProperties {
- class Variable : DebugPropertyBase {
- public Variable(DebugPropertyBase parent,
- Symbol sym,
- enum_DBG_ATTRIB_FLAGS attributes,
- ISimpleDebugger dbg)
- : base(parent, sym.Name, sym.TypeOf.Name, null, sym.Offset, attributes, dbg) {
- symbol_ = sym;
- }
-
- protected override void RefreshValue(ref object value)
- {
- var result = new byte[symbol_.TypeOf.SizeOf];
- Debug.WriteLine("RefreshValue, variable=" + symbol_.Name +
- " Address: " + String.Format("{0,4:X}", Address));
- Dbg.GetMemory(Address, result, (uint) result.Length);
- value = result;
- }
-
- public override string FormatValue()
- {
- return Dbg.Symbols.SymbolValueToString(
- symbol_.Key, new ArraySegment<byte>((byte[]) Value));
- }
-
- private Symbol symbol_;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698