emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bignum branch


From: Eli Zaretskii
Subject: Re: bignum branch
Date: Sat, 11 Aug 2018 20:34:44 +0300

> From: Andy Moreton <address@hidden>
> Date: Sat, 11 Aug 2018 17:54:42 +0100
> 
> 3346            return make_fixnum (mpz_popcount (XBIGNUM (value)->value));
> (gdb) s
> __gmpz_popcount (__gmp_u=0x4c5ec60) at C:/msys64/mingw64/include/gmp.h:1844
> 1844      if (__GMP_LIKELY (__gmp_usize > 0))
> (gdb) s
> 1845        __gmp_result =  mpn_popcount (__gmp_u->_mp_d, __gmp_usize);
> (gdb) stepi
> 0x000000040016e405      1845        __gmp_result =  mpn_popcount 
> (__gmp_u->_mp_d, __gmp_usize);
> (gdb)
> 0x000000046ace5dc0 in ?? ()
> (gdb)
> 
> Thread 1 received signal SIGSEGV, Segmentation fault.
> 0x000000046ace5dc0 in ?? ()

What do the following GDB commands show, in the crashing build?

  (gdb) disassemble __gmpz_popcount
  (gdb) ptype __gmpz_popcount
  (gdb) ptype __gmpn_popcount



reply via email to

[Prev in Thread] Current Thread [Next in Thread]