Confirmed users
753
edits
(→GDB) |
|||
Line 39: | Line 39: | ||
===== GDB ===== | ===== GDB ===== | ||
# | # Clone [https://github.com/darchons/android-gdb the GitHub repo] (do not use the Zip archive, as the build system will try to obtain a git changeset id) | ||
# You may need to install additional packages in order to build GDB. For example,<pre>sudo apt-get build-dep gdb</pre> | # You may need to install additional packages in order to build GDB. For example,<pre>sudo apt-get build-dep gdb</pre> | ||
# Run configure inside the source directory<pre># ARM: ./configure --target=arm-linux-android --with-python=yes --prefix=/nonexistent \ --with-gdb-datadir=/nonexistent/utils --with-system-gdbinit=/nonexistent/utils/gdbinit # x86: ./configure --target=i686-pc-linux-android --with-python=yes --prefix=/nonexistent \ --with-gdb-datadir=/nonexistent/utils --with-system-gdbinit=/nonexistent/utils/gdbinit</pre> | # Run configure inside the source directory<pre># ARM: ./configure --target=arm-linux-android --with-python=yes --prefix=/nonexistent \ --with-gdb-datadir=/nonexistent/utils --with-system-gdbinit=/nonexistent/utils/gdbinit # x86: ./configure --target=i686-pc-linux-android --with-python=yes --prefix=/nonexistent \ --with-gdb-datadir=/nonexistent/utils --with-system-gdbinit=/nonexistent/utils/gdbinit</pre> |