Skip to content

Commit 21089ca

Browse files
committed
Merge pull request #180 from vosen/master
Bump version to 0.1.1 and fix various gdb regressions
2 parents 6d4f55a + 95f9dcb commit 21089ca

File tree

15 files changed

+195
-28
lines changed

15 files changed

+195
-28
lines changed

Microsoft.VisualStudio.Project/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]
3737

3838
[assembly: InternalsVisibleTo("VisualRust, PublicKey=00240000048000009400000006020000002400005253413100040000010001007755e184d6da3fe8b941736d1567d465beee5164177fa4517975dc035826e7cb94d733944a9df378cc038429af191f7ca06ddd4a146e6cd5882595030cfcf82b194cec14fe9745368245993236e5059f21a5721c0cad36c71bfa9101f41ac58c39318fdf91b7abf4ae799aa7e3ed5cb79efac57b651eb04c105219cbf1b2b69f")]
3939
[assembly: InternalsVisibleTo("VisualRust.Project, PublicKey=00240000048000009400000006020000002400005253413100040000010001007755e184d6da3fe8b941736d1567d465beee5164177fa4517975dc035826e7cb94d733944a9df378cc038429af191f7ca06ddd4a146e6cd5882595030cfcf82b194cec14fe9745368245993236e5059f21a5721c0cad36c71bfa9101f41ac58c39318fdf91b7abf4ae799aa7e3ed5cb79efac57b651eb04c105219cbf1b2b69f")]

RustLexer/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]
3737

3838
[assembly: System.CLSCompliant(true)]

VisualRust.Build/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]

VisualRust.Project/DefaultRustLauncher.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,19 +142,17 @@ private void LaunchInGdbDebugger(string file)
142142
// this affects the number of bytes the engine reads when disassembling commands,
143143
// x64 has the largest maximum command size, so it should be safe to use for x86 as well
144144
writer.WriteAttributeString("TargetArchitecture", "x64");
145-
146-
// GDB engine expects to find a shell on the other end of the pipe, so the first thing it sends over is "gdb --interpreter=mi",
147-
// (which GDB complains about, since this isn't a valid command).
148-
// Since we are launching GDB directly, here we create a noop alias for "gdb" to make the error message go away.
149-
writer.WriteElementString("Command", "alias -a gdb=echo");
145+
146+
writer.WriteStartElement("SetupCommands");
150147
// launch debuggee in a new console window
151-
writer.WriteElementString("Command", "set new-console on");
148+
writer.WriteElementString("Command", "-gdb-set new-console on");
152149
if (!string.IsNullOrEmpty(debugConfig.DebuggerScript))
153150
{
154151
foreach (string cmd in debugConfig.DebuggerScript.Split('\r', '\n'))
155152
if (!string.IsNullOrEmpty(cmd))
156153
writer.WriteElementString("Command", cmd);
157154
}
155+
writer.WriteEndElement();
158156

159157
writer.WriteEndElement();
160158
}
@@ -163,7 +161,9 @@ private void LaunchInGdbDebugger(string file)
163161
VsDebugTargetProcessInfo[] results = new VsDebugTargetProcessInfo[targets.Length];
164162

165163
IVsDebugger4 vsDebugger = (IVsDebugger4)project.GetService(typeof(SVsShellDebugger));
166-
vsDebugger.LaunchDebugTargets4((uint)targets.Length, targets, results);
164+
vsDebugger.LaunchDebugTargets4((uint)targets.Length, targets, results);
165+
var commandWnd = (IVsCommandWindow)project.GetService(typeof(SVsCommandWindow));
166+
commandWnd.ExecuteCommand("alias gdb Debug.VRDebugExec");
167167
}
168168

169169
private string GuessArchitecture()

VisualRust.Project/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]
3737

3838
[assembly: InternalsVisibleTo("VisualRust, PublicKey=00240000048000009400000006020000002400005253413100040000010001007755e184d6da3fe8b941736d1567d465beee5164177fa4517975dc035826e7cb94d733944a9df378cc038429af191f7ca06ddd4a146e6cd5882595030cfcf82b194cec14fe9745368245993236e5059f21a5721c0cad36c71bfa9101f41ac58c39318fdf91b7abf4ae799aa7e3ed5cb79efac57b651eb04c105219cbf1b2b69f")]
3939
#if TEST

VisualRust.Setup/VisualRust.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Product Id="*"
44
Name="Visual Rust"
55
Language="1033"
6-
Version="0.1.0.0"
6+
Version="0.1.1.0"
77
Manufacturer="The Piston Project"
88
UpgradeCode="{B5CC88F7-BC23-4400-95D8-9EE3FA95CC3F}">
99
<Package InstallerVersion="400"

VisualRust.Shared/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]

VisualRust.Templates/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.1.1.0")]
36+
[assembly: AssemblyFileVersion("0.1.1.0")]

VisualRust/Guids.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ namespace VisualRust
55
static class GuidList
66
{
77
public const string guidVisualRustPkgString = "40c1d2b5-528b-4966-a7b1-1974e3568abe";
8+
public static Guid VisualRustCommandSet = new Guid("{91C8967B-EB9D-4904-AB07-4ACCA9C0ECFE}");
89
};
910
}

VisualRust/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
// You can specify all the values or you can default the Revision and Build Numbers
2828
// by using the '*' as shown below:
2929

30-
[assembly: AssemblyVersion("0.1.0.0")]
31-
[assembly: AssemblyFileVersion("0.1.0.0")]
30+
[assembly: AssemblyVersion("0.1.1.0")]
31+
[assembly: AssemblyFileVersion("0.1.1.0")]
3232

3333

3434

0 commit comments

Comments
 (0)