This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/23796] New: [Feature Request] "info functions" equivalent for python
- From: "korcankaraokcu at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 18 Oct 2018 18:19:03 +0000
- Subject: [Bug python/23796] New: [Feature Request] "info functions" equivalent for python
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23796
Bug ID: 23796
Summary: [Feature Request] "info functions" equivalent for
python
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: python
Assignee: unassigned at sourceware dot org
Reporter: korcankaraokcu at gmail dot com
Target Milestone: ---
Parsing the output of "info functions" is a little bit hacky. The GDB-MI wiki
states that the equivalent command for "info functions" is
"-symbol-list-functions" but apparently it doesn't exist in GDB yet since it
gives the "undefined-command" error when invoked
I think symtab_symbol_info function in /gdb/symtab.c could be used to create a
new python function that returns all the symbols in a dictionary with the keys
{"variable", "function", "type"}
--
You are receiving this mail because:
You are on the CC list for the bug.