OLD | NEW |
| (Empty) |
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Diagnostics; | |
4 using System.Linq; | |
5 using System.Runtime.InteropServices; | |
6 using System.Text; | |
7 using Google.MsAd7.BaseImpl; | |
8 using Microsoft.VisualStudio.Debugger.Interop; | |
9 | |
10 namespace Google.NaClVsx.DebugSupport | |
11 { | |
12 [Guid(kClsId)] | |
13 [ComVisible(true)] | |
14 [ClassInterface(ClassInterfaceType.None)] | |
15 sealed class NaClPortSupplier : PortSupplier | |
16 { | |
17 public const string kClsId = | |
18 "19F7B834-0503-42cd-AEB7-93B69071FA05"; | |
19 | |
20 | |
21 #region Overrides of PortSupplier | |
22 | |
23 public NaClPortSupplier() | |
24 : base("Native Client (NaCl)", | |
25 "Connects to Native Client executables (.nexe) via the gdb remote s
erial protocol.") { | |
26 IDebugPort2 p; | |
27 AddPort(new PortRequest("127.0.0.1:4014"), out p); | |
28 } | |
29 | |
30 protected override Port CreatePort(IDebugPortRequest2 rq) { | |
31 string portname; | |
32 rq.GetPortName(out portname); | |
33 return new NaClPort(this, rq, portname); | |
34 } | |
35 | |
36 #endregion | |
37 } | |
38 } | |
OLD | NEW |