Merge remote-tracking branch 'origin/GP-4698_d-millar_show_version' into

patch (Closes #6646)
This commit is contained in:
Ryan Kurtz 2024-06-18 12:15:38 -04:00
commit fd95d254dd

View File

@ -28,6 +28,8 @@ def _compute_gdb_ver():
top = blurb.split('\n')[0]
full = top.split(' ')[-1]
major, minor = full.split('.')[:2]
if '-' in minor:
minor = minor[:minor.find('-')]
return GdbVersion(full, int(major), int(minor))