public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/31348] Launching the floor() and the ceil() functions under the print command breaks the software Date: Wed, 07 Feb 2024 01:23:39 +0000 [thread overview] Message-ID: <bug-31348-4717-EQFh8BJInf@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-31348-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=31348 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-02-07 CC| |tromey at sourceware dot org Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- I can't reproduce using gdb 13 on x86-64 fedora 38. You didn't specify what system you are on. Could you say? And can you try a newer gdb? The latest is gdb 14. Normally calling libm functions is a bit of a pain because there is no debuginfo. So I get: (gdb) p floor(3.1) '__floor_sse41' has unknown return type; cast the call to its declared return type Adding the cast makes it work (gdb) p (double) floor(3.1) $2 = 3 -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2024-02-07 1:23 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-06 21:23 [Bug gdb/31348] New: " abdallah93.as at gmail dot com 2024-02-07 1:23 ` tromey at sourceware dot org [this message] 2024-02-07 6:34 ` [Bug gdb/31348] " abdallah93.as at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-31348-4717-EQFh8BJInf@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).