tromey at sourceware dot org
2016-12-22 21:52:25 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=20991
Bug ID: 20991
Summary: __int128 type support
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: exp
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried a couple experiments with __int128 and found some gdb issues.
My test code:
__int128 x = 72;
I compiled with -g -c then ran gdb on the .o.
Printing kind of works, but chooses hex by default and zero-pads:
(gdb) p x
$1 = 0x00000000000000000000000000000048
Specifying decimal still zero-pads, which looks very weird:
(gdb) p/d x
$2 = 00000000000000000000000000000072
Addition doesn't work:
(gdb) p x + 5
That operation is not available on integers of more than 8 bytes.
Bug ID: 20991
Summary: __int128 type support
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: exp
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
I tried a couple experiments with __int128 and found some gdb issues.
My test code:
__int128 x = 72;
I compiled with -g -c then ran gdb on the .o.
Printing kind of works, but chooses hex by default and zero-pads:
(gdb) p x
$1 = 0x00000000000000000000000000000048
Specifying decimal still zero-pads, which looks very weird:
(gdb) p/d x
$2 = 00000000000000000000000000000072
Addition doesn't work:
(gdb) p x + 5
That operation is not available on integers of more than 8 bytes.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.