package/gdb: do not hard-code python version in gdb-python-config
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 31 Dec 2020 09:53:11 +0000 (10:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 31 Dec 2020 13:44:03 +0000 (14:44 +0100)
commit8f6e333f96189c812804bea14493eeb4c0febd0e
treeb9232899138de950922e72e708997dff8391aa4b
parent7fe40110e89503f99fcf690dc96674c035285620
package/gdb: do not hard-code python version in gdb-python-config

The gdb-python-config simulates a python-2.7, with a hard-coded 2.7
version.

gdb also supports running with python3 nowadays, so prepare the wrapper
to return appropriate values.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gdb/gdb-python-config
package/gdb/gdb.mk