FS#64493 - [gdb] python 3.8 fix for prompt.py

Attached to Project: Arch Linux
Opened by Vladimir (_v_l) - Thursday, 14 November 2019, 06:16 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 14 November 2019, 11:07 GMT
Task Type Support Request
Category Packages: Testing
Status Closed
Assigned To Anatol Pomozov (anatolik)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: the python 3.8 introduced a warning about the use of 'is' and 'is not' operators in comparison, so now gdb at start prints two warnings from 'prompt.py' that prevents the usage of gdb within Emacs. The patch for the file is already in git (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=b6484282f85bf7f11451b2441599c241d302ad9d). Please, consider to apply a patch and rebuild the gdb package.

P.S. I locally changed the 'prompt.py' file and gdb doesn't show warnings in cmd and works as expected within Emacs.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 14 November 2019, 11:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdb 8.3.1-4

Loading...