Red Hat Bugzilla – Bug 463318
[LTC 6.0 FEAT] 201572:Python scripting support in GDB
Last modified: 2009-12-18 14:41:12 EST
Emily J. Ratliff <email@example.com> - 2008-09-16 18:28 EDT
1. Feature Overview:
Feature Id: 
a. Name of Feature: Python scripting support in GDB
b. Feature Description
Support extending GDB functionality or automating it using Python scripts. The GDB community is
currently working on exposing a GDB API to Python scripts, and execute them with a Python
interpreter embedded in GDB. This will most probably appear in the next GDB release after 6.8.
2. Feature Details:
Arch Specificity: Purely Common Code
Affects Toolchain: Yes
Delivery Mechanism: Direct from community
Request Type: Toolchain - Enhancement from Upstream
d. Upstream Acceptance: In Progress
Sponsor Priority 2
f. Severity: Medium
IBM Confidential: no
Code Contribution: 3rd party code
g. Component Version Target: the next GDB release after 6.8
3. Business Case
Being able to extend GDB using a powerful API exposed to Python scripts will provide more
flexibility for IBM to support RAS requirements in its middleware applications. For example, the IBM
Java (or Domino, or Tivoli) team will be able to provide an extension script which can collect and
interpret specific JVM information for failure data capture.
4. Primary contact at Red Hat:
5. Primary contacts at Partner:
Project Management Contact:
Michael Hohnbaum, firstname.lastname@example.org, 503-578-5486
Thiago Jung Bauermann, email@example.com
Alexander Johnson, firstname.lastname@example.org
Any reason this shouldn't be marked as a dup of 463317?
I opened a specific feature for python because I thought it could give better coverage if we need something for python which for some reason doesn't get into the next gdb version (even though we are striving to get it all upstream). If you think this is not necessary (since 463317 mentions python as well), this can be duped.
Ah, ok. Wasn't sure if it was something that was already in upstream for post-6.8 or not.
Python scripting support is present in the Archer code going into Fedora 11, so I believe I don't need to post patches here...
There is already gdb-126.96.36.19990917-2.fc12 for F12 as a FSF GDB 7.0 candidate.
Python support is present with extension from the Archer branch.
IBM is signed up to test and provide feedback.
Duping this to BZ 463317 which requests the GDB update.
*** This bug has been marked as a duplicate of bug 463317 ***