Skip to content

Instantly share code, notes, and snippets.

Created August 22, 2014 04:11
Show Gist options
  • Save anonymous/e05ef8abc3741c3b61da to your computer and use it in GitHub Desktop.
Save anonymous/e05ef8abc3741c3b61da to your computer and use it in GitHub Desktop.
xcut
~/src/B2G/B2G; adb shell b2g-ps
APPLICATION SEC USER PID PPID VSIZE RSS WCHAN PC NAME
b2g 0 root 3341 1 166484 71016 ffffffff 401114e0 S /system/b2g/b2g
(Nuwa) 0 root 3349 3341 55512 15676 ffffffff 401114e0 S /system/b2g/b2g
Homescreen 0 app_3408 3408 3349 71728 29172 ffffffff 401114e0 S /system/b2g/b2g
(Preallocated a 0 app_3624 3624 3349 63524 20648 ffffffff 401114e0 S /system/b2g/b2g
Messages 0 app_3633 3633 3341 84056 34056 ffffffff 400fe4e0 S /system/b2g/plugin-container
+2014-08-22 00:05 0 !3085 (0)
mjrosenb@planetaryAC:$
~/src/B2G/B2G; ./run-gdb.sh attach 3341
ADB Location: adb
Attached; pid = 3341
Listening on port 14341
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-gdb -x /tmp/b2g.gdbinit.mjrosenb.24345 out/target/product/unagi/symbols/system/b2g/b2g
GNU gdb (GDB) 7.1-android-gg2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-linux-gnu --target=arm-elf-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
/home/mjrosenb/.gdbinit:18: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
out/target/product/unagi/symbols/system/b2g/b2g: No such file or directory.
Remote debugging from host 127.0.0.1
0x401114e0 in ?? ()
(gdb) c
Continuing.
Cannot access memory at address 0x0
Child exited with status 11
Program exited with code 013.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment