Bug 30190 - Allow 128-bit arithemetic on value
Summary: Allow 128-bit arithemetic on value
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: exp (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: 14.1
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks: 20991
  Show dependency treegraph
 
Reported: 2023-03-01 21:59 UTC by Tom Tromey
Modified: 2023-03-27 14:26 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2023-03-01 21:59:06 UTC
struct value can easily hold 128-bit ints, but currently
no arithmetic can be done using these types.
Comment 1 Tom Tromey 2023-03-01 22:26:58 UTC
I have a series that fixes this one.
Comment 3 Sourceware Commits 2023-03-27 14:26:22 UTC
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=303a881f8789733248f27af0c872d356a34be009

commit 303a881f8789733248f27af0c872d356a34be009
Author: Tom Tromey <tromey@adacore.com>
Date:   Wed Mar 1 15:13:21 2023 -0700

    Use gdb_gmp for scalar arithmetic
    
    This changes gdb to use scalar arithmetic for expression evaluation.
    
    I suspect this patch is not truly complete, as there may be code paths
    that still don't correctly handle 128-bit integers.  However, many
    things do work now.
    
    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30190
Comment 4 Tom Tromey 2023-03-27 14:26:47 UTC
Fixed.