diff options
Diffstat (limited to 'gdb/extension-priv.h')
-rw-r--r-- | gdb/extension-priv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index fc0513711..dd2600e 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -103,6 +103,11 @@ struct extension_language_script_ops but is not required to, throw an error. */ objfile_script_sourcer_func *objfile_script_sourcer; + /* Execute a script attached to an objfile. + If there's an error while processing the script this function may, + but is not required to, throw an error. */ + objfile_script_executor_func *objfile_script_executor; + /* Return non-zero if auto-loading scripts in this extension language is enabled. */ int (*auto_load_enabled) (const struct extension_language_defn *); |