Skip to content
Snippets Groups Projects
  1. Mar 10, 2023
  2. Jan 13, 2023
  3. Jan 01, 2023
  4. Jul 18, 2022
    • Tom Tromey's avatar
      Add gdb.free_objfile event registry · 0b4fe76f
      Tom Tromey authored
      Currently, Python code can use event registries to detect when gdb
      loads a new objfile, and when gdb clears the objfile list.  However,
      there's no way to detect the removal of an objfile, say when the
      inferior calls dlclose.
      
      This patch adds a gdb.free_objfile event registry and arranges for an
      event to be emitted in this case.
      
      0b4fe76f
Loading