Allow subscripting raw pointers
authorManish Goregaokar <manish@mozilla.com>
Wed, 6 Jul 2016 05:25:10 +0000 (10:55 +0530)
committerManish Goregaokar <manish@mozilla.com>
Wed, 6 Jul 2016 05:26:21 +0000 (10:56 +0530)
commit42d940118a6372d6e85f71a54fed75fdf5c606bd
treec20163aacfb47e8e467b3db13f0a889a65b53406
parent6949d8a719659ee6003aff0c90d03ae81489cab3
Allow subscripting raw pointers

This will be useful for dealing with vectors; regardless of our final solution
for the Index trait.

2016-07-06  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_subscript): Allow subscripting pointers

gdb/testsuite/ChangeLog:
    * simple.rs: Add test for raw pointer subscripting
    * simple.exp: Add test expectations
gdb/ChangeLog
gdb/rust-lang.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.rust/simple.exp
gdb/testsuite/gdb.rust/simple.rs
This page took 0.026504 seconds and 4 git commands to generate.