summaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-04-10 16:00:49 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-04-10 16:00:49 +0000
commitb686df9e6e345b22074ceed77dcb86f4e361ded2 (patch)
tree95f4a1cbbb13882bd9bd2e3ac5c537b326bca4dc /gdb/varobj.c
parent1f5ab9da427da577af7205b8c9b8454a8e9d1795 (diff)
downloadgdb-b686df9e6e345b22074ceed77dcb86f4e361ded2.tar.gz
gdb/
* varobj.c (varobj_invalidate): Fix formatting text width.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index ecd6f85c8c0..a7957f698b4 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);