mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Merge remote-tracking branch 'origin/GP-4698_d-millar_show_version' into
patch (Closes #6646)
This commit is contained in:
commit
fd95d254dd
@ -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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user