diff options
author | Tom Tromey <tom@tromey.com> | 2016-05-18 17:22:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2016-06-10 09:57:09 -0600 |
commit | 347dc1025db1c0acf616ab6520c3f36448f25e8b (patch) | |
tree | ab361773f82b20a3171e5fb7fc05266f11b1c90a /gdb/testsuite/ChangeLog | |
parent | edef7b8cf3d811ce8630591dbed1257ba16164ff (diff) | |
download | gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.zip gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.tar.gz gdb-347dc1025db1c0acf616ab6520c3f36448f25e8b.tar.bz2 |
Fix PR rust/20110
PR rust/20110 concerns the type of an integer constant that is too
large for "i32", the default integer type. This patch changes the
type of such a constant to i64. This is important because such values
are often addresses, so truncating them by default is unfriendly.
Built and regtested on x86-64 Fedora 23.
2016-06-10 Tom Tromey <tom@tromey.com>
PR rust/20110:
* rust-exp.y (lex_number): Don't truncate large numbers to i32.
2016-06-10 Tom Tromey <tom@tromey.com>
PR rust/20110:
* gdb.rust/expr.exp: Add test for integer constant larger than
i32.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eda7b99..7d2b144 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-06-10 Tom Tromey <tom@tromey.com> + + PR rust/20110: + * gdb.rust/expr.exp: Add test for integer constant larger than + i32. + 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com> * gdb.fortran/nested-funcs.exp: New. |