GNU bug report logs - #22657
24.5; "Python Exception <class 'NameError'> name 'long' is not defined" while using gdb registers buffer

Previous Next

Package: emacs;

Reported by: douglas.j.anderson <at> gmail.com

Date: Sun, 14 Feb 2016 07:10:02 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 22657 <at> debbugs.gnu.org (full text, mbox):

From: immerrr again <immerrr <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: douglas.j.anderson <at> gmail.com, 22657 <at> debbugs.gnu.org
Subject: Re: bug#22657: 24.5; "Python Exception <class 'NameError'> name
 'long' is not defined" while using gdb registers buffer
Date: Sun, 14 Feb 2016 21:20:55 +0300
On Sun, Feb 14, 2016 at 9:11 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>>
>> Breakpoint 1, 0x000000000040053a in main ()
>> (gdb) Python Exception <class 'NameError'> name 'long' is not defined:
>> Python Exception <class 'NameError'> name 'long' is not defined:
>> Python Exception <class 'NameError'> name 'long' is not defined:
>> Python Exception <class 'NameError'> name 'long' is not defined:
>>

NameError means something is undefined, so probably gdb is executing
scripts using python3 and some script doesn't account for the fact
that only "long" and "int" types got merged  in Python3 world and
"long" no longer exists.




This bug report was last modified 9 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.