Bug 30191

Summary: allow 128-bit types in properties
Product: gdb Reporter: Tom Tromey <tromey>
Component: symtabAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: HEAD   
Target Milestone: ---   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=28127
https://sourceware.org/bugzilla/show_bug.cgi?id=33123
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 20991    

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.