Questions tagged [ndk-gdb]

A helper shell script named 'ndk-gdb' to easily launch a native debugging session for your NDK-generated machine code.

The script is located at the top-level directory of the NDK, and shall be invoked from the command-line when in your application project directory, or any of its sub-directories. For example:

cd $PROJECT
$NDK/ndk-gdb
40 questions
1
vote
0 answers

vi bindings in ndk-gdb

I know C+M+j enters into vi-mode in gdb. Cygwin-gdb seems to obey my shell settings (set -o vi) and automatically is in vi-mode. However, I can't seem to get ndk-gdb to get into vi-mode. Does anyone know how?
RunHolt
  • 1,892
  • 2
  • 19
  • 26
1
vote
0 answers

Eclipse Android Native debugging fails

I have a problem getting the native debugging support to work for my Eclipse project under Windows for Android. Google unfortunately didn't help after more than 1 day of research. I am pretty much a beginner with eclipse, so the solution might be…
ecreif
  • 1,182
  • 1
  • 12
  • 25
0
votes
1 answer

Android Studio generate core dump CMake

I'm trying to generate a core dump for my android studio application. It's written in Java, however I'm trying to generate a coredump due to the fact that the crashes are happening in my native library. I'm using cmake to configure the native…
Nathan F.
  • 3,250
  • 3
  • 35
  • 69
0
votes
2 answers

NDK r11b: help needed using the ndk-gdb.py debugger

Platform is Mac, Using NDK r11b, my application consists of around 8 c/c++ so files. In the past I've used ndk-gdb (sh) script via NDK r10e. the shell script is now deprecated and ndk-gdb.py is now the only option. Problem is I can't get it to…
rabidcat
  • 45
  • 6
0
votes
2 answers

ndk-gdb tools for NDK r11. where do I find them?

The NDK r11 that was just released. release notes state: Removed ndk-gdb in favor of ndk-gdb.py However there doesn't appear to be any gdb tools anywhere in the r11 NDK package. What am I missing. Is this now a separate tool that has to be tied in…
rabidcat
  • 45
  • 6
0
votes
1 answer

Couldn't debug c++ code of NDK using GDB and Eclipse (OS - Windows 7)

When I'm trying to debug hello-neon example app. But when press F11 (debug) I see the error below (but the app launches and works): warning: while parsing target description (at line 1): Target description specified unknown architecture "i386"…
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
0
votes
1 answer

Symbols out of sync when cross debugging android ndk

I'm trying to debug a native built (NDK) executable test (+shared library) using adb shell, gdbserver on one side and the ndk's gdb on the other side. I copied the executable and .so to the device and executed in adb shell: $ gdbserver :5039…
miluz
  • 1,353
  • 3
  • 14
  • 22
0
votes
0 answers

Android NDK arm-linux-androideabi-gcc line-number information

Debugging a Native app, using ndk-gdb. I get the following, when I step through the code. (gdb) n Single stepping until exit from function my_current_function_name, which has no line number information. So, I'm unable to debug the app. The debugger…
Rakesh Gopal
  • 580
  • 5
  • 11
0
votes
1 answer

Debugging native code in library project

I am trying to debug my android application which make use of a library that has native code. I looked at this SO question and configured the ndk debugger as mentioned in it and was able to start the debugger but i am not able to step through the…
Raneez Ahmed
  • 3,808
  • 3
  • 35
  • 58
0
votes
1 answer

Unable to use ndk-gdb

when i run ndk-gdb in cgywin i get error saying "make: command not found" and "the device does not support the applications targetted CPU abi's" $ ndk-gdb --verbose --nowait Android NDK installation path: /cygdrive/c/Android/ndk Using default adb…
DevGuy
  • 638
  • 7
  • 18
1 2
3