Bug 30191 - allow 128-bit types in properties
Summary: allow 128-bit types in properties
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: 20991
  Show dependency treegraph
 
Reported: 2023-03-01 22:01 UTC by Tom Tromey
Modified: 2023-05-28 21:16 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2023-03-01 22:01:03 UTC
struct dynamic_prop is currently limited to a LONGEST, but
some compilers (GNAT in particular) will emit 128-bit types
for ranges in some cases.
This could be supported once more of the core is ready
for 128-bit integers.  For example the data could be
stored as a pointer-to-ULEB or pointer-to-16-bytes,
then manipulated using some wide-integer class.
Comment 1 Tom Tromey 2023-03-03 20:22:20 UTC
This probably should also handle the bias of a range type.
Comment 2 Tom Tromey 2023-05-28 21:16:06 UTC
This came up here:
https://github.com/rust-lang/rust/pull/102717
... in the context of rust C-like enums with 128 bit values.