gdb: add inferior_cloned observable
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 13 Apr 2023 20:18:34 +0000 (16:18 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Sep 2023 20:16:26 +0000 (16:16 -0400)
commitc6ae604573f9e9d7b7a15388bdba2d1dabecd131
tree1a24a4f98fb7f3bbfb7da1dd079876b3b87046d6
parent0e0edacca5f34621f85e93a22ee31c6810b5941c
gdb: add inferior_cloned observable

The following patch makes the amdgpu port transfer a property from the
original inferior to the new inferior when using the clone-inferior
command.  Add the inferior_cloned observable to help with this.

Change-Id: Id845a799813ec49b1b7b2fcb97b07d0a1e5e2631
Approved-By: Tom Tromey <tom@tromey.com>
gdb/inferior.c
gdb/observable.c
gdb/observable.h