diff options
author | Tom Tromey <tromey@adacore.com> | 2023-03-27 13:05:03 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-04-17 10:43:06 -0600 |
commit | d760ae22b964995234e14e090ba179311382b90d (patch) | |
tree | 48bbb6beade2bd14470bc6631e988c2729608637 /gdb/rust-lang.c | |
parent | 5309ce2f04d8b76ff8a8005f6115cdf544d83bf7 (diff) | |
download | gdb-d760ae22b964995234e14e090ba179311382b90d.zip gdb-d760ae22b964995234e14e090ba179311382b90d.tar.gz gdb-d760ae22b964995234e14e090ba179311382b90d.tar.bz2 |
Add 128-bit integer support to the Rust parser
This adds support for 128-bit integers to the Rust parser.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21185
Diffstat (limited to 'gdb/rust-lang.c')
-rw-r--r-- | gdb/rust-lang.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c index cb128f1..3ef8fca 100644 --- a/gdb/rust-lang.c +++ b/gdb/rust-lang.c @@ -1607,6 +1607,8 @@ rust_language::language_arch_info (struct gdbarch *gdbarch, add (init_integer_type (alloc, 32, 1, "u32")); add (init_integer_type (alloc, 64, 0, "i64")); add (init_integer_type (alloc, 64, 1, "u64")); + add (init_integer_type (alloc, 128, 0, "i128")); + add (init_integer_type (alloc, 128, 1, "u128")); unsigned int length = 8 * builtin->builtin_data_ptr->length (); add (init_integer_type (alloc, length, 0, "isize")); |