Lines Matching refs:gdb
17 # Rebuild the host GDB binaries from sources.
27 This program is used to rebuild one or more NDK gdb client programs from
32 By default, the script rebuilds GDB for you host system [$HOST_TAG],
56 register_var_option "--gdb-version=<version>" GDB_VERSION "Select GDB version(s)."
59 register_var_option "--build-dir=<path>" BUILD_DIR "Build GDB into directory"
74 register_var_option "--arch=<list>" ARCHS "Build GDB client for these CPU architectures."
92 # Sanity check for all GDB versions
94 GDB_SRCDIR=$TOOLCHAIN_SRC_DIR/gdb/gdb-$VERSION
111 # Return the build install directory of a given GDB version
114 # $3: gdb version
117 echo "$BH_BUILD_DIR/install/$1/gdb-$(get_toolchain_name_for_arch $(bh_tag_to_arch $2))-$3"
122 # $3: gdb version
125 echo "gdb-$(get_toolchain_name_for_arch $(bh_tag_to_arch $2))-$3-$1"
133 echo "gdb-$(get_toolchain_name_for_arch $(bh_tag_to_arch $2))-$3/prebuilt/$1"
171 # $3: gdb version
174 local SRCDIR=$TOOLCHAIN_SRC_DIR/gdb/gdb-$3
175 local BUILDDIR=$BH_BUILD_DIR/build-gdb-$1-$2-$3
207 TEXT="$(bh_host_text) gdb-$BH_TARGET_ARCH-$3:"
219 bh_stamps_do host-gdb-$1-$2-$3 build_host_gdb $1 $2 $3
222 # Install host GDB binaries and support files to the NDK install dir.
225 # $3: gdb version
235 dump "$(bh_host_text) gdb-$BH_TARGET_ARCH-$3: Installing"
237 if [ -d "$SRCDIR/share/gdb" ]; then
238 run copy_directory "$SRCDIR/share/gdb" "$DSTDIR/share/gdb"
244 bh_stamps_do install-host-gdb-$1-$2-$3 install_host_gdb $1 $2 $3
247 # Package host GDB binaries into a tarball
250 # $3: gdb version