Modified Files:

stabsread.c ChangeLog

        * stabsread.c (read_huge_number): handle large unsigned number
        for stabs generated by os9k C compiler.
This commit is contained in:
Kung Hsu 1994-07-14 20:20:49 +00:00
parent cdf7137776
commit 8dbe58d843
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Jul 14 13:17:39 1994 Kung Hsu (kung@x1.cygnus.com)
* stabsread.c (read_huge_number): handle large unsigned number
for stabs generated by os9k C compiler.
Wed Jul 13 18:58:15 1994 Stan Shebs (shebs@andros.cygnus.com)
Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).

View File

@ -3265,7 +3265,11 @@ read_huge_number (pp, end, bits)
p++;
}
upper_limit = LONG_MAX / radix;
if (os9k_stabs)
upper_limit = ULONG_MAX / radix;
else
upper_limit = LONG_MAX / radix;
while ((c = *p++) >= '0' && c < ('0' + radix))
{
if (n <= upper_limit)