projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* corelow.c (core_xfer_partial): Pass writebuf to
[deliverable/binutils-gdb.git]
/
gdb
/
objc-exp.y
diff --git
a/gdb/objc-exp.y
b/gdb/objc-exp.y
index c36ed6cf168f844b2ef2324a2ad82adba72827ff..d12a6c28f29cce017055e59f19a1f3e114e3315b 100644
(file)
--- a/
gdb/objc-exp.y
+++ b/
gdb/objc-exp.y
@@
-1,6
+1,6
@@
/* YACC parser for C expressions, for GDB.
/* YACC parser for C expressions, for GDB.
- Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 2002, 2006
+ Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 2002, 2006
, 2007
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@@
-1134,16
+1134,16
@@
parse_number (p, len, parsed_float, putithere)
shift it right and see whether anything remains. Note that we
can't shift sizeof (LONGEST) * HOST_CHAR_BIT bits or more in one
operation, because many compilers will warn about such a shift
shift it right and see whether anything remains. Note that we
can't shift sizeof (LONGEST) * HOST_CHAR_BIT bits or more in one
operation, because many compilers will warn about such a shift
- (which always produces a zero result). Sometimes
TARGET_INT_BIT
- or
TARGET_LONG_BIT
will be that big, sometimes not. To deal with
+ (which always produces a zero result). Sometimes
gdbarch_int_bit
+ or
gdbarch_long_int
will be that big, sometimes not. To deal with
the case where it is we just always shift the value more than
once, with fewer bits each time. */
un = (unsigned LONGEST)n >> 2;
if (long_p == 0
the case where it is we just always shift the value more than
once, with fewer bits each time. */
un = (unsigned LONGEST)n >> 2;
if (long_p == 0
- && (un >> (
TARGET_INT_BIT
- 2)) == 0)
+ && (un >> (
gdbarch_int_bit (current_gdbarch)
- 2)) == 0)
{
{
- high_bit = ((unsigned LONGEST)1) << (
TARGET_INT_BIT-
1);
+ high_bit = ((unsigned LONGEST)1) << (
gdbarch_int_bit (current_gdbarch) -
1);
/* A large decimal (not hex or octal) constant (between INT_MAX
and UINT_MAX) is a long or unsigned long, according to ANSI,
/* A large decimal (not hex or octal) constant (between INT_MAX
and UINT_MAX) is a long or unsigned long, according to ANSI,
@@
-1155,16
+1155,16
@@
parse_number (p, len, parsed_float, putithere)
signed_type = builtin_type_int;
}
else if (long_p <= 1
signed_type = builtin_type_int;
}
else if (long_p <= 1
- && (un >> (
TARGET_LONG_BIT
- 2)) == 0)
+ && (un >> (
gdbarch_long_bit (current_gdbarch)
- 2)) == 0)
{
{
- high_bit = ((unsigned LONGEST)1) << (
TARGET_LONG_BIT-
1);
+ high_bit = ((unsigned LONGEST)1) << (
gdbarch_long_bit (current_gdbarch) -
1);
unsigned_type = builtin_type_unsigned_long;
signed_type = builtin_type_long;
}
else
{
high_bit = (((unsigned LONGEST)1)
unsigned_type = builtin_type_unsigned_long;
signed_type = builtin_type_long;
}
else
{
high_bit = (((unsigned LONGEST)1)
- << (
TARGET_LONG_LONG_BIT
- 32 - 1)
+ << (
gdbarch_long_long_bit (current_gdbarch)
- 32 - 1)
<< 16
<< 16);
if (high_bit == 0)
<< 16
<< 16);
if (high_bit == 0)
This page took
0.024002 seconds
and
4
git commands to generate.