X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fstabs.c;h=d209094d03130283be9440a91c5f59c75b1fc746;hb=128e85e3ab36b8e30f6612fb50de3cbb4ede6824;hp=33159e997a234c18fa7da0569d3e71a4adf88226;hpb=f41e4712a7b7ac60f181e7dfc984ca35c222f0d7;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/stabs.c b/binutils/stabs.c index 33159e997a..d209094d03 100644 --- a/binutils/stabs.c +++ b/binutils/stabs.c @@ -1,5 +1,5 @@ /* stabs.c -- Parse stabs debugging information - Copyright (C) 1995-2014 Free Software Foundation, Inc. + Copyright (C) 1995-2016 Free Software Foundation, Inc. Written by Ian Lance Taylor . This file is part of GNU Binutils. @@ -1774,7 +1774,7 @@ parse_stab_range_type (void *dhandle, struct stab_handle *info, const char *type else if (n3 == (bfd_signed_vma) 0xffffffff) return debug_make_int_type (dhandle, 4, TRUE); #ifdef BFD64 - else if (n3 == ((((bfd_signed_vma) 0xffffffff) << 32) | 0xffffffff)) + else if (n3 == (bfd_signed_vma) 0xffffffffffffffffLL) return debug_make_int_type (dhandle, 8, TRUE); #endif } @@ -3432,6 +3432,7 @@ stab_xcoff_builtin_type (void *dhandle, struct stab_handle *info, case 9: name = "unsigned"; rettype = debug_make_int_type (dhandle, 4, TRUE); + break; case 10: name = "unsigned long"; rettype = debug_make_int_type (dhandle, 4, TRUE); @@ -5175,7 +5176,7 @@ stab_demangle_v3_arglist (void *dhandle, struct stab_handle *info, context for a function with no arguments. */ if (dc->u.s_binary.left == NULL) break; - + arg = stab_demangle_v3_arg (dhandle, info, dc->u.s_binary.left, NULL, &varargs); if (arg == NULL)