fix runtime check of GDB version
On a system with python3 and gdb.VERSION="10.1"
the "1" was matched in the initial ^.*
part. This change fixes this and also works with python2 and gdb.VERSION="9.2"
.
On a system with python3 and gdb.VERSION="10.1"
the "1" was matched in the initial ^.*
part. This change fixes this and also works with python2 and gdb.VERSION="9.2"
.