Elliott Hughes
c3c8619579
Make 'stack' able to find toolchains regardless of lunch.
...
This is needed by the internal stack decoding website, which
will be pulling symbols from the build servers anyway (so doesn't
need to be correctly lunched).
Bug: 16734486
Change-Id: I9190065148c0d4bb4eacec28bcc062fa95798917
2014-08-29 13:49:57 -07:00
Brigid Smith
15142f793a
Stack tool 32/64 bit compatibility fixes.
...
Left the default symbol.ARCH value intact and changed stack_core instead
so that it will assume the ABI is arm until it sees an ABI line. This
allows compatibility for people who are used to pasting portions of a
tombstone instead of the whole thing (assuming said tombstone is arm)
while additionally supporting other architectures if a whole tombstone
is pasted in.
Change-Id: Ib8b5754920d2e2aa5017c29daeca59abcf4b547d
2014-07-16 15:56:46 -07:00
Elliott Hughes
be4de46d09
Add the arm64 pstate register to the stack tool.
...
Also take into account the fact that the arm pcsr register is the
fifth entry on its line, so the stack tool previously stripped that
off.
Change-Id: I1dd2d11060e572b4d8ffd8710cf1df4d970671e4
2014-07-14 17:16:30 -07:00
Elliott Hughes
c3166bec1c
Fix symbol.py's toolchain detection for x86.
...
x86 uses the x86_64 toolchain. There's no separate 32-bit toolchain.
I started to refactor so we could add FindToolchain tests, but that doesn't
work because FindToolchain depends on environment variables set up by 'lunch'.
Change-Id: I264b95e1e83a7e795f8cac49bc9e1cf497514029
2014-07-07 15:18:01 -07:00
Brigid Smith
9c2192a26e
stack_core ProcessLine now returns a boolean.
...
The value corresponds to whether or not the line has matched one of the
detected formats (registers, header, backtrace, etc.) and can be used to
identify what logcat lines don't correspond to one of these formats.
Change-Id: Ibd7bc5a211dcfe86ea2f92d7e7941091afff4fc4
2014-07-07 14:53:18 -07:00
Brigid Smith
0b30940003
stack_core now also detects the "Revision: #" line.
...
Change-Id: I474602eca37964e412acf8cb5f2441cd223852e4
2014-07-07 14:34:00 -07:00
Elliott Hughes
a9e34173b9
Fix 'stack' register matching for all architectures.
...
Every architecture was at least slightly wrong. Rather than try to
tune the heuristics, let's just keep lists of all the registers.
Also start adding some unit tests.
Change-Id: I490dcc9855f7af1e3529734711400f366ffc4e0f
2014-07-01 14:56:22 -07:00
Elliott Hughes
401448709d
Merge "Fix FindToolchain for mips."
2014-07-01 19:26:36 +00:00
Elliott Hughes
1ba94df0c9
Fix FindToolchain for mips.
...
Change-Id: Ib2689e24065e9d5a0c249a26c63e6493327fc0b1
2014-07-01 12:22:06 -07:00
Brigid Smith
ea0a835d4d
Turning stack_core into a class to make it compatible with adbs.
...
This includes the fairly large change of refactoring stack_core.py into
a class so that its behavior is compatible with adbs. Additionally, if
the ABI line does not come before lines that require it to determine
proper widths (registers, stack), then it will assume that the ABI is
32 bit and not 64.
Change-Id: I6ad84a55337d86d25f7f8197048dc93868b0a01a
2014-07-01 11:25:44 -07:00
Elliott Hughes
d2471c871f
Add the "Abort message:" line to the preserved stack output.
...
When QA paste a stack in to the decoder, we don't want to lose the
abort message.
Bug: 15701333
Change-Id: I538aab6b5cb6c20534b1b7027aec32bd78ee060c
2014-06-17 16:55:10 -07:00
Elliott Hughes
0836593b85
Use ANDROID_TOOLCHAIN and ANDROID_TOOLCHAIN_2ND_ARCH in 'stack'.
...
This fixes the bug where we can't (currently) find the toolchain
for arm because it's at a different GCC version (4.8) from arm64 (4.9).
Change-Id: I22351af55298255f3ac4adfcae7e20080712fba4
2014-06-16 10:40:22 -07:00
Brigid Smith
45a46c6138
Updating stack_core.py to recognize new ABI output from debuggerd.
...
Change-Id: Ib9736a0509edb97be15f5e89dbc3a5188e744416
2014-06-13 17:43:38 -07:00
Bill Yi
23f68632c7
Merge commit 'd297be2136209cab4edbcf8879520f65fb564103' into HEAD
2014-04-29 11:33:09 -07:00
Narayan Kamath
9649700787
Fix the stack/ tool for 64 bit archs.
...
pc values might now be 16 bytes wide. Also add support
for the arm64 architecture switch.
Change-Id: Ia2e0282f3bee03ef6092de285b0c32fa6da07cb0
2014-04-14 11:07:37 +01:00
Joe Fernandez
42d0b0df19
Adding production app.yaml to source control
...
Background: There does not appear to be a production version of
the app.yaml file for the developer.android.com site checked in
anywhere, which strikes me as a bit dangerous; We should be able
to replicate the DAC site entirely from source control.
Change-Id: I119c6052b94fe89e973ebb7e3902a9c0566f83ca
2014-03-04 11:53:21 -08:00
Scott Main
01d72b37a8
redirect old google intents page to new common intents page
...
Change-Id: Iac645c2f3094fa8d362ac6a2bacdbafdd1e36b08
2014-02-04 19:16:24 +00:00
Scott Main
2e3e1da7ac
add redirect for removed samples page
...
Change-Id: I918d2c501ae9be881d578cda03218db6317cbcb6
2014-02-04 10:46:52 -08:00
Scott Main
8a37395f3a
remove redirect for guide/index.html now that we actually have such a page
...
Change-Id: I9511ecb7f3af1d1884c1d3952224c45bd4546837
2013-12-19 15:06:35 -08:00
Scott Main
f84f063448
redirect web overview page to index.html
...
Change-Id: I2ea6709ab8754ff055c16a1c93314350343bc441
2013-11-01 11:35:13 -07:00
Dirk Dougherty
9f82a4c2a4
Add kk to redirects file.
...
Change-Id: Ieeeaaf411fee5136fd4672ff99f5b6a132d0c794
2013-10-29 22:35:11 -07:00
Dirk Dougherty
392ca8fcd4
am 14dc0e7f: am 2548ceb9: am 8c423d72: Merge "Raise the default max-age for client side caching to 43200 (12hrs)." into jb-mr2-docs
...
* commit '14dc0e7f785fc169195ed304687925e22bb706b7':
Raise the default max-age for client side caching to 43200 (12hrs).
2013-09-30 18:48:09 -07:00
Dirk Dougherty
8c423d7278
Merge "Raise the default max-age for client side caching to 43200 (12hrs)." into jb-mr2-docs
2013-10-01 01:39:59 +00:00
Dirk Dougherty
cb2e8d0fe8
Raise the default max-age for client side caching to 43200 (12hrs).
...
Change-Id: I163bf926994928ceafa66b853ed5c2e9731c7f93
2013-09-30 17:26:59 -07:00
Scott Main
53b8075b98
am 4e2a591c: am 55462d1b: am 21fc0e7d: redirect old bad class about old bad auth APIs to doc on GoogleAuthUtil
...
* commit '4e2a591cd87b4678ecf74330e2f207692e89c8b9':
redirect old bad class about old bad auth APIs to doc on GoogleAuthUtil
2013-09-27 16:04:17 -07:00
Scott Main
21fc0e7da9
redirect old bad class about old bad auth APIs to doc on GoogleAuthUtil
...
Change-Id: Icbebe71806f4083a25548180a15c7412867cfa11
2013-09-27 15:27:36 -07:00
Scott Main
16616daef7
am d0ed98de: am e2e6cd77: am 57391f4a: redirect obsolete/orphaned "tab layout" doc to training lesson about tabs
...
* commit 'd0ed98debf580b6c1fde98ba7272b0d3bbd078f0':
redirect obsolete/orphaned "tab layout" doc to training lesson about tabs
2013-07-31 11:11:40 -07:00
Scott Main
050120f695
am 1362a7e1: am f525e1a6: am ccdaba95: add redirect for support library setup
...
* commit '1362a7e1fe15341df55a70d3d2de97dc84bfbaa7':
add redirect for support library setup
2013-07-31 11:11:39 -07:00
Scott Main
57391f4a7c
redirect obsolete/orphaned "tab layout" doc to training lesson about tabs
...
Change-Id: Ie8c198c53a19b92566a4a5828b33413475a0c3c2
2013-07-31 10:51:20 -07:00
Scott Main
ccdaba9511
add redirect for support library setup
...
Change-Id: Ie847a81de6aed6f3448d6a32f223df110886d55a
2013-07-30 17:59:43 -07:00
Joe Fernandez
0c41d0318a
am 7ac04c72: am f8a92396: Merge "docs: Redirect Support Library page to new location" into jb-mr2-dev
...
* commit '7ac04c72145b487a84a098cec7163f0739303769':
docs: Redirect Support Library page to new location
2013-07-24 16:27:47 -07:00
Joe Fernandez
0178565349
docs: Redirect Support Library page to new location
...
Change-Id: I49b3a7ed9e7c9499ca76e3d50ca02454ac5846cb
2013-07-23 21:52:49 -07:00
Dirk Dougherty
b909ea3141
am b4cddf93: am c821270d: am 80f50242: am d06f4e32: am 6ac22572: Update appengine server to handle \'@\'.
...
* commit 'b4cddf93e355b15db33dc6bf7d36ffbe3541cb1d':
Update appengine server to handle '@'.
2013-07-19 16:02:13 -07:00
Dirk Dougherty
c821270d71
am 80f50242: am d06f4e32: am 6ac22572: Update appengine server to handle \'@\'.
...
* commit '80f50242895afb4b43b231af5e78fcc8c5004206':
Update appengine server to handle '@'.
2013-07-17 10:24:47 -07:00
Dirk Dougherty
6ac22572e5
Update appengine server to handle '@'.
...
Change-Id: Ic06686f94d8cff822808e30034b102e859833454
2013-07-17 10:08:27 -07:00
Dirk Dougherty
b8e741f103
am 315a23dd: am 711343d4: am f3136431: am 6dcbcb7a: am 90b9ab16: Merge commit \'b1637825\' into manualmerge
...
* commit '315a23dd1a0b40b38799c4ef052a5970781d39f2':
Adjust the redirects for edu and a couple others.
2013-06-26 11:54:58 -07:00
Dirk Dougherty
711343d467
am f3136431: am 6dcbcb7a: am 90b9ab16: Merge commit \'b1637825\' into manualmerge
...
* commit 'f3136431df3319c415fde335f172f55f0d74494f':
Adjust the redirects for edu and a couple others.
2013-06-26 11:07:45 -07:00
Dirk Dougherty
90b9ab16f9
Merge commit 'b1637825' into manualmerge
...
Conflicts:
scripts/app_engine_server/redirects.yaml
Change-Id: If68fc5e8461f3f9d63d00cc251e4bed2531d7025
2013-06-26 10:58:30 -07:00
Dirk Dougherty
392804d01c
Adjust the redirects for edu and a couple others.
...
Change-Id: I95049ad68a4ecc31354f9e97e10d83114be8bb78
2013-06-26 10:34:59 -07:00
Ben Cheng
0708600d53
Add a GDB script to crawl the Dalvik stack.
...
Change-Id: I5635a2fc8a8fe8105527312429dd43139c8727a8
2013-06-24 14:30:48 -07:00
Scott Main
1791f6947c
am 17169b0d: am 08557446: am 64904ff8: am 8abfd5c1: am a0787146: redirect all UI guideline docs to Design docs except for widgets, pending b/9303742
...
* commit '17169b0db585add411b88874203498b327e4b49e':
redirect all UI guideline docs to Design docs except for widgets, pending b/9303742
2013-06-06 12:15:41 -07:00
Scott Main
0855744698
am 64904ff8: am 8abfd5c1: am a0787146: redirect all UI guideline docs to Design docs except for widgets, pending b/9303742
...
* commit '64904ff82332af31a1d72d635cbed0d600f6c1f1':
redirect all UI guideline docs to Design docs except for widgets, pending b/9303742
2013-06-06 12:10:37 -07:00
Scott Main
a078714667
redirect all UI guideline docs to Design docs
...
except for widgets, pending b/9303742
Change-Id: I9b896e6c88701044f572ab79813d43c2f34b81b9
2013-06-05 20:46:59 -07:00
Scott Main
22a3cbd43a
am eed6a679: am 7cf7bbe5: am 5e56f625: am 6a0d35ed: am 5ef71146: more redirects for deleted files
...
* commit 'eed6a679d19e7016f1517c03813ca71f28fe6fc9':
more redirects for deleted files
2013-05-21 02:36:24 -07:00
Scott Main
7cf7bbe5b3
am 5e56f625: am 6a0d35ed: am 5ef71146: more redirects for deleted files
...
* commit '5e56f62570cd3307ada046cb35cbbc41e3dbb4eb':
more redirects for deleted files
2013-05-21 02:31:13 -07:00
Scott Main
5ef71146ce
more redirects for deleted files
...
Change-Id: I586b34871ad8e2dd7b2d3f3a417e01732a8d262b
2013-05-20 18:18:09 -07:00
Scott Main
25e279a304
am 08c3753f: am 05a16907: am b966a30d: am 566d6809: am 42ba057a: redirect obsolete publishing files, as per removals from I715362c1dc7022581faf8653ec49da49b3c6ed4a
...
* commit '08c3753fb2c2a1108c19f8cc762875a468a5d3ec':
redirect obsolete publishing files, as per removals from I715362c1dc7022581faf8653ec49da49b3c6ed4a
2013-05-20 15:01:38 -07:00
Scott Main
05a1690799
am b966a30d: am 566d6809: am 42ba057a: redirect obsolete publishing files, as per removals from I715362c1dc7022581faf8653ec49da49b3c6ed4a
...
* commit 'b966a30da3db8323be8219c66bd0817ffc884fc1':
redirect obsolete publishing files, as per removals from I715362c1dc7022581faf8653ec49da49b3c6ed4a
2013-05-20 14:55:02 -07:00
Scott Main
42ba057a23
redirect obsolete publishing files, as per removals from I715362c1dc7022581faf8653ec49da49b3c6ed4a
...
Change-Id: I2f3c62a7a18f370c376e1edf6dc9c43983bc6edb
2013-05-20 14:26:01 -07:00
Dirk Dougherty
a6f10b81f1
am 88a0b263: am 4b901b60: am eff94ba2: am 3799e737: am 6465f504: am 69abf615: Add redirects for edu urls.
...
* commit '88a0b263ed476af8b44001b65a7ded9d08907ba4':
Add redirects for edu urls.
2013-05-15 06:48:14 -07:00