From: Jan Kratochvil Date: Fri, 10 Apr 2009 16:00:49 +0000 (+0000) Subject: gdb/ X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b686df9e6e345b22074ceed77dcb86f4e361ded2;p=pf3gnuchains%2Fpf3gnuchains3x.git gdb/ * varobj.c (varobj_invalidate): Fix formatting text width. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d97f921682..b6f86a7646 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -2,6 +2,7 @@ * gdbtypes.c: Remove excessive parentheses at the return keywords. * varobj.c (varobj_invalidate): Fix indentation. + * varobj.c (varobj_invalidate): Fix formatting text width. 2009-04-08 Vladimir Prus diff --git a/gdb/varobj.c b/gdb/varobj.c index ecd6f85c8c..a7957f698b 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -2764,7 +2764,8 @@ varobj_invalidate (void) while (*varp != NULL) { /* Floating varobjs are reparsed on each stop, so we don't care if - the presently parsed expression refers to something that's gone. */ + the presently parsed expression refers to something that's gone. + */ if ((*varp)->root->floating) continue; @@ -2773,9 +2774,10 @@ varobj_invalidate (void) { struct varobj *tmp_var; - /* Try to create a varobj with same expression. If we succeed replace - the old varobj, otherwise invalidate it. */ - tmp_var = varobj_create (NULL, (*varp)->name, (CORE_ADDR) 0, USE_CURRENT_FRAME); + /* Try to create a varobj with same expression. If we succeed + replace the old varobj, otherwise invalidate it. */ + tmp_var = varobj_create (NULL, (*varp)->name, (CORE_ADDR) 0, + USE_CURRENT_FRAME); if (tmp_var != NULL) { tmp_var->obj_name = xstrdup ((*varp)->obj_name);