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 rust: Fix null deref when casting (PR 23124) 2018-04-30 23:02:01 -06:00
generics.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
generics.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
methods.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
methods.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
modules.exp Fix qualified name lookup for Rust 2018-01-19 15:30:28 -07:00
modules.rs Fix qualified name lookup for Rust 2018-01-19 15:30:28 -07:00
simple.exp Add inclusive range support for Rust 2018-04-27 13:20:13 -06:00
simple.rs Fix crash in quirk_rust_enum 2018-04-17 13:37:44 -06:00
traits.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
traits.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
unsized.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
unsized.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
watch.exp Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
watch.rs Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00