aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-27 14:26:53 -0600
committerTom Tromey <tromey@adacore.com>2023-04-17 10:43:06 -0600
commite49831ba4340688d7685a52099db09d12177945b (patch)
tree794a5df54bb143718f1fecc720e11302b3e37bc5 /gdb/testsuite
parent8a2ced4fe401a36db6a9d4de5813951009a62a9e (diff)
downloadgdb-e49831ba4340688d7685a52099db09d12177945b.zip
gdb-e49831ba4340688d7685a52099db09d12177945b.tar.gz
gdb-e49831ba4340688d7685a52099db09d12177945b.tar.bz2
Add 128-bit integer support to the Ada parser
This adds support for 128-bit integers to the Ada parser. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30188
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.ada/verylong.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/verylong.exp b/gdb/testsuite/gdb.ada/verylong.exp
index 498ab6d..d1fa968 100644
--- a/gdb/testsuite/gdb.ada/verylong.exp
+++ b/gdb/testsuite/gdb.ada/verylong.exp
@@ -36,3 +36,8 @@ gdb_test "print x - x" " = 0"
gdb_test "print x - 99 + 1" " = 170141183460469231731687303715884105629"
gdb_test "print -x" " = -170141183460469231731687303715884105727"
gdb_test "print +x" " = 170141183460469231731687303715884105727"
+
+gdb_test "print 170141183460469231731687303715884105727" \
+ " = 170141183460469231731687303715884105727"
+gdb_test "print x = 170141183460469231731687303715884105727" \
+ " = true"