diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-21 09:45:30 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | 0c613e170e60f673cd47b23a7052b19b128469c5 (patch) | |
tree | bcf6872d90c5ed20a9890d108eae6ef3f9ec22b6 /gdb/interps.c | |
parent | 023c6d45d793b729b58968a50dee607e8b30a4d0 (diff) | |
download | gdb-0c613e170e60f673cd47b23a7052b19b128469c5.zip gdb-0c613e170e60f673cd47b23a7052b19b128469c5.tar.gz gdb-0c613e170e60f673cd47b23a7052b19b128469c5.tar.bz2 |
gdb: add interp::on_inferior_appeared method
Same idea as previous patches, but for inferior_appeared.
Change-Id: Ibe4feba34274549a886b1dfb5b3f8d59ae79e1b5
Diffstat (limited to 'gdb/interps.c')
-rw-r--r-- | gdb/interps.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/interps.c b/gdb/interps.c index f648699..ed33df2 100644 --- a/gdb/interps.c +++ b/gdb/interps.c @@ -470,6 +470,14 @@ interps_notify_inferior_added (inferior *inf) interps_notify (&interp::on_inferior_added, inf); } +/* See interps.h. */ + +void +interps_notify_inferior_appeared (inferior *inf) +{ + interps_notify (&interp::on_inferior_appeared, inf); +} + /* This just adds the "interpreter-exec" command. */ void _initialize_interpreter (); void |