diff options
author | Doug Evans <dje@google.com> | 2014-02-07 11:43:19 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-02-07 11:44:46 -0800 |
commit | 1a86040918045adb017f841d6c8d818c42405da3 (patch) | |
tree | 103d978e72e75372ea73a67e487e3bde67334f72 /gdb/extension-priv.h | |
parent | d137e6dc798cdf3b3b17fe47322ce61450870e22 (diff) | |
download | gdb-1a86040918045adb017f841d6c8d818c42405da3.zip gdb-1a86040918045adb017f841d6c8d818c42405da3.tar.gz gdb-1a86040918045adb017f841d6c8d818c42405da3.tar.bz2 |
* extension-priv.h (extension_language_script_ops): Add comment.
(extension_language_ops): Add comment.
Diffstat (limited to 'gdb/extension-priv.h')
-rw-r--r-- | gdb/extension-priv.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index 25d086d..9e63a9c 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -86,7 +86,10 @@ struct extension_language_defn /* The interface for loading scripts from external extension languages, as well as GDB's own scripting language. - All of these methods are required to be implemented. */ + All of these methods are required to be implemented. + + By convention all of these functions take a pseudo-this parameter + as the first argument. */ struct extension_language_script_ops { @@ -112,7 +115,10 @@ struct extension_language_script_ops makes no use of these. There is no (current) intention to split extension_language_ops up any further. All of these methods are optional and may be NULL, except where - otherwise indicated. */ + otherwise indicated. + + By convention all of these functions take a pseudo-this parameter + as the first argument. */ struct extension_language_ops { @@ -264,7 +270,7 @@ struct signal_handler }; /* State necessary to restore the currently active extension language - to is previous value. */ + to its previous value. */ struct active_ext_lang_state { |