aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-02-07 11:43:19 -0800
committerDoug Evans <dje@google.com>2014-02-07 11:44:46 -0800
commit1a86040918045adb017f841d6c8d818c42405da3 (patch)
tree103d978e72e75372ea73a67e487e3bde67334f72
parentd137e6dc798cdf3b3b17fe47322ce61450870e22 (diff)
downloadgdb-1a86040918045adb017f841d6c8d818c42405da3.zip
gdb-1a86040918045adb017f841d6c8d818c42405da3.tar.gz
gdb-1a86040918045adb017f841d6c8d818c42405da3.tar.bz2
* extension-priv.h (extension_language_script_ops): Add comment.
(extension_language_ops): Add comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/extension-priv.h12
2 files changed, 14 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 99ed610..18fa3e1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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
{