aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-05-18 17:22:30 -0600
committerTom Tromey <tom@tromey.com>2016-06-10 09:57:09 -0600
commit347dc1025db1c0acf616ab6520c3f36448f25e8b (patch)
treeab361773f82b20a3171e5fb7fc05266f11b1c90a /gdb/ChangeLog
parentedef7b8cf3d811ce8630591dbed1257ba16164ff (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c7c74fb..1a4a002 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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>
+
* Makefile.in (COMMON_OBS): Remove rust-exp.o.
(YYFILES): Add rust-exp.c.
(YYOBJ): Add rust-exp.o.