summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-31Import gdb-7.11.Josh Gao
Change-Id: Id0a4b1d9275bb8988c45ef5b39ceef43ddc069ac
2016-03-01Merge "gdb: disable python when python is not available."Yunlian Jiang
2016-02-26gdb: disable python when python is not available.Yunlian Jiang
The patch checkes whether the python executable is available at runtime. If it is not available, it disables python at run_time. This backports a local patch from ChromeOS. The bug entry for the ChromeOS is at crbug.com/248605 This CL also check some pre defines to include unistd.h and call the function fork(). BUG: crbug.com/248605
2016-02-25use snprintf instead of strlcpy for portablitlyYunlian Jiang
This uses snprintf instead of strlcpy to make it build on ChromeOS.
2016-02-16Merge "Revert "gdb: disable python when python is not available.""Dan Albert
2016-02-16Revert "gdb: disable python when python is not available."Dan Albert
This has left the build broken since it was submitted. This reverts commit 31fd543e7333d4a2589e4f57be22f021159130f1. Change-Id: I220db7ba8418d7063b958f84a34e2accd0e3e278
2016-02-11Merge "gdb: disable python when python is not available."Yunlian Jiang
2016-02-03gdb: disable python when python is not available.Yunlian Jiang
The patch checkes whether the python executable is available at runtime. If it is not available, it disables python at run_time. This backports a local patch from ChromeOS. The bug entry for the ChromeOS is at crbug.com/248605 BUG: crbug.com/248605
2016-02-01Add host tag to Python install path.Josh Gao
Bug: http://b/26875911 Change-Id: I8962c551c90b101460fc217ccb5dbfed78c7ceb2
2016-01-12Install GDB to OUT_DIR, not DIST_DIR.Dan Albert
This is repackaged as host-tools for the released module. Change-Id: I4d28d7063085fbd01de1903c06555bb7b437e2b4
2015-11-17Fix GDB host tools install location.Dan Albert
Forgot to submit this with the ndk/ half of the patch :( Bug: Bug: http://b/25454836 Change-Id: I3329ee82e83864a3151f9a3387ec75979735757c
2015-10-13Don't use readlink to find gdb's location.Josh Gao
readlink isn't in POSIX, and the one available in on OS X does not support the -f option. Use $(cd $(dirname $0) && pwd) instead. Bug: http://b/24776250 Change-Id: Ia3b42b4cecd0b39d4dd5af15b2afe9bb1da6893a
2015-09-18Assume that Python is in the same dir as gdb.Josh Gao
Needed to share gdb with platform, since gdb will be in prebuilts/gdb/linux-x86, not prebuilts/linux-x86. Bug: http://b/21920612 Change-Id: I94577cc4895f27316a0a26cb8e47d30a7c7c7b4b
2015-09-17Fallback to open if multifs_open fails.Josh Gao
gdbserver won't be in the same mount namespace as the target application, causing remote shared library transfer to fail. Change-Id: I59382657b0c12cbbba6b8eef271e6f428a456aae
2015-09-16Fix gdbserver process interruption.Josh Gao
External bug: https://sourceware.org/bugzilla/show_bug.cgi?id=18945 Change-Id: I01e2e01226f13123e4494f887b3756cebed02e62
2015-09-12Revert "Don't run a.out if we might be cross compiling."Dan Albert
This somehow broke all of the non-x86 Linux builds. This reverts commit 0b654d69a7a3e098f18a115db9df1611c550ad26. Bug: http://b/24016357 Change-Id: I784afb30bec1ffa97f9c6084119e58f551824c90
2015-09-11Don't run a.out if we might be cross compiling.Dan Albert
$cross_compiling might be set to "maybe" when we're building for x86 Android. There seems to either be a race in fgets or an incompatibility of running bionic on the host (which we depend on for the bionic host tests) that causes this absolutely trivial program to hang. As a work around, just admit that we actually are cross compiling. Bug: http://b/24016357 Change-Id: I054a19c9516a6ed972d47aa80000c357b64da804
2015-09-04Forward arguments to gdb in the gdb-stub script.Josh Gao
Change-Id: I7a6e7395d8feef438146057ac987f3b815ef110a
2015-09-02Convert system to tag before passing it to build-gdb.sh.Josh Gao
Change-Id: I0fccd7cb180ade65654819010f68c021ba8f5a26
2015-09-01Actually use --host argument passed into gdb/build.py.Josh Gao
The windows and windows64 targets were getting packaged linux binaries, darwin got lucky because they were building on darwin. Change-Id: I0d88ce4ed7b05b7d2ad7d83eb0d47cdfd4973512
2015-09-01Remove gdb-7.9.1.Josh Gao
Change-Id: I599f2bc1c72948d76c3c262f6202b94a6c4aed4b
2015-09-01Cherry-pick 7.9.1 changes to 7.10.Josh Gao
Cherry-picked commits: e93ebb3 Add support for DT_MIPS_RLD_MAP2 tag to gdb 7.9.1 b28ecf8 Add support for MIPS R6 and MSA to gdb 7.9.1 b711aa8 Add Unix domain socket support to gdbserver 7.9.1 Change-Id: I4dd0969c1a6f847fd5b11b1206c7bd6ef1f30137
2015-09-01Import gdb-7.10.Josh Gao
Change-Id: Ib1ce18460d486f07b5e8dba3d416aaf194e4753a
2015-09-01Use $DEFAULT_{GDB,PYTHON}_VERSION instead of hardcoded values.Josh Gao
Change-Id: I85a80d3adf029888f04e05042709151f37f49968
2015-09-01Add the host platform to the gdb package name.Josh Gao
Change-Id: I83867b86861949f8d041de07f1a4b43a74798124
2015-08-31Hopefully fix darwin build.Josh Gao
It seems that the gdb binary doesn't get built if --build or --host are specified when building for multiarch on darwin. Since we're building for darwin on darwin, we should be able to just remove them. Change-Id: I75ee7eb9af7073b86958f2edec7fbaca29e7e61d
2015-08-31Build gdb for multiarch instead of for each individual target.Josh Gao
Change-Id: Ide2b83d755e65f3b2e92014ff2d99ce78a106503
2015-08-28Refactor to use build_support.Dan Albert
Change-Id: Ic0a7920fad16b879f89ae8b5abd736922689a791
2015-08-28Disable building the gdb sim.Josh Gao
Fails on darwin, but we don't want this anyway. https://sourceware.org/bugzilla/show_bug.cgi?id=16827 Change-Id: I9b883180b409b625dbd791f306a04d626aac4bc5
2015-08-28Make the gdb stub actually run gdb.Josh Gao
Oops. Change-Id: If81cd509ea46399bf2eb2be803a825c14a637595
2015-08-28Merge "Generate a stub script for gdb on non-windows."Josh Gao
2015-08-28Merge "Move gdb install directory to prebuilt/<platform>."Josh Gao
2015-08-28Generate a stub script for gdb on non-windows.Josh Gao
Change-Id: I473c8e02033963aa850d0e48a6da205b0e283580
2015-08-28Move gdb install directory to prebuilt/<platform>.Josh Gao
Change-Id: I43f190b39622f0bd650328c1970d3cf988716686
2015-08-28Use module docstring for argparse help.Dan Albert
Change-Id: I3dffb7be149d10574e6e25c4923d64f7cf67be8b
2015-08-28Copy python-config.sh on a failed build.Josh Gao
Change-Id: I73526e8bbbdebd6c557591cbdeaec561959ba5dc
2015-08-28Merge "Stop installing GDB/Python to source directories."Dan Albert
2015-08-28Compile gdb without mpc/mpfr/gmp/cloog/isl.Josh Gao
They don't show up in gdb source, anyway. Change-Id: I92b960f3b10ffe792041d0539a5aa97d6d8e8ec9
2015-08-28Stop installing GDB/Python to source directories.Dan Albert
Change-Id: I42eb8312bad22bd8007920f9dd805255a17b8c49
2015-08-28Copy all config.logs from the failed build.Dan Albert
This appears to be the one that is failing, not GDB itself. Change-Id: If6d6d58576a22cac26c0655c12a1d2d3abb1a01e
2015-08-28Merge "Dump gdb config.log to outputs directory upon failure."Josh Gao
2015-08-28Dump gdb config.log to outputs directory upon failure.Josh Gao
Change-Id: Ie3c6e080bf8541fd745a40afb37fe2af8fd07f67
2015-08-28Merge "Update to new buildhost API."Dan Albert
2015-08-27Update to new buildhost API.Dan Albert
Change-Id: I9cdee264bfa64bf52b0b377232289696ebc9d24b
2015-08-27Make GDB build verbose.Dan Albert
Also make the build command directly pastable. Change-Id: I43760038a2f62a64027662160e4f1ac598feccb2
2015-08-27Fix up build-gdb.sh for its new location, add build.py.Josh Gao
Change-Id: Ifc1760507db04e354adf3599edf07020bef16518
2015-08-27Move build-host-gdb.sh from ndk/build/tools.Josh Gao
Change-Id: I3cb55313c3e77920d31798eb724294cda77922b4
2015-07-09Merge "Add support for DT_MIPS_RLD_MAP2 tag to gdb 7.9.1"Elliott Hughes
2015-07-09Merge "Add support for MIPS R6 and MSA to gdb 7.9.1"Elliott Hughes
2015-07-07Add support for DT_MIPS_RLD_MAP2 tag to gdb 7.9.1Nikola Veljkovic
Cherry-picked from 7.7 commits (same repo): 80dbdaa Add support for DT_MIPS_RLD_MAP2 tag. d54e4b7 Misc gdb-7.7 fixes for Android Change-Id: I5634755f5a22a74310e510e96c070bf64b913ddb