[PATCH v4 0/2] Make sure autoload happens before notifying Python side in new_objfile event

Simon Marchi simon.marchi@polymtl.ca
Sun Apr 25 01:46:40 GMT 2021


On 2021-04-22 11:44 a.m., Michael Weghorn via Gdb-patches wrote:
> This adds the possibility to explicitly specify dependencies between
> observers and makes use of this to make accessing an
> objfile's Python pretty printers (defined in an autoloaded script)
> from a handler for the Python-side 'new_objfile' works.
> 
> This is based on top of commit f7716715f1d2a71a5c95b7ac0e0323b742692e6d
> from Simon Marchi's WIP branch with some improvements to observable.h:
> 
> https://github.com/simark/binutils-gdb/tree/observer-dep

Hi Michael,

I merged my preparatory patches.  I'll rebase / review / adjust your
patches shortly, and post an updated version to the list.

Simon


More information about the Gdb-patches mailing list