1. 04 Nov, 2014 2 commits
  2. 01 Nov, 2014 1 commit
    • Dmitriy Ivanov's avatar
      Replacement for gdbclient · fd0f1c84
      Dmitriy Ivanov authored
       Differences between this implementation and the old one:
       1. Resolves symbols/gdb based on device information (lunch
          target is irrelevant)
       2. Works with downloaded from build-server symbols
       3. Does not require user to specify exe file - detects it automatically
      
      Bug: 18208329
      
      (cherry picked from commit 9b8e4b37)
      
      Change-Id: I13ae2debb6e2d827b9aa55e93864b5d60c2bd32e
      fd0f1c84
  3. 31 Oct, 2014 1 commit
    • Iliyan Malchev's avatar
      envsetup.sh: add functions to enable and generate core dumps · 248f4d53
      Iliyan Malchev authored
      
      The shell functions in this patch enable crashing processes with the core limit
      set correctly to dump core in directory /cores.  They do so by remounting the
      root partition, which is RAM-backed, and by creating the 0777-chmodded /cores
      under it. They also set the core file pattern in /proc/sys/kernel/core_pattern
      to be /cores/core.%p, such that a core dump will have the crashing process' PID
      appended to it.  You enable core-dump generation once per boot, as follows:
      
      	coredump-setup
      
      If a process does not have its core-size rlimit set (as most do not), you can
      either set it manually by typing "adb shell prlimit <pid> 4 -1 -1", or by
      typing coredump-enable <name>, e.g.
      
      	coredump-enable $(pid mediaserver)
      
      Alternatively, you can cause a running process to dump core by sending it a
      SIGSEGV via the shell function core <name>, e.g.:
      
      	core $(pid mediaserver)
      
      Change-Id: Ib174e7ee95515fb9866fa6bf0d5b5bf23f3ec61b
      Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
      248f4d53
  4. 23 Oct, 2014 1 commit
    • Jeff Hamilton's avatar
      Add a density axis to tapas. · 5069bd6b
      Jeff Hamilton authored
      It allows overriding the density the app
      is built for. Currently only used in the
      GMS core APK's gradle file.
      
      Change-Id: I3606df313a3110208cd8e6acade5f558261c921f
      (cherry picked from commit 7e3d2341570681e566872216796dc4f79c8695ef)
      5069bd6b
  5. 05 Oct, 2014 1 commit
    • Christopher Ferris's avatar
      Call art-on only when debugging ART processes. · 855d27f6
      Christopher Ferris authored
      If you are debugging a native process, SIGSEGV gets ignored by default.
      Make it so that the special ART gdb macro is only called when debugging
      app_processXX.
      
      Bug: 17815162
      Change-Id: Idba86860dfd94e7483f2668beeb76b3e6032fb34
      855d27f6
  6. 16 Sep, 2014 1 commit
    • David 'Digit' Turner's avatar
      envsetup.sh: Fix handling of emulator prebuilts path. · 50d5ccc1
      David 'Digit' Turner authored
      Due to a bad previous merge, everytime 'lunch' is called, a new
      instance of prebuilts/android-emulator/<system>/ will be added
      to your PATH.
      
      This patch fixes the issue by removing the duplicate code that
      should have been removed during the merge. Note that android-emulator
      is still being added once to the PATH by code that appears before
      in the script.
      
      BUG=17524154
      
      Change-Id: Iaa03159b0c81b15ef4c7c420e2f76e0a48aba789
      50d5ccc1
  7. 12 Sep, 2014 1 commit
  8. 11 Sep, 2014 1 commit
  9. 25 Aug, 2014 1 commit
  10. 05 Aug, 2014 1 commit
    • Duane Sand's avatar
      [MIPS] Unite mipsel and mips64el 4.9 gcc toolchains · 3c4fcd84
      Duane Sand authored
      Use 4.9 mips64el toolchain for both 64- and 32-bit builds.
      Tell ld when 32-bit links are required.
      Override 4.9's changed defaults for mips floating point
      register use, to get same assembler rules as 4.8 and earlier.
      
      Also: drop unused  soft-fp build targets, cleanout redundant
      compiler options, and remove extraneous Android.mk file.
      
      (cherry picked from commit 6670e24a)
      
      Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
      3c4fcd84
  11. 26 Jul, 2014 1 commit
  12. 18 Jul, 2014 2 commits
    • Ed Heyl's avatar
      back port cc6be0a3: wrap make. do not merge · 6190a0c3
      Ed Heyl authored
      Bug: 16368823 | Lunch sets $out with extra text
      Change-Id: I2a1d422865a073cd30e86f1e20b4d99a3747cc0b
      6190a0c3
    • Nick Kralevich's avatar
      runhat: use /data/local/tmp · 9948b1e9
      Nick Kralevich authored
      Use /data/local/tmp for runhat reports, instead of the sdcard.
      system_server isn't allowed to handle sdcard file descriptors, since
      the sdcard could be ejected at any time, causing the kernel to kill the
      system process.
      
      This addresses the following SELinux denial:
      
        W/main    ( 9906): type=1400 audit(0.0:16): avc: denied { read write } for path="/mnt/shell/emulated/0/hprof-600" dev="fuse" ino=3077890536 scontext=u:r:system_server:s0 tcontext=u:object_r:fuse:s0 tclass=file
      
      Bug: 16375996
      Change-Id: I4c2053c327526c2f8e6812f4ed911a712ae9a9b8
      9948b1e9
  13. 09 Jul, 2014 1 commit
  14. 01 Jul, 2014 1 commit
  15. 30 Jun, 2014 1 commit
  16. 27 Jun, 2014 2 commits
  17. 25 Jun, 2014 1 commit
  18. 23 Jun, 2014 1 commit
  19. 20 Jun, 2014 1 commit
    • Brigid Smith's avatar
      Updated gdbclient path support. · 7a569a62
      Brigid Smith authored
      Now gdbclient accepts a fully qualified pathname for EXEs, which it will
      not modify, or a relative pathname, to which it will prefix
      "/system/bin".  As an example, each of the following now works.
      
      Fully qualified:
      adb shell gdbserver :5039 /system/bin/ping
      bg
      gdbclient /system/bin/ping :5039 /system/bin/ping
      
      Relative:
      adb shell gdbserver :5039 /system/bin/ping
      bg
      gdbclient ping :5039 /system/bin/ping
      
      Change-Id: I1e4c9fca64c4fbc52c255271cc7f83f35c258509
      7a569a62
  20. 17 Jun, 2014 1 commit
    • Brigid Smith's avatar
      Removed /system/bin prefix from gdbclient. · 0a2712d3
      Brigid Smith authored
      Now a program run through gdbclient will not automatically have
      /system/bin added to its path, so programs not in /system/bin will no
      longer need to be prefixed with ../../.
      
      The following now works as an example:
       adb shell gdbserver :5039 /system/xbin/crasher
       bg
       gdbclient /system/xbin/crasher :5039 /system/xbin/crasher
      
      And the following now no longer works:
       adb shell gdbserver :5039 /system/xbin/crasher
       bg
       gdbclient ../../system/xbin/crasher :5039 /system/xbin/crasher
      
      Change-Id: I299b66d03915aeb1dc300e43a81c9a51f0bd7dec
      0a2712d3
  21. 11 Jun, 2014 1 commit
  22. 30 May, 2014 1 commit
  23. 28 May, 2014 2 commits
  24. 22 May, 2014 3 commits
  25. 20 May, 2014 1 commit
  26. 15 May, 2014 1 commit
  27. 09 May, 2014 1 commit
  28. 05 May, 2014 1 commit
  29. 30 Apr, 2014 1 commit
  30. 28 Apr, 2014 2 commits
    • Jason Parks's avatar
      Use java_home to determine jdk location. · 13b2e19e
      Jason Parks authored
      Specifying the major version rather than hard coding
      to a minor version.
      
      Change-Id: Ieccec98c1b41e3eb7f512bcebc83f6034d634862
      13b2e19e
    • Torne (Richard Coles)'s avatar
      Fix PATH setup for arm64. · f24c356a
      Torne (Richard Coles) authored
      On architectures other than "arm", the combination of
      ANDROID_KERNEL_TOOLCHAIN_PATH being empty, and CODE_REVIEWS being empty,
      leads to adding a :: into the user's PATH, which is highly undesirable.
      
      Neither CODE_REVIEWS nor the mips toolchaindir is ever used, so just
      remove them, and make sure we only include the extra colon when setting
      the kernel toolchain path to a non-empty value.
      
      Change-Id: I2dfa7d3a322b56b6abbc47476082dc6ae4dd6a82
      f24c356a
  31. 16 Apr, 2014 1 commit
    • Doug Zongker's avatar
      fix tapas to work in more shells · 0d8179e8
      Doug Zongker authored
      tapas with multiple app names currently works in bash but discards all
      but the first app in others (specifically, zsh).  Use shell
      constructions that are more universal.
      
      Change-Id: I2f836ddf75b89019ac04ef99647d782ffe79cfee
      0d8179e8
  32. 10 Apr, 2014 1 commit
  33. 07 Apr, 2014 1 commit
    • Jon Boekenoogen's avatar
      ggrep · cbca56fb
      Jon Boekenoogen authored
      Add ggrep to search Gradle files more easily. Similar
      to jgrep, cgrep, mgrep, etc...
      
      Change-Id: I9f0bc74560c1df4c369216eabdb9e825bcb6fe75
      cbca56fb