You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2015/05/12 19:05:53 UTC
mesos git commit: Modifiy gdb scripts error message to check if gdb
is installed.
Repository: mesos
Updated Branches:
refs/heads/master adcb4b08c -> 946f2ec1c
Modifiy gdb scripts error message to check if gdb is installed.
Review: https://reviews.apache.org/r/32834
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/946f2ec1
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/946f2ec1
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/946f2ec1
Branch: refs/heads/master
Commit: 946f2ec1c7a119baa417126ea5421ed4041184e7
Parents: adcb4b0
Author: Timothy Chen <tn...@apache.org>
Authored: Tue May 12 09:49:02 2015 -0700
Committer: Timothy Chen <tn...@gmail.com>
Committed: Tue May 12 10:05:35 2015 -0700
----------------------------------------------------------------------
bin/gdb-mesos-local.sh.in | 7 ++++---
bin/gdb-mesos-master.sh.in | 6 +++---
bin/gdb-mesos-slave.sh.in | 6 +++---
bin/gdb-mesos-tests.sh.in | 7 ++++---
4 files changed, 14 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/946f2ec1/bin/gdb-mesos-local.sh.in
----------------------------------------------------------------------
diff --git a/bin/gdb-mesos-local.sh.in b/bin/gdb-mesos-local.sh.in
index 72cfb68..f818d78 100644
--- a/bin/gdb-mesos-local.sh.in
+++ b/bin/gdb-mesos-local.sh.in
@@ -7,9 +7,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,8 @@ test ! -e ${LIBTOOL} && \
${LIBTOOL} --mode=execute gdb -batch >/dev/null 2>&1
test $? != 0 && \
- echo "${RED}Generated libtool doesn't appear to support gdb${NORMAL}" && \
+ echo "${RED}Generated libtool doesn't appear to support gdb, " \
+ "or gdb is not installed.${NORMAL}" && \
exit 1
. @abs_top_builddir@/bin/mesos-local-flags.sh
http://git-wip-us.apache.org/repos/asf/mesos/blob/946f2ec1/bin/gdb-mesos-master.sh.in
----------------------------------------------------------------------
diff --git a/bin/gdb-mesos-master.sh.in b/bin/gdb-mesos-master.sh.in
index f00af07..9747bd8 100644
--- a/bin/gdb-mesos-master.sh.in
+++ b/bin/gdb-mesos-master.sh.in
@@ -7,9 +7,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,7 @@ test ! -e ${LIBTOOL} && \
${LIBTOOL} --mode=execute gdb -batch >/dev/null 2>&1
test $? != 0 && \
- echo "${RED}Generated libtool doesn't appear to support gdb${NORMAL}" && \
+ echo "${RED}Generated libtool doesn't appear to support gdb. Please also make sure gdb is installed.${NORMAL}" && \
exit 1
. @abs_top_builddir@/bin/mesos-master-flags.sh
http://git-wip-us.apache.org/repos/asf/mesos/blob/946f2ec1/bin/gdb-mesos-slave.sh.in
----------------------------------------------------------------------
diff --git a/bin/gdb-mesos-slave.sh.in b/bin/gdb-mesos-slave.sh.in
index e01325c..dbeec84 100644
--- a/bin/gdb-mesos-slave.sh.in
+++ b/bin/gdb-mesos-slave.sh.in
@@ -7,9 +7,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,7 @@ test ! -e ${LIBTOOL} && \
${LIBTOOL} --mode=execute gdb -batch >/dev/null 2>&1
test $? != 0 && \
- echo "${RED}Generated libtool doesn't appear to support gdb${NORMAL}" && \
+ echo "${RED}Generated libtool doesn't appear to support gdb. Please also make sure gdb is installed.${NORMAL}" && \
exit 1
. @abs_top_builddir@/bin/mesos-slave-flags.sh
http://git-wip-us.apache.org/repos/asf/mesos/blob/946f2ec1/bin/gdb-mesos-tests.sh.in
----------------------------------------------------------------------
diff --git a/bin/gdb-mesos-tests.sh.in b/bin/gdb-mesos-tests.sh.in
index 626fefe..9194a94 100644
--- a/bin/gdb-mesos-tests.sh.in
+++ b/bin/gdb-mesos-tests.sh.in
@@ -7,9 +7,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,7 +32,8 @@ test ! -e ${LIBTOOL} && \
${LIBTOOL} --mode=execute gdb -batch >/dev/null 2>&1
test $? != 0 && \
- echo "${RED}Generated libtool doesn't appear to support gdb${NORMAL}" && \
+ echo "${RED}Generated libtool doesn't appear to support gdb, " \
+ "or gdb is not installed.${NORMAL}" && \
exit 1
. @abs_top_builddir@/bin/mesos-tests-flags.sh