diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-28 14:55:18 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-05-30 15:07:26 -0400 |
commit | 2736b77153629619fe75071356e16d9db51606ff (patch) | |
tree | 0fb4dded5c12a31a6ede897d0cf8b2ed4a30a616 /gdb/interps.h | |
parent | c3d321de3f35dc67d7eb0826e6cc8bc1f22a91e6 (diff) | |
download | gdb-2736b77153629619fe75071356e16d9db51606ff.zip gdb-2736b77153629619fe75071356e16d9db51606ff.tar.gz gdb-2736b77153629619fe75071356e16d9db51606ff.tar.bz2 |
gdb: add interp::on_command_error method
Same idea as the previous patches, but for command_error.
Change-Id: If6098225dd72fad8be13b3023b35bc8bc48efb9d
Diffstat (limited to 'gdb/interps.h')
-rw-r--r-- | gdb/interps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/interps.h b/gdb/interps.h index 349ffb1..53d951b 100644 --- a/gdb/interps.h +++ b/gdb/interps.h @@ -106,6 +106,10 @@ public: finished. */ virtual void on_sync_execution_done () {} + /* Notify the interpreter that an error was caught while executing a + command on this interpreter. */ + virtual void on_command_error () {} + private: /* The memory for this is static, it comes from literal strings (e.g. "cli"). */ const char *m_name; |