blob: c8cb88ff1d36a4baf141d1fb377c522e9b1cdac2 [file] [log] [blame]
David Ghandehari9e5b5872016-07-28 09:50:04 -07001#!/bin/bash
2#
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
5# found in the LICENSE file.
6#
7# Attach gdb to a running content shell. Redirect to the shell gdb_apk
8
9ROOT=$(cd "$(dirname $0)"; pwd)
10echo "WARNING: This script is deprecated, consider using \
11adb_gdb_content_shell instead!"
12if [ $# -gt 0 ]; then
13 exec ${ROOT}/gdb_apk -r -g "$*"
14else
15 exec ${ROOT}/gdb_apk -r -p org.chromium.content_shell
16fi