Skip to content

Commit

Permalink
Remove wrapping if in 300-gdb.sh
Browse files Browse the repository at this point in the history
If GDB is turned off, the script will not be even sourced. Otherwise,
if GDB checkbox is set but none of the cross/native/gdbserver are
selected, debug.sh gives a bogus error message.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Feb 10, 2017
1 parent 973664c commit a41978b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/build/debug/300-gdb.sh
@@ -1,7 +1,5 @@
# Build script for the gdb debug facility

if [ "${CT_GDB_CROSS}" = y -o "${CT_GDB_GDBSERVER}" = "y" -o "${CT_GDB_NATIVE}" = "y" ]; then

do_debug_gdb_get() {
local linaro_version=""
local linaro_series=""
Expand Down Expand Up @@ -340,5 +338,3 @@ do_debug_gdb_build() {
CT_EndStep
fi
}

fi

0 comments on commit a41978b

Please sign in to comment.