[Touch-packages] [Bug 1341125] Re: Cannot enter floating point (double) numbers

2014-12-07 Thread Fabrizio Gennari
Sorry, but I can still reproduce it. Precondition is that gdb is built with Python 3 support (and the one distributed with Ubuntu 14.10 is) and the current locale has a comma as decimal separator (I am using it_IT.UTF-8). At startup, gdb executes _initialize_python () (in file python/python.c):

[Touch-packages] [Bug 1341125] Re: Cannot enter floating point (double) numbers

2014-12-07 Thread Fabrizio Gennari
It works correctly if started as LC_NUMERIC=C gdb to force the correct locale -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gdb in Ubuntu. https://bugs.launchpad.net/bugs/1341125 Title: Cannot enter floating point

[Touch-packages] [Bug 1341125] Re: Cannot enter floating point (double) numbers

2014-11-16 Thread Fabrizio Gennari
After further investigation it seems that gdb assumes that floating- point numbers use . as decimal mark, as these lines from c-exp.y show else if (!got_dot *p == '.') got_dot = 1; but, later, the function parse_float() (in parse.c) feeds the string into sscanf num

[Touch-packages] [Bug 1341125] Re: Cannot enter floating point (double) numbers

2014-11-16 Thread Fabrizio Gennari
Filed upstream bug https://sourceware.org/bugzilla/show_bug.cgi?id=17607 ** Bug watch added: Sourceware.org Bugzilla #17607 http://sourceware.org/bugzilla/show_bug.cgi?id=17607 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed