forked from Imagelibrary/binutils-gdb
2007-10-08 Pedro Alves <pedro_alves@portugalmail.pt>
Revert: 2007-08-10 Michael Snyder <msnyder@access-company.com> * stabsread.c (read_huge_number): Attempt to compute value before values that it depends on.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2007-10-08 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
Revert:
|
||||
2007-08-10 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* stabsread.c (read_huge_number): Attempt to compute value before
|
||||
values that it depends on.
|
||||
|
||||
2007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* remote.c (get_offsets): Only call free_symfile_segment_data if
|
||||
|
||||
@@ -3711,7 +3711,7 @@ read_huge_number (char **pp, int end, int *bits, int twos_complement_bits)
|
||||
int nbits = 0;
|
||||
int c;
|
||||
long upper_limit;
|
||||
int twos_complement_representation;
|
||||
int twos_complement_representation = radix == 8 && twos_complement_bits > 0;
|
||||
|
||||
if (*p == '-')
|
||||
{
|
||||
@@ -3727,7 +3727,6 @@ read_huge_number (char **pp, int end, int *bits, int twos_complement_bits)
|
||||
p++;
|
||||
}
|
||||
|
||||
twos_complement_representation = radix == 8 && twos_complement_bits > 0;
|
||||
upper_limit = LONG_MAX / radix;
|
||||
|
||||
while ((c = *p++) >= '0' && c < ('0' + radix))
|
||||
|
||||
Reference in New Issue
Block a user