aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-06-15 18:54:48 +0000
committerMichael Snyder <msnyder@vmware.com>2000-06-15 18:54:48 +0000
commit716c501e948616d0ab2206dc89d20e967446639f (patch)
treed221eee36cec0c57aba7335a35986ed4ea43e41a /gdb/valops.c
parent37ce37b13953330cacdc602bf5b5abd777e35a34 (diff)
downloadgdb-716c501e948616d0ab2206dc89d20e967446639f.zip
gdb-716c501e948616d0ab2206dc89d20e967446639f.tar.gz
gdb-716c501e948616d0ab2206dc89d20e967446639f.tar.bz2
2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
* valops.c (value_cast): Break up long lines.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 16241bf..d5171a6 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -273,7 +273,8 @@ value_cast (type, arg2)
/* With HP aCC, pointers to data members have a bias */
case TYPE_CODE_MEMBER:
retvalp = value_from_longest (type, value_as_long (arg2));
- ptr = (unsigned int *) VALUE_CONTENTS (retvalp); /* force evaluation */
+ /* force evaluation */
+ ptr = (unsigned int *) VALUE_CONTENTS (retvalp);
*ptr &= ~0x20000000; /* zap 29th bit to remove bias */
return retvalp;
@@ -286,7 +287,8 @@ value_cast (type, arg2)
}
}
longest = value_as_long (arg2);
- return value_from_longest (type, convert_to_boolean ? (LONGEST) (longest ? 1 : 0) : longest);
+ return value_from_longest (type, convert_to_boolean ?
+ (LONGEST) (longest ? 1 : 0) : longest);
}
else if (TYPE_LENGTH (type) == TYPE_LENGTH (type2))
{