aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-10-02 13:47:15 -0600
committerTom Tromey <tom@tromey.com>2017-10-02 14:06:48 -0600
commitb3e3859bc577db5b79bb3d39048fd46c0a0420ef (patch)
treedd763223288447e29296b120520b709e4020dded /compile
parent01af5e0d09ac9c621e7b280f44a2c7ef55784493 (diff)
downloadgdb-b3e3859bc577db5b79bb3d39048fd46c0a0420ef.zip
gdb-b3e3859bc577db5b79bb3d39048fd46c0a0420ef.tar.gz
gdb-b3e3859bc577db5b79bb3d39048fd46c0a0420ef.tar.bz2
Fix ptype of Rust slices
Something like "ptype &x[..]" (where "x" was a slice) would crash gdb. rust_subscript wasn't handling slicing in the EVAL_AVOID_SIDE_EFFECTS case. 2017-10-02 Tom Tromey <tom@tromey.com> * rust-lang.c (rust_subscript): Handle slices in EVAL_AVOID_SIDE_EFFECTS case. 2017-10-02 Tom Tromey <tom@tromey.com> * gdb.rust/simple.exp: Test ptype of a slice.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions