This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] varobj.c:varobj_update minor reformatting


I just noticed that the name of that function wasn't at the start
of a line, so I fixed it.

gdb/ChangeLog:

        * varobj.c (varobj_update): Minor reformatting, putting the function
        name at the start of the next line.

Tested by rebuilding GDB only. Checked in.

---
 gdb/ChangeLog |    5 +++++
 gdb/varobj.c  |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1ea4c5b..bd94cf0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-28  Joel Brobecker  <brobecker@adacore.com>
+
+	* varobj.c (varobj_update): Minor reformatting, putting the function
+	name at the start of the next line.
+
 2011-12-27  Doug Evans  <dje@google.com>
 
 	* dwarf2read.c (struct dwarf2_cu): Delete members first_fn, last_fn,
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 0d5987c..a77c63e 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1775,7 +1775,8 @@ varobj_set_visualizer (struct varobj *var, const char *visualizer)
    returns TYPE_CHANGED, then it has done this and VARP will be modified
    to point to the new varobj.  */
 
-VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
+VEC(varobj_update_result) *
+varobj_update (struct varobj **varp, int explicit)
 {
   int changed = 0;
   int type_changed = 0;
-- 
1.7.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]