public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] python support for fetching separate debug files
@ 2014-11-20 21:18 Doug Evans
  0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2014-11-20 21:18 UTC (permalink / raw)
  To: gdb-patches, eliz, palves, sergiodj

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-20 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 21:18 [PATCH 0/4] python support for fetching separate debug files Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).