binutils-gdb/gdb/testsuite/gdb.rust
Dan Robertson 1632f8baf0 rust: Fix null deref when casting (PR 23124)
Fix a null dereference when casting a value to a unit type.

ChangeLog
2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>

	PR rust/23124
	* gdb/rust-exp.y (convert_params_to_types): Ensure that the params
	pointer is not null before dereferencing it.

testsuite/ChangeLog
2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>

	PR rust/23124
	* gdb.rust/expr.exp: Test that the unit type is correctly parsed
	when casting.
2018-04-30 23:02:01 -06:00
..
expr.exp
generics.exp
generics.rs
methods.exp
methods.rs
modules.exp
modules.rs
simple.exp
simple.rs
traits.exp
traits.rs
unsized.exp
unsized.rs
watch.exp
watch.rs