mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
* valops.c (value_cast): Break up long lines.
This commit is contained in:
parent
37ce37b139
commit
716c501e94
@ -1,3 +1,7 @@
|
||||
2000-06-15 Michael Snyder <msnyder@seadog.cygnus.com>
|
||||
|
||||
* valops.c (value_cast): Break up long lines.
|
||||
|
||||
2000-06-14 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* dwarf2read.c (dump_die): Use the proper printf format for
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user