So part of me thinks it is great to have better MSYS2 support.
But the other part of me... well, you know me :-)
I'd like to at least explain why I wouldn't put this in RC4.
- From what I understand, this is not a regression, it is an improvement for better MSYS2 support
- Not putting it in only affects MSYS2 (and does not break it)
- Putting it in affects _all_ debug launches, not just MSYS2. That is a high risk for a low benefit.
- The community has done detailed testing with RC2 [1] and won't have time to redo it
- This change is going in to our last build; what happens if we find a problem next week?
- We have precedent for such situations, for this release in fact, where we disabled parameter
guessing [2] and delayed the full fix for a possible deadlock [3] because the bugs were
found too late.
I think we have RCs specifically to help make those hard decisions easier.
It's because of these things that I seem to want to play the killjoy.
Now, if you feel you want this patch in 9.0, at RC4, and resolveMacro() is safe, then I'm not too
concerned about the getGDBVersion() change. I believe we just forgot to remove its use when
we deprecated it. The impact it could have though, is that anyone overriding that method will
no longer be overriding it without making the correct changes for 9.0.
[1]
https://docs.google.com/spreadsheets/d/1u8pQ0fJQkXdGTkFN6PgdlXHvGe6rv_e200gVyrP5Bzg/edit#gid=0
[2]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=495095
[3]
https://bugs.eclipse.org/bugs/show_bug.cgi?id=494650
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Doug Schaefer [cdtdoug@xxxxxxxxx]
Sent: June 3, 2016 1:29 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] More fixes for env vars on launch for msys2
Let's just say I wouldn't recommend using it on Windows. Mingw.org is pretty dead and MSYS2 is really our only path forward.
Again, all I'm asking is to look at the changes. They're not huge. Assume resolveMacro works. I've tested that. The only change I'm worried about is the getVersion for gdb. For some reason we deprecated the LaunchUtil and then never changed the GDBLaunchDelegate
to use the recommended one. Why did we leave it?
Doug.