From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53844 invoked by alias); 29 Apr 2015 03:01:54 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 53812 invoked by uid 48); 29 Apr 2015 03:01:53 -0000 From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/18352] New: can't convert integer Value to float Date: Wed, 29 Apr 2015 03:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00175.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18352 Bug ID: 18352 Summary: can't convert integer Value to float Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- python print int(gdb.Value(0)) works, and python print float(gdb.Value(0.0)) works, but python print float(gdb.Value(0)) does not work. It seems like it should. -- You are receiving this mail because: You are on the CC list for the bug.