* extension-priv.h (extension_language_script_ops): Add comment.
authorDoug Evans <dje@google.com>
Fri, 7 Feb 2014 19:43:19 +0000 (11:43 -0800)
committerDoug Evans <dje@google.com>
Fri, 7 Feb 2014 19:44:46 +0000 (11:44 -0800)
(extension_language_ops): Add comment.

gdb/ChangeLog
gdb/extension-priv.h

index 99ed610..18fa3e1 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-07  Doug Evans  <dje@google.com>
+
+       * extension-priv.h (extension_language_script_ops): Add comment.
+       (extension_language_ops): Add comment.
+
 2014-02-07  Pedro Alves  <palves@redhat.com>
 
        * infrun.c (handle_signal_stop) <signal arrives while stepping
index 25d086d..9e63a9c 100644 (file)
@@ -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
 {