package/gdb: fix gdb segfault with Python 3.9 support
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Tue, 8 Jun 2021 15:18:37 +0000 (17:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Jul 2021 20:34:26 +0000 (22:34 +0200)
commit5609c63f0b1b11f4c036c2203b01fa697968d173
tree3e595944ac27f210f06f764cabd6a3185acadcc7
parente66f2fd310374779d415fa683813cc5f5ccf6be9
package/gdb: fix gdb segfault with Python 3.9 support

When enabling Python 3 support in gdb < 10, gdb segfaults at startup.

The issue is was resolved by the following upstream gdb commit,
present since gdb 10.1:

    commit c47bae859a5af0d95224d90000df0e529f7c5aa0
    Author: Kevin Buettner <kevinb@redhat.com>
    Date:   Wed May 27 20:05:40 2020 -0700

        Fix Python3.9 related runtime problems
        [...]

This commit backports this fix to all relevant gdb versions supported
in Buildroot.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gdb/4ecb98fbc2f94dbe01b69384afbc515107de73df/0001-Fix-Python3.9-related-runtime-problems.patch [new file with mode: 0644]
package/gdb/8.3.1/0007-Fix-Python3.9-related-runtime-problems.patch [new file with mode: 0644]
package/gdb/9.2/0007-Fix-Python3.9-related-runtime-problems.patch [new file with mode: 0644]