Commit Graph

5722 Commits

Author SHA1 Message Date
Elliott Hughes bf8e9342da am 3fa14a53: Merge "Remove x86 debuggerd dependencies on non-uapi headers and corkscrew."
* commit '3fa14a53e70cd55df031646fe3735a6fde37deb8':
  Remove x86 debuggerd dependencies on non-uapi headers and corkscrew.
2013-11-14 21:50:56 -08:00
Elliott Hughes 3fa14a53e7 Merge "Remove x86 debuggerd dependencies on non-uapi headers and corkscrew." 2013-11-15 05:48:27 +00:00
Elliott Hughes 18ddd42092 Remove x86 debuggerd dependencies on non-uapi headers and corkscrew.
Also remove a hack that claims to be "just like ARM", but which was
different from the ARM and MIPS behavior.

Change-Id: I9b16da9a56430998ded27d304ce52c7cc8bfedfc
2013-11-14 17:06:46 -08:00
Elliott Hughes d97a34af49 am 60e7d495: Merge "Fix libnetutils to build with clean uapi headers."
* commit '60e7d49557a4a330285f9bcd76f0dfae9c1855ae':
  Fix libnetutils to build with clean uapi headers.
2013-11-12 14:55:33 -08:00
Elliott Hughes 60e7d49557 Merge "Fix libnetutils to build with clean uapi headers." 2013-11-12 21:56:01 +00:00
Elliott Hughes 2d640c2640 Fix libnetutils to build with clean uapi headers.
(And old ones too.)

Bug: 11559337
Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
2013-11-12 13:05:01 -08:00
Elliott Hughes e8c6d15b18 am 59644a6c: Merge "Fix nandread to build with old or uapi headers."
* commit '59644a6c7182db6caf53dc61f448f2c68ff569be':
  Fix nandread to build with old or uapi headers.
2013-11-11 16:31:57 -08:00
Elliott Hughes 59644a6c71 Merge "Fix nandread to build with old or uapi headers." 2013-11-12 00:29:10 +00:00
Elliott Hughes b05a2e5130 Fix nandread to build with old or uapi headers.
Bug: 11559337
Change-Id: I9795a16649dafdfe3df150170265157170cd5a79
2013-11-11 16:17:49 -08:00
Christopher Ferris d36bfc30ae am e6279294: Merge "Revert "Revert enabling libunwind.""
* commit 'e627929490dfb92ab51ec6feb259d793a4a9f394':
  Revert "Revert enabling libunwind."
2013-11-07 19:14:31 -08:00
Christopher Ferris e627929490 Merge "Revert "Revert enabling libunwind."" 2013-11-08 03:12:04 +00:00
Christopher Ferris e6feaeeda1 Revert "Revert enabling libunwind."
This reverts commit db2309e3d1.

Change-Id: I1626442f029473066ce20921667a406f1a1ea865
2013-11-08 02:59:52 +00:00
Elliott Hughes 4ae94541b8 am 62ea993a: Merge "Revert enabling libunwind."
* commit '62ea993a6997701dba7735ca4a4af6fc6cabac2c':
  Revert enabling libunwind.
2013-11-07 09:01:20 -08:00
Elliott Hughes 62ea993a69 Merge "Revert enabling libunwind." 2013-11-07 16:44:53 +00:00
Elliott Hughes fde641ee24 am 30296f28: Merge "Let external/mksh install directly into /system/bin/sh."
* commit '30296f2801ee692a01c3a4698f50ca01fa238fd1':
  Let external/mksh install directly into /system/bin/sh.
2013-11-07 08:35:18 -08:00
Christopher Ferris 11d04d0441 am 351b0123: Merge "Enable libunwind on arm platforms."
* commit '351b0123084570f8274ad3de44d515754c4b3add':
  Enable libunwind on arm platforms.
2013-11-07 08:35:16 -08:00
Christopher Ferris db2309e3d1 Revert enabling libunwind.
It appears that some branches might not have libunwind set up properly.

Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
2013-11-07 08:12:10 -08:00
Elliott Hughes 30296f2801 Merge "Let external/mksh install directly into /system/bin/sh." 2013-11-07 16:08:12 +00:00
Christopher Ferris 351b012308 Merge "Enable libunwind on arm platforms." 2013-11-07 15:16:11 +00:00
Christopher Ferris 5e860ce246 am d6f9be1b: Merge "Fix include files in backtrace.h."
* commit 'd6f9be1b9a2fc5880b0bcbb0fa47267a14fdc734':
  Fix include files in backtrace.h.
2013-11-06 17:45:08 -08:00
Christopher Ferris d6f9be1b9a Merge "Fix include files in backtrace.h." 2013-11-07 01:42:48 +00:00
Christopher Ferris e57912da92 Fix include files in backtrace.h.
(cherry picked from commit 0893258222)

Change-Id: I37a78a9472b94ae84a84d871bfa9a070ff882699
2013-11-06 17:34:38 -08:00
Christopher Ferris 22f91cb3a1 Enable libunwind on arm platforms.
Bug: 8410085
Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
2013-11-06 15:40:23 -08:00
Christopher Ferris adbb3352e9 am a2d1469c: Merge "Use new defines in test code."
* commit 'a2d1469c773d809261d830d2f3cb3f6a7b6cdade':
  Use new defines in test code.
2013-11-05 12:17:10 -08:00
Christopher Ferris a2d1469c77 Merge "Use new defines in test code." 2013-11-05 20:15:29 +00:00
Christopher Ferris 7f081ec079 Use new defines in test code.
In addition, fix up the warnings and remove the -fpermissive when
compiling.

Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c
2013-11-05 12:13:05 -08:00
Christopher Ferris 1e1bae1b0f am c2945850: Merge "Add some clarifying defines."
* commit 'c2945850e58f4ef50f3e3534ce50306262375d37':
  Add some clarifying defines.
2013-11-05 11:44:33 -08:00
Christopher Ferris c2945850e5 Merge "Add some clarifying defines." 2013-11-05 19:29:36 +00:00
Elliott Hughes 09b3598761 Let external/mksh install directly into /system/bin/sh.
Change-Id: I3ac60af2b5c6bba98c33cb63952eb4d35676d73f
2013-11-05 11:12:56 -08:00
Christopher Ferris cbfc7302fb Add some clarifying defines.
In order to be explicit in the Backtrace::Create() calls, adding a couple
of defines and some comments to describe what they mean.

Change-Id: I6ad08c529791821496a95fa33cea1c95b0a7eada
2013-11-05 11:05:32 -08:00
Elliott Hughes f4b3b73e95 am c8626ba4: Merge "Dispose of ash."
* commit 'c8626ba480c0e2cab4f4d2fe43bd8f741320b404':
  Dispose of ash.
2013-11-05 10:30:02 -08:00
Christopher Ferris d5a7c371d2 am 408b3acf: Merge "Add corkscrew support for finding static symbols."
* commit '408b3acf5e0b0d353cf8b64598f285141d1a0116':
  Add corkscrew support for finding static symbols.
2013-11-05 10:29:46 -08:00
Elliott Hughes c8626ba480 Merge "Dispose of ash." 2013-11-05 18:00:27 +00:00
Elliott Hughes f6e21e06e3 Dispose of ash.
We haven't used ash for several releases. Remove ash and its
companion liblinenoise.

I've left the support for an alternative shell here for now,
but we can move that out to external/mksh later if we want.
(For now this seemed like a somewhat useful signpost to the real shell.)

Change-Id: I634c7969f6cbe375a2bc56fc1077e64888380f3d
2013-11-05 09:44:57 -08:00
Christopher Ferris 408b3acf5e Merge "Add corkscrew support for finding static symbols." 2013-11-04 23:19:53 +00:00
Christopher Ferris 923b536920 Add corkscrew support for finding static symbols.
Change-Id: Ie557a9b0efadece75e1accaa7e214fb559eb19e1
2013-11-04 14:50:36 -08:00
Christopher Ferris b5c24e096d am 8c58086c: Merge "More libbacktrace fixes."
* commit '8c58086c54a23d33e915852a1355a171b09679cc':
  More libbacktrace fixes.
2013-10-30 14:29:51 -07:00
Christopher Ferris 8c58086c54 Merge "More libbacktrace fixes." 2013-10-30 21:28:22 +00:00
Christopher Ferris 8ed46278be More libbacktrace fixes.
Included in minor fix ups is the addition of a warning macro to replace
all of the ALOGW calls.

Fix a race where multiple threads could be attempting to unwind the threads
of the current process at the same time.

Bug: 8410085

Change-Id: I02a65dc778dde690e5f95fc8ff069a32d0832fd1
2013-10-30 14:14:54 -07:00
Elliott Hughes f17f55914e am 36d44740: Merge "Fix a bunch of small system/core bugs."
* commit '36d44740dd045403ae615b8dd6dac8b9a4e9f5bf':
  Fix a bunch of small system/core bugs.
2013-10-29 14:29:26 -07:00
Elliott Hughes 36d44740dd Merge "Fix a bunch of small system/core bugs." 2013-10-29 21:26:55 +00:00
Elliott Hughes 14e28d39f7 Fix a bunch of small system/core bugs.
Missing frees in:
  adb/file_sync_client.c
  fastboot/fastboot.c
  libsparse/output_file.c

Missing closedirs in:
  adb/file_sync_service.c
  cpio/mkbootfs.c
  libcutils/dir_hash.c

Potential buffer overrun in:
  gpttool/gpttool.c

Incorrect NULL check in:
  libsparse/backed_block.c

Bug: https://code.google.com/p/android/issues/detail?id=61564
Change-Id: If97838a9e73a77aef7f416c31c237ce1fca4ce21
2013-10-29 14:12:46 -07:00
Christopher Ferris 0f26808e2c am 98f87d92: Merge "Rewrite libbacktrace using C++."
* commit '98f87d92d89079f274374409efcf57ca52b13c1f':
  Rewrite libbacktrace using C++.
2013-10-29 13:25:06 -07:00
Christopher Ferris 98f87d92d8 Merge "Rewrite libbacktrace using C++." 2013-10-29 20:21:58 +00:00
Christopher Ferris 17e91d44ed Rewrite libbacktrace using C++.
The old code was essentially trying to be C++ in C and was awkward. This
change makes it all objects with a thin layer that C code can use.

There is a C++ backtrace object that is not very useful, this code will
replace it.

This change also includes moving the backtrace test to a gtest, and adding
coverage of all major functionality.

Bug: 8410085
Change-Id: Iae0f1b09b3dd60395f71ed66010c1ea5cdd37841
2013-10-28 17:55:25 -07:00
Brian Carlstrom 5dadac50c4 am 87af04a4: Merge "Improve some adb error logging"
* commit '87af04a42ec2d959cced0f1c01888f9cf3b2b9c5':
  Improve some adb error logging
2013-10-28 14:27:33 -07:00
Brian Carlstrom 87af04a42e Merge "Improve some adb error logging" 2013-10-28 21:24:51 +00:00
Brian Carlstrom 93c91fad77 Improve some adb error logging
Bug: 11290643
Change-Id: Ibad4e9f0b69421cd6017b70a52237e7f27aab848
2013-10-27 16:56:55 -07:00
Elliott Hughes c3d04aab96 am 4d87e743: Merge "Eliminate text relocations in x86 optimized memset versions"
* commit '4d87e743083c201edd0b565dd7d42e70945a6265':
  Eliminate text relocations in x86 optimized memset versions
2013-10-24 12:33:40 -07:00
Elliott Hughes 4d87e74308 Merge "Eliminate text relocations in x86 optimized memset versions" 2013-10-24 18:17:21 +00:00