aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2013-10-25 07:18:50 +0400
committerTom Tromey <tromey@sourceware.org>2013-10-25 14:03:00 +0000
commit6ba1f11550257b564f210856ec171f886664e389 (patch)
tree1e8c6af258b6aead9b82da29e1a94592ba05b82b /gdb
parenta35cfb4007cee8cb84106412cd17f4e12f13345b (diff)
downloadgdb-6ba1f11550257b564f210856ec171f886664e389.zip
gdb-6ba1f11550257b564f210856ec171f886664e389.tar.gz
gdb-6ba1f11550257b564f210856ec171f886664e389.tar.bz2
Minor coding style fixes in varobj.h
No actual code change, just a minor style fix. gdb/ChangeLog: * varobj.h (struct lang_varobj_ops): Remove spaces between '*' and parameter name.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/varobj.h14
2 files changed, 12 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b0b6ff8..65381a3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-25 Joel Brobecker <brobecker@adacore.com>
+
+ * varobj.h (struct lang_varobj_ops): Remove spaces between '*'
+ and parameter name.
+
2013-10-24 Maciej W. Rozycki <macro@codesourcery.com>
* linux-tdep.c (linux_corefile_thread_callback): Propagate any
diff --git a/gdb/varobj.h b/gdb/varobj.h
index e32c6ef..7efaedb 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -177,26 +177,26 @@ struct varobj
struct lang_varobj_ops
{
/* The number of children of PARENT. */
- int (*number_of_children) (struct varobj * parent);
+ int (*number_of_children) (struct varobj *parent);
/* The name (expression) of a root varobj. */
- char *(*name_of_variable) (struct varobj * parent);
+ char *(*name_of_variable) (struct varobj *parent);
/* The name of the INDEX'th child of PARENT. */
- char *(*name_of_child) (struct varobj * parent, int index);
+ char *(*name_of_child) (struct varobj *parent, int index);
/* Returns the rooted expression of CHILD, which is a variable
obtain that has some parent. */
- char *(*path_expr_of_child) (struct varobj * child);
+ char *(*path_expr_of_child) (struct varobj *child);
/* The ``struct value *'' of the INDEX'th child of PARENT. */
- struct value *(*value_of_child) (struct varobj * parent, int index);
+ struct value *(*value_of_child) (struct varobj *parent, int index);
/* The type of the INDEX'th child of PARENT. */
- struct type *(*type_of_child) (struct varobj * parent, int index);
+ struct type *(*type_of_child) (struct varobj *parent, int index);
/* The current value of VAR. */
- char *(*value_of_variable) (struct varobj * var,
+ char *(*value_of_variable) (struct varobj *var,
enum varobj_display_formats format);
/* Return non-zero if changes in value of VAR must be detected and