Bug 27420 - Add gdb [--python|-P] option as available in archer
Summary: Add gdb [--python|-P] option as available in archer
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: python (show other bugs)
Version: unknown
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-15 11:14 UTC by Thomas Sondergaard
Modified: 2022-07-14 16:36 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sondergaard 2021-02-15 11:14:53 UTC
Fedora until recently shipped gdb with patches from archer that included the --python command line option. RHEL 7 and 8 still ship with a gdb that has this option.

 This is very useful for advanced scripting of gdb. I was hoping this feature could be added to mainline gdb.

I have also created an issue in Fedora's issue tracker to bring it back there, but I think the feature is simple and generally useful, so why not put it in gdb proper.

https://bugzilla.redhat.com/show_bug.cgi?id=1928678
Comment 1 Tom Tromey 2022-07-14 16:36:23 UTC
There was a thread here
https://sourceware.org/pipermail/gdb-patches/2019-July/159227.html