This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20449] New: Test printing/parsing floating points with locale uses comma as decimal separator
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 08 Aug 2016 23:34:07 +0000
- Subject: [Bug gdb/20449] New: Test printing/parsing floating points with locale uses comma as decimal separator
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=20449
Bug ID: 20449
Summary: Test printing/parsing floating points with locale uses
comma as decimal separator
Product: gdb
Version: 7.12
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: palves at redhat dot com
Target Milestone: ---
We should have a test that exercises the fix for Bug #17607 / Bug #20037.
Before those were fixed, with LC_NUMERIC set to a locale that uses comma as
decimal separator (e.g., it_IT.UTF-8), a gdb configured with Python3 support
would fail to parse floats:
(gdb) p 1.0
Invalid number "1.0".
The testsuite includes many tests that use floating point numbers, but I think
that none catches this because we force the locate to C in
testsuite/lib/gdb.exp.
--
You are receiving this mail because:
You are on the CC list for the bug.