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

Side by Side Diff: build/android/gdb_content_shell

Issue 11187027: Android: Add new debugging scripts (adb_gdb_xxx) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/adb_gdb_drt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 # 6 #
7 # Attach gdb to a running content shell. Redirect to the shell gdb_apk 7 # Attach gdb to a running content shell. Redirect to the shell gdb_apk
8 8
9 ROOT=$(cd "$(dirname $0)"; pwd) 9 ROOT=$(cd "$(dirname $0)"; pwd)
10 10 echo "WARNING: This script is deprecated, consider using \
11 adb_gdb_content_shell instead!"
11 if [ $# -gt 0 ]; then 12 if [ $# -gt 0 ]; then
12 exec ${ROOT}/gdb_apk -r -g "$*" 13 exec ${ROOT}/gdb_apk -r -g "$*"
13 else 14 else
14 exec ${ROOT}/gdb_apk -r -p org.chromium.content_shell 15 exec ${ROOT}/gdb_apk -r -p org.chromium.content_shell
15 fi 16 fi
OLDNEW
« no previous file with comments | « build/android/adb_gdb_drt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698