diff --git a/pdk/docs/porting/debugging_native.jd b/pdk/docs/porting/debugging_native.jd index 7bb655fcb..44e8219b9 100755 --- a/pdk/docs/porting/debugging_native.jd +++ b/pdk/docs/porting/debugging_native.jd @@ -137,13 +137,7 @@ spinlock because no other thread can release it. (gdb) set scheduler-locking on -

-Ignore SIGUSR1 if you're using JamVM. Shouldn't hurt if you're not. -

-
-(gdb) handle SIGUSR1 noprint
-
 (gdb) where
 #0  __futex_wait () at system/klibc/android/atomics_arm.S:88
 #1  0x53010eb8 in pthread_cond_timedwait (cond=0x12081c, mutex=0x120818, abstime=0xffffffff)
@@ -239,7 +233,7 @@ Previous frame identical to this frame (corrupt stack?)
 

Crash in C / C++ code

-

If it crashes, connect with aproto and run logcat on the device. You should see output like this:

+

If it crashes, connect with adb and run logcat on the device. You should see output like this:

 I/ActivityManager(  188): Starting activity: Intent { component=com.android.calendar.MonthScreen }
diff --git a/pdk/docs/source/git-repo.jd b/pdk/docs/source/git-repo.jd
index c5a75e2d3..cf10ab762 100644
--- a/pdk/docs/source/git-repo.jd
+++ b/pdk/docs/source/git-repo.jd
@@ -34,7 +34,7 @@ Installing Repo 
$ curl http://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir working-directory-name
$ cd working-directory-name
-$ repo init-u git://android.git.kernel.org/platform/manifest.git

+$ repo init -u git://android.git.kernel.org/platform/manifest.git

Synchronizing your client

To synchronize the files for all available projects:
$ repo sync

To @@ -115,7 +115,7 @@ init repo init -u url [options -]

Installs Repo in the current directory. This creates a .repo/ directory that contains Git repositories for the Repo source code and the standard Android manifest files. The .repo/ directory also containsmanifest.xml, which is a symlink to the selected manifest in the .repo/manifests/ directory.

The -u argument specifies a URL from which to retrieve a manifest repository. For example:
$ repo init -u git://android.git.kernel.org/platform/manifest.git

To select a manifest file within the repository, use the -m option. (If no manifest name is selected, the default is default.xml.)For example:
$ repo init -ugit://android.git.kernel.org/platform/manifest.git-m dalkvik-plus.xml

To specify a revision, that is, a particular manifest-branch, use the -b option. For example:
$ repo init -ugit://android.git.kernel.org/platform/manifest.git-b release-1.0

To see other repo init options, run
$ repo help init

Note: +]

Installs Repo in the current directory. This creates a .repo/ directory that contains Git repositories for the Repo source code and the standard Android manifest files. The .repo/ directory also containsmanifest.xml, which is a symlink to the selected manifest in the .repo/manifests/ directory.

The -u argument specifies a URL from which to retrieve a manifest repository. For example:
$ repo init -u git://android.git.kernel.org/platform/manifest.git

To select a manifest file within the repository, use the -m option. (If no manifest name is selected, the default is default.xml.)For example:
$ repo init -u git://android.git.kernel.org/platform/manifest.git-m dalkvik-plus.xml

To specify a revision, that is, a particular manifest-branch, use the -b option. For example:
$ repo init -u git://android.git.kernel.org/platform/manifest.git-b release-1.0

To see other repo init options, run
$ repo help init

Note: For all remaining Repo commands, the current working directory must either be the parent directory of .repo/ or a subdirectory of the parent directory.

sync