Mobile/Fennec/Android/GDB: Difference between revisions

Jump to navigation Jump to search
Make it clear where the source for gdbserver comes from (i.e., you already have it)
No edit summary
(Make it clear where the source for gdbserver comes from (i.e., you already have it))
Line 97: Line 97:
  export PATH=~/android-toolchain/arm-linux-androideabi-4.4.3/bin:$PATH
  export PATH=~/android-toolchain/arm-linux-androideabi-4.4.3/bin:$PATH


Run configure and make for gdbserver:
Run configure and make for gdbserver (gdbserver comes with the android-gdb repository your checked out earlier):
cd android-gdb
  mkdir android-gdbserver-objdir
  mkdir android-gdbserver-objdir
  cd android-gdbserver-objdir
  cd android-gdbserver-objdir
Line 118: Line 119:
Setup a toolchain environment for your build, then run configure and make for gdbserver. The android-gdbserver-objdir directory can be anywhere, but creating it within the android-gdb git clone is convenient. The paths below do not necessarily need to be absolute paths, but it will make life easier.
Setup a toolchain environment for your build, then run configure and make for gdbserver. The android-gdbserver-objdir directory can be anywhere, but creating it within the android-gdb git clone is convenient. The paths below do not necessarily need to be absolute paths, but it will make life easier.


Run configure and make for gdbserver (gdbserver comes with the android-gdb repository your checked out earlier):
cd android-gdb
  mkdir android-gdbserver-objdir
  mkdir android-gdbserver-objdir
  cd android-gdbserver-objdir
  cd android-gdbserver-objdir
Confirmed users, Bureaucrats and Sysops emeriti
969

edits

Navigation menu