This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] python support for fetching separate debug files


Hi.

This patch set adds the ability to add separate debug files from Python.
In my use-case, I'm using the new_objfile event to invoke code that
checks for whether debug information is missing and if so attempt to
fetch it from a repository and then add it to the session.
This allows debug sessions to work without the manual effort of
fetching separate debug files.

Maybe Red Hat could use this with debuginfo-install, I'm not sure.
If Red Hat wants to do something in this area, it would be good to
at least not get in each other's way.  Can someone from Red Hat
look this over?  Is there something that could be done differently
that would be better for you? Maybe some changes will be needed or
maybe our use-cases are sufficiently different that we'll have to
use different bits of the Python API.  What I've got here is just
building blocks, so I'm hoping they're usable in more cases.

1/4 - Objfile.build_id
2/4 - Objfile.have_debug_info
3/4 - Objfile.add_separate_debug_file
4/4 - Objfile.is_separate_debug_file


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]