diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2016-07-04 12:38:33 -0400 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2016-07-04 19:37:36 -0400 |
| commit | 6be62893388ed3ebe0cf3313cd37c2b0ee8eefeb (patch) | |
| tree | 131b1fd32b7cf8124cd2275efae2972dd5ab3ba3 /src | |
| parent | acfa113c12e986a084f4a9346a479f9573f5b54f (diff) | |
| download | rust-6be62893388ed3ebe0cf3313cd37c2b0ee8eefeb.tar.gz rust-6be62893388ed3ebe0cf3313cd37c2b0ee8eefeb.zip | |
Make rust-lldb warn about unsupported versions of LLDB
Diffstat (limited to 'src')
| -rwxr-xr-x | src/etc/rust-lldb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/etc/rust-lldb b/src/etc/rust-lldb index 42902b06aee..f70ab65bce7 100755 --- a/src/etc/rust-lldb +++ b/src/etc/rust-lldb @@ -12,6 +12,17 @@ # Exit if anything fails set -e +LLDB_VERSION=`lldb --version 2>/dev/null | head -1 | cut -d. -f1` + +if [ "$LLDB_VERSION" = "lldb-350" ] +then + echo "***" + echo \ +"WARNING: This version of LLDB has known issues with Rust and cannot \ +display the contents of local variables!" + echo "***" +fi + # Create a tempfile containing the LLDB script we want to execute on startup TMPFILE=`mktemp /tmp/rust-lldb-commands.XXXXXX` |
