public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
@ 2022-04-10 16:55 vries at gcc dot gnu.org
  2022-04-12 16:42 ` [Bug ada/29041] " tromey at sourceware dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-10 16:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

            Bug ID: 29041
           Summary: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print
                    16llf#7FFFF7FF4054A56FA5B99019A5C8#
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When running with target board unix/-m32, I run into:
...
(gdb) PASS: gdb.ada/float-bits.exp: print val_double after assignment
print 16llf#7FFFF7FF4054A56FA5B99019A5C8#^M
Cannot export value 2596145952482202326224873165792712 as 96-bits unsigned
integer (must be between 0 and 79228162514264337593543950335)^M
(gdb) FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/29041] [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
  2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
@ 2022-04-12 16:42 ` tromey at sourceware dot org
  2022-04-13  8:54 ` vries at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2022-04-12 16:42 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org
          Component|gdb                         |ada

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/29041] [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
  2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
  2022-04-12 16:42 ` [Bug ada/29041] " tromey at sourceware dot org
@ 2022-04-13  8:54 ` vries at gcc dot gnu.org
  2022-04-14 12:46 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-13  8:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|HEAD                        |12.1

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Hmm, this also fails on gdb-12-branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/29041] [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
  2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
  2022-04-12 16:42 ` [Bug ada/29041] " tromey at sourceware dot org
  2022-04-13  8:54 ` vries at gcc dot gnu.org
@ 2022-04-14 12:46 ` vries at gcc dot gnu.org
  2022-04-14 13:16 ` vries at gcc dot gnu.org
  2022-04-15 16:02 ` [Bug testsuite/29041] " vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-14 12:46 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
OK, I see now that the size of ada type long_long_float is based on the
architecture long double format:
...
    add (arch_float_type (gdbarch, gdbarch_long_double_bit (gdbarch),
                          "long_long_float",
                          gdbarch_long_double_format (gdbarch)));
...

So we could just do:
...
(gdb) ptype long_long_float
type = <12-byte float>
...
and declare the print 16llf unsupported.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug ada/29041] [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
  2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-04-14 12:46 ` vries at gcc dot gnu.org
@ 2022-04-14 13:16 ` vries at gcc dot gnu.org
  2022-04-15 16:02 ` [Bug testsuite/29041] " vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-14 13:16 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
https://sourceware.org/bugzilla/show_bug.cgi?id=29041

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/29041] [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8#
  2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-04-14 13:16 ` vries at gcc dot gnu.org
@ 2022-04-15 16:02 ` vries at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2022-04-15 16:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29041

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
   Target Milestone|---                         |12.1
          Component|ada                         |testsuite

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed on trunk (
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3b9809bc62cd0ff2aff2232b68adc6bb82eee61b
) and gdb-12-branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-15 16:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-10 16:55 [Bug gdb/29041] New: [gdb/ada][m32] FAIL: gdb.ada/float-bits.exp: print 16llf#7FFFF7FF4054A56FA5B99019A5C8# vries at gcc dot gnu.org
2022-04-12 16:42 ` [Bug ada/29041] " tromey at sourceware dot org
2022-04-13  8:54 ` vries at gcc dot gnu.org
2022-04-14 12:46 ` vries at gcc dot gnu.org
2022-04-14 13:16 ` vries at gcc dot gnu.org
2022-04-15 16:02 ` [Bug testsuite/29041] " vries at gcc dot gnu.org

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).