Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2589)

Issue 1152663002: Makes android.py support gdb (Closed)

Created:
5 years, 7 months ago by sky
Modified:
5 years, 7 months ago
Reviewers:
msw
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes android.py support gdb The gdb dance is a bit cryptic. I have to do the following: . remap local port to remote port (this really only needs to be done once) . wait to figure out process id once started on device. . Start gdbserver on device. . Start gdb on local device. Additionally the names of the shared libraries don't align, eg we end up with html_viewer.mojo on disk but the library that comes from it is html_viewer_library.so. For this reason I create a temp directory and point the local gdb at it, creating links to the real files. R=msw@chromium.org BUG=none TEST=none Committed: https://crrev.com/2c7d24cd78f53c232d0c80585e8129f854af1f43 Cr-Commit-Position: refs/heads/master@{#331146}

Patch Set 1 #

Total comments: 30

Patch Set 2 : merge 2 trunk #

Patch Set 3 : review feedback and symbols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -12 lines) Patch
M mandoline/tools/android_run_mandoline.py View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
M mojo/tools/mopy/android.py View 1 2 9 chunks +140 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
sky
5 years, 7 months ago (2015-05-21 23:36:49 UTC) #1
msw
Maybe document the gdb flow in a code comment? https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py File mandoline/tools/android_run_mandoline.py (right): https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py#newcode33 mandoline/tools/android_run_mandoline.py:33: ...
5 years, 7 months ago (2015-05-22 02:41:44 UTC) #2
sky
I also fixed a problem with handling of control-c. https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py File mandoline/tools/android_run_mandoline.py (right): https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py#newcode33 mandoline/tools/android_run_mandoline.py:33: ...
5 years, 7 months ago (2015-05-22 17:27:24 UTC) #3
msw
lgtm https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py File mandoline/tools/android_run_mandoline.py (right): https://codereview.chromium.org/1152663002/diff/1/mandoline/tools/android_run_mandoline.py#newcode33 mandoline/tools/android_run_mandoline.py:33: parser.add_argument('--dont-install', On 2015/05/22 17:27:24, sky wrote: > On ...
5 years, 7 months ago (2015-05-22 17:52:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152663002/40001
5 years, 7 months ago (2015-05-22 18:03:57 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-22 19:17:13 UTC) #7
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 19:18:42 UTC) #8
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2c7d24cd78f53c232d0c80585e8129f854af1f43
Cr-Commit-Position: refs/heads/master@{#331146}

Powered by Google App Engine
This is Rietveld 408576698