Commit graph

6918 commits

Author SHA1 Message Date
Christopher Ferris
715752cdbe am a7083e0d: am 8387fc93: Merge "Move to C++ for debuggerd."
* commit 'a7083e0dd29aa5102e25c5a978c072b0a2bf94f4':
  Move to C++ for debuggerd.
2014-01-11 00:26:00 +00:00
Christopher Ferris
a7083e0dd2 am 8387fc93: Merge "Move to C++ for debuggerd."
* commit '8387fc938e044a2bf2840139203af7f9b3884029':
  Move to C++ for debuggerd.
2014-01-10 16:23:39 -08:00
Christopher Ferris
8387fc938e Merge "Move to C++ for debuggerd." 2014-01-11 00:19:56 +00:00
Christopher Ferris
d607495b89 Move to C++ for debuggerd.
This is part 1, only including the bare minimum changes because
our diff tool doesn't easily show differences when a file moves. This
also breaks it into a small chunk in case some other changes break things,
as unlikely as I think that will be.

Change-Id: Ib7a3e7a2cc1ac574d15b65fda23813ebcf5d31af
2014-01-10 16:05:12 -08:00
Christopher Ferris
5f662c3320 am e8e5f8ed: am 261ff50e: Merge "Init the abort_msg_address value."
* commit 'e8e5f8edc1176ededf0eddc8907cf898379a30b9':
  Init the abort_msg_address value.
2014-01-10 23:04:50 +00:00
Christopher Ferris
e8e5f8edc1 am 261ff50e: Merge "Init the abort_msg_address value."
* commit '261ff50e32b2b2a41bd3993c37abb5a9a94e431b':
  Init the abort_msg_address value.
2014-01-10 15:02:42 -08:00
Elliott Hughes
c555476e4a am 1972955e: am 99775d87: Merge "Use the more portable <elf.h> instead of <sys/exec_elf.h>."
* commit '1972955eca052b07b454c4d26012f986c02bb06f':
  Use the more portable <elf.h> instead of <sys/exec_elf.h>.
2014-01-10 23:01:19 +00:00
Elliott Hughes
1972955eca am 99775d87: Merge "Use the more portable <elf.h> instead of <sys/exec_elf.h>."
* commit '99775d8751676e76e00ad72d7778ad9ba28cb454':
  Use the more portable <elf.h> instead of <sys/exec_elf.h>.
2014-01-10 14:59:20 -08:00
Christopher Ferris
261ff50e32 Merge "Init the abort_msg_address value." 2014-01-10 22:56:38 +00:00
Elliott Hughes
99775d8751 Merge "Use the more portable <elf.h> instead of <sys/exec_elf.h>." 2014-01-10 22:54:46 +00:00
Christopher Ferris
1da83c3ecc Init the abort_msg_address value.
When initiating a manual dump, the abort_msg_address parameter is random
garbage. Initialize this value to 0.

Change-Id: I9ba817ee6104f47cfcb2b746bfa6f02a259c86d7
2014-01-10 14:46:03 -08:00
Elliott Hughes
cac5d8c223 Use the more portable <elf.h> instead of <sys/exec_elf.h>.
Bug: 12476126
Change-Id: I08684987e867371d5537dadf1acb3408b420ad0c
2014-01-10 14:40:53 -08:00
Benoit Goby
e3cd216888 am 709543a9: am 08a140e6: Merge "toolbox: Fix date tool with /dev/alarm"
* commit '709543a96836be5f1c10e4051ec6207dec72cd08':
  toolbox: Fix date tool with /dev/alarm
2014-01-10 03:40:04 +00:00
Benoit Goby
709543a968 am 08a140e6: Merge "toolbox: Fix date tool with /dev/alarm"
* commit '08a140e6a3989ece3854014123dac243cc372886':
  toolbox: Fix date tool with /dev/alarm
2014-01-09 19:37:31 -08:00
Benoit Goby
08a140e6a3 Merge "toolbox: Fix date tool with /dev/alarm" 2014-01-10 03:31:56 +00:00
Benoit Goby
d340734cd7 toolbox: Fix date tool with /dev/alarm
Change-Id: I6f8ad2149244c89690d5d5caae8ec55429462210
Signed-off-by: Benoit Goby <benoit@android.com>
2014-01-09 18:59:23 -08:00
Christopher Ferris
ec7894cf5c am c369f199: am 6e257869: Merge "Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD."
* commit 'c369f1993b41dac8ac1a005b3bc9312dfa5ebd63':
  Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.
2014-01-10 00:04:53 +00:00
Christopher Ferris
c369f1993b am 6e257869: Merge "Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD."
* commit '6e25786914d5f8c50040471c8b1a950d2efb32a1':
  Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.
2014-01-09 16:02:21 -08:00
Christopher Ferris
6e25786914 Merge "Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD." 2014-01-09 23:55:52 +00:00
Christopher Ferris
bc12d6329e Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.
Use a bit better name for this. The other name was a bit confusing.

Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac

(cherry picked from commit 242b1a8c7a)

Conflicts:
	libbacktrace/Backtrace.cpp
2014-01-09 15:49:39 -08:00
Christopher Ferris
c49bd655e5 am 5d2ec87b: am b18f93ea: Merge "Move CallStack to libbacktrace."
* commit '5d2ec87bf54dc8a02e6bcbe5848fd378056b8f78':
  Move CallStack to libbacktrace.
2014-01-09 23:48:26 +00:00
Christopher Ferris
5d2ec87bf5 am b18f93ea: Merge "Move CallStack to libbacktrace."
* commit 'b18f93ea5d57b8dff31c6cc706c6b4f32180c0c8':
  Move CallStack to libbacktrace.
2014-01-09 15:46:44 -08:00
Christopher Ferris
b18f93ea5d Merge "Move CallStack to libbacktrace." 2014-01-09 23:41:14 +00:00
Christopher Ferris
038ac694b3 Move CallStack to libbacktrace.
Fix a small bug in the Printer for strings that didn't properly
prepend the prefix.

(cherry picked from commit 9b0e074c6d)

Change-Id: I78bfa3f76864c34f33fb439bf20dfc85616f1077
2014-01-09 15:09:13 -08:00
Colin Cross
3794c96f3e am c121c69b: am b0751101: Merge "HP USB ID"
* commit 'c121c69b856bfa9baea105439fbdac648d154097':
  HP USB ID
2014-01-09 18:01:55 +00:00
Colin Cross
c121c69b85 am b0751101: Merge "HP USB ID"
* commit 'b0751101b090a8732c62ad261fa44e5d6a69a2cc':
  HP USB ID
2014-01-09 09:59:30 -08:00
Colin Cross
ce1340c665 am 5a369629: am cd0f824a: Merge "Fix tracing on user builds"
* commit '5a3696297b2f8d463ba601772df7af5966321d2e':
  Fix tracing on user builds
2014-01-09 17:58:28 +00:00
Colin Cross
5a3696297b am cd0f824a: Merge "Fix tracing on user builds"
* commit 'cd0f824a7cfe91f4db24511830658228487ae919':
  Fix tracing on user builds
2014-01-09 09:56:04 -08:00
Colin Cross
b0751101b0 Merge "HP USB ID" 2014-01-09 17:52:21 +00:00
Colin Cross
cd0f824a7c Merge "Fix tracing on user builds" 2014-01-09 17:50:34 +00:00
Christopher Ferris
5ca7d87fe4 am f1f150d0: am 0c863cb5: Merge "Refactor to share map_info amongst threads."
* commit 'f1f150d0e6e27588d0b15a53e7fac4984bf6ccd8':
  Refactor to share map_info amongst threads.
2014-01-08 23:43:53 +00:00
Christopher Ferris
f1f150d0e6 am 0c863cb5: Merge "Refactor to share map_info amongst threads."
* commit '0c863cb5848795ac87e62dc34d2eab103c830dde':
  Refactor to share map_info amongst threads.
2014-01-08 15:42:04 -08:00
Christopher Ferris
0c863cb584 Merge "Refactor to share map_info amongst threads." 2014-01-08 23:36:51 +00:00
Christopher Ferris
9846497f79 Refactor to share map_info amongst threads.
Allow the use of the same map info to be shared when getting information on
multiple threads from the same pid.

Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
2014-01-08 15:32:28 -08:00
Nick Kralevich
df8d0ffd73 am 72f269f3: am 8830b53b: Merge "Label existing /data/mediadrm files."
* commit '72f269f3050b3e5b2fd6be7d0a6a485114cc6ee7':
  Label existing /data/mediadrm files.
2014-01-08 17:44:32 +00:00
Nick Kralevich
72f269f305 am 8830b53b: Merge "Label existing /data/mediadrm files."
* commit '8830b53b76c05416c021df3eb0cea1dd541bc3ac':
  Label existing /data/mediadrm files.
2014-01-08 09:39:20 -08:00
Nick Kralevich
8830b53b76 Merge "Label existing /data/mediadrm files." 2014-01-08 17:34:52 +00:00
Jon Sawyer
5ff167ca11 HP USB ID
Adds HP's USB id to the know USB Devices

Change-Id: I975126f3ae5e53f25e18dea7cc43c29076bfc965
Signed-off-by: Jon Sawyer <jon@cunninglogic.com>
2014-01-08 08:14:26 -08:00
rpcraig
2dcbb81d89 Label existing /data/mediadrm files.
Use restorecon_recursive to label devices
where the directory and subfiles have
already been built and labeled.

Change-Id: I0dfe1e542fb153ad20adf7b2b1f1c087b4956a12
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
2014-01-07 22:28:04 -05:00
Elliott Hughes
e61495c9b8 am 2ab2e110: am bc836220: Merge "SWAP_FLAG_* constants are now in <sys/swap.h>."
* commit '2ab2e110ce533c4f2095e954f645bdb52081e578':
  SWAP_FLAG_* constants are now in <sys/swap.h>.
2014-01-08 02:44:05 +00:00
Elliott Hughes
2ab2e110ce am bc836220: Merge "SWAP_FLAG_* constants are now in <sys/swap.h>."
* commit 'bc836220f3ae6afd5d6409e0c9dfaaafc1ce4afa':
  SWAP_FLAG_* constants are now in <sys/swap.h>.
2014-01-07 18:42:28 -08:00
Elliott Hughes
bc836220f3 Merge "SWAP_FLAG_* constants are now in <sys/swap.h>." 2014-01-08 02:38:17 +00:00
Elliott Hughes
bfa7d0822b SWAP_FLAG_* constants are now in <sys/swap.h>.
Bug: 9336527
Change-Id: I77e2b05cefbfb4eebda39b4079107833f4160563
2014-01-07 18:20:17 -08:00
Christopher Ferris
492b0ca4b1 am 1e424d8e: am 0afaf7f4: Merge "Fix the ucontext for mips/x86."
* commit '1e424d8ef54c4056416d19b54ef016304c957fe1':
  Fix the ucontext for mips/x86.
2014-01-07 22:50:22 +00:00
Christopher Ferris
1e424d8ef5 am 0afaf7f4: Merge "Fix the ucontext for mips/x86."
* commit '0afaf7f4dde98ff554b69d05ed87ceab4ec611aa':
  Fix the ucontext for mips/x86.
2014-01-07 14:47:55 -08:00
Christopher Ferris
0afaf7f4dd Merge "Fix the ucontext for mips/x86." 2014-01-07 22:43:44 +00:00
Christopher Ferris
ddc4f093f7 Fix the ucontext for mips/x86.
Remove the mips ucontext definition, there is no need for it any more.

Fix the mips/x86 ucontext copy code to copy the entire uc_mcontext data
across.

Fix a potential memory leak too.

Change-Id: I4272022da5281ed881e2d59a3e19e7f33c01aceb
2014-01-07 14:36:03 -08:00
Elliott Hughes
1858c2a2eb am ba5f5fdd: am e21d03ce: Merge "Dwarf backtrace for MIPS"
* commit 'ba5f5fdd774223b3a801626cde014637e0fb04ec':
  Dwarf backtrace for MIPS
2014-01-07 20:12:32 +00:00
Elliott Hughes
ba5f5fdd77 am e21d03ce: Merge "Dwarf backtrace for MIPS"
* commit 'e21d03ce3722582980be2c84ffbc6b6ccf55e258':
  Dwarf backtrace for MIPS
2014-01-07 12:09:55 -08:00
Elliott Hughes
e21d03ce37 Merge "Dwarf backtrace for MIPS" 2014-01-07 20:04:58 +00:00