gdb: add interp::on_inferior_disappeared method
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 21 Apr 2023 13:45:30 +0000 (09:45 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 30 May 2023 19:07:26 +0000 (15:07 -0400)
commitd38086cce9ab3d1c0acd48dd89fe5721caa08fed
tree17d38679684ce21c9750a38ff5e4fcc0cb93f0b5
parent0c613e170e60f673cd47b23a7052b19b128469c5
gdb: add interp::on_inferior_disappeared method

Same idea as previous patches, but for inferior_disappeared.

For symmetry with on_inferior_appeared, I named this one
on_inferior_disappeared, despite the observer being called
inferior_exit.  This is called when detaching an inferior, so I think
that calling it "disappeared" is a bit less misleading (the observer
should probably be renamed later).

Change-Id: I372101586bc9454997953c1e540a2a6685f53ef6
gdb/inferior.c
gdb/interps.c
gdb/interps.h
gdb/mi/mi-interp.c
gdb/mi/mi-interp.h