(Announcing the Change proposal) |
(Add trackers) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Remove Guile Support from GDB = | = Remove Guile Support from GDB = | ||
== Summary == | == Summary == | ||
Line 18: | Line 16: | ||
<!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) --> | <!-- The Wrangler announces the Change to the devel-announce list and changes the category to Category:ChangeAnnounced (no action required) --> | ||
<!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco... if it still needs more work it will move back to Category:ChangePageIncomplete--> | <!-- After review, the Wrangler will move your page to Category:ChangeReadyForFesco... if it still needs more work it will move back to Category:ChangePageIncomplete--> | ||
[[Category: | [[Category:ChangeAcceptedF38]] | ||
[[Category:SelfContainedChange]] | [[Category:SelfContainedChange]] | ||
<!-- [[Category:SystemWideChange]] --> | <!-- [[Category:SystemWideChange]] --> | ||
Line 31: | Line 29: | ||
--> | --> | ||
* [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KBJS5CYVQK4GXXLDDTYJF2LANZ56GSSB/ devel thread] | * [https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KBJS5CYVQK4GXXLDDTYJF2LANZ56GSSB/ devel thread] | ||
* FESCo issue: | * FESCo issue: [https://pagure.io/fesco/issue/2906 #2906] | ||
* Tracker bug: | * Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=2151328 #2151328] | ||
* Release notes tracker: | * Release notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/934 #934] | ||
== Detailed Description == | == Detailed Description == |
Latest revision as of 18:21, 6 December 2022
Remove Guile Support from GDB
Summary
Remove Guile extension language support from the GDB package in favor of the widely tested and feature-rich Python support
Owner
- Name: Keith Seitz
- Email: keiths@redhat.com
Current status
- Targeted release: Fedora Linux 38
- Last updated: 2022-12-06
- devel thread
- FESCo issue: #2906
- Tracker bug: #2151328
- Release notes tracker: #934
Detailed Description
The GDB package supports Python and Guile for writing extensions to the debugger. The Python extensions are actively used by many developers including the glibc developers for printing detailed POSIX Thread information and by libstdc++ (gcc) developers for printing developer friendly views of the standard library data structures. The current Guile extension support is less actively used and this change request proposes to remove that support from GDB.
Feedback
Red Hat's Platform Tools team supports this change.
Benefit to Fedora
GDB already supports a much more widely tested and feature-rich Python interface1, and the GDB maintainers would like to remove the maintenance burden imposed by supporting multiple scripting interfaces. The Guile interface has already been disabled in RHEL9 and onwards. This would align Fedora and RHEL and standardize the community more directly on the Python interface for extension development.
1 The GDB User Manual states, “python comes first.” The Manual’s Python and Guile API pages demonstrate the disparity of support between these two extension languages.
Scope
- Proposal owners: Update gdb spec file.
- Other developers: Update GDB scripting files if using Guile. Repository queries show no packages which rely on GDB that contain any Guile source files.
- Release engineering: #Releng issue number
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A (not needed for this Change)
- Alignment with Objectives:
Upgrade/compatibility impact
Users with Guile scripts will need to update and/or rewrite their scripts in Python.
How To Test
User Experience
Guile scripts that extend the functionality of GDB will stop working when users upgrade. Users are encouraged to use GDB's Python interface instead.
Dependencies
Contingency Plan
- Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change)
Documentation
Release Notes
Release notes should mention the removal of Guile support in GDB and suggest alternatives.