Adding Python files to be autoloaded for a particular architecture

Reuben Thomas rrt@sc3d.org
Mon Jul 20 21:39:14 GMT 2020


On Mon, 20 Jul 2020 at 21:27, Christian Biesinger <cbiesinger@google.com>
wrote:

> I see. In that case, I see two options:
> - Put it in gdb/python/lib/gdb. That directory has so far only been
> used as an implementation detail for gdb's python API, but maybe
> maintainers will be OK with extending it in that way. That dir does
> get installed whenever python is enabled.
>

This feels like the wrong place, as after all what I'm implementing is not
an extension of the gdb package, but a use of it.


> - Or implement it in C++
>

It would be a shame to have to use another language.

However, there will certainly be some solution, and I guess I'll revisit
this once I have a contribution to submit to the maintainers.

Thanks very much for all your suggestions!

-- 
https://rrt.sc3d.org


More information about the Gdb mailing list