Add support for the sizeof function in Rust
authorManish Goregaokar <manish@mozilla.com>
Sat, 29 Oct 2016 12:55:58 +0000 (05:55 -0700)
committerManish Goregaokar <manish@mozilla.com>
Thu, 3 Nov 2016 22:45:14 +0000 (15:45 -0700)
commitcdf5a07c75b47481da1e99ee91ee860c2a6bb5f6
tree057640bee6175b7afea74966d85f931736b1522b
parentb96645f1a1e6084ed6a20ddf615bdc4d2487a9c9
Add support for the sizeof function in Rust

2016-10-29  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`

gdb/testsuite/ChangeLog:
    * gdb.rust/simple.exp: Add tests for `sizeof(expr)`
gdb/ChangeLog
gdb/rust-exp.y
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.exp