diff options
author | Felix Lee <flee@cygnus> | 1998-06-05 04:54:03 +0000 |
---|---|---|
committer | Felix Lee <flee@cygnus> | 1998-06-05 04:54:03 +0000 |
commit | b304ac184b051eb855fdbea3265005a72c0b2ad9 (patch) | |
tree | 4bc6c1a4185ea79378b0ac3cddbb29ed7d9e9d04 /gdb/testsuite/gdb.chill | |
parent | cf4f99867d0b4670cc40ad8dd738ad2e6d25b4a5 (diff) | |
download | fsf-binutils-gdb-b304ac184b051eb855fdbea3265005a72c0b2ad9.zip fsf-binutils-gdb-b304ac184b051eb855fdbea3265005a72c0b2ad9.tar.gz fsf-binutils-gdb-b304ac184b051eb855fdbea3265005a72c0b2ad9.tar.bz2 |
* chexp.exp: fix tests that assume >16-bit ints.
Diffstat (limited to 'gdb/testsuite/gdb.chill')
-rw-r--r-- | gdb/testsuite/gdb.chill/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.chill/chexp.exp | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.chill/ChangeLog b/gdb/testsuite/gdb.chill/ChangeLog index f63076b..9db44ea 100644 --- a/gdb/testsuite/gdb.chill/ChangeLog +++ b/gdb/testsuite/gdb.chill/ChangeLog @@ -1,3 +1,7 @@ +Thu May 21 02:45:18 1998 Felix Lee <flee@zog.cygnus.com> + + * chexp.exp: fix tests that assume >16-bit ints. + Wed Sep 10 15:01:55 1997 Bob Manson <manson@charmed.cygnus.com> * *.exp: The end-all be-all of quoting fixes. Ha. diff --git a/gdb/testsuite/gdb.chill/chexp.exp b/gdb/testsuite/gdb.chill/chexp.exp index d78d459..bed4aba 100644 --- a/gdb/testsuite/gdb.chill/chexp.exp +++ b/gdb/testsuite/gdb.chill/chexp.exp @@ -66,7 +66,7 @@ proc test_integer_literals_accepted {} { gdb_test "p d'123" " = 123" gdb_test "p -D'123" " = -123" gdb_test "p -d'123" " = -123" - gdb_test "p 123_456" " = 123456" + gdb_test "p 12_345" " = 12345" gdb_test "p __1_2_3__" " = 123" gdb_test "p/d 123" " = D'123" @@ -107,10 +107,12 @@ proc test_integer_literals_accepted {} { gdb_test "p H'_1_2_3_" " = 291" gdb_test "p h'_1_2_3_" " = 291" gdb_test "p -h'_1_2_3_" " = -291" - gdb_test "p H'ABCDEF" " = 11259375" - gdb_test "p H'abcdef" " = 11259375" - gdb_test "p H'AbCdEf" " = 11259375" - gdb_test "p H'_A_b_C_d_E_f_" " = 11259375" + gdb_test "p H'ABC" " = 2748" + gdb_test "p H'abc" " = 2748" + gdb_test "p H'AbC" " = 2748" + gdb_test "p H'_A_b_C_" " = 2748" + gdb_test "p H'_D_e_F_" " = 3567" + gdb_test "p H'_d_E_f_" " = 3567" gdb_test "p/x H'123" " = H'123" } |