I'm having problems with debugging my modified Linux-3.11.0 kernel.
For debugging the code, I use:
GDB 7.6
QEMU 1.6.5
Linux kernel 3.11.0
My system has Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz running Ubuntu 12.10
I compiled the modified kernel…
I'm having problems trying to debug native code with the Android NDK.
While the App is running I launch ndk-gdb, and the result is that gdb loses the connection with the device and the app on the device crashes.
The very same thing happens with both…
I am trying to write a launch configuration for VS Code that can start gdbserver as a preLaunchTask.
When I start debugging, everything just stalls when gdbserver says "Listening on port XXXX"
I found many examples online of methods for other…
I am setting up the op-tee in ARM-64. and I'm wondering if it is possible to debug it using visual studio code running under ubuntu 18.04.
So far I was able to compile and run the op-tee in QEMU. and also being able to connect the gdb-server using…
I'm using CLion in order to connect to remote gdbserver which is run on remote machine (via ssh port forwarding).
I't works quite well except one thing, it downloads all linked dependencies every time I connect to gdbserver:
So, I could not find…
Is there a way to exit from gdb connnection without stopping / exiting running program ? I need that running program continues after gdb connection closed.
For the needs of project, I wrote a simple java socket program to implement a "fake" gdbserver stub. Thus, support the minimum number of gdb RSP commands:g,G,m,M,c and s. For other commands, just response with "$#00". According to the manual of gdb,…
Does anyone know why I can't use Eclipse CDT to remotely debug a device when I manage it on the command-line with gdb using target remote command? I do get a warning when connecting, but other than that it seems to work fine.
With Eclipse I should…
I would love to debug my software with ECLIPSE as front end to GDB. Our build set up as follows.
Linux server with code base
Windows accessing code base via Samba (Eclipse IDE)
Software is built on Linux server with makefiles (No ECLIPSE…
I have a remote debugging setup with gdb (on a host machine) and a gdbserver (on a target machine).
The gdb command I am using is something like
target remote | ssh -T user@192.168.222.111 gdbserver - app_to_debug arg1 arg2 arg3
This works fine and…
I am trying to compile a "hello world" Rust program inside a Docker container and then remotely debug it using GDBServer and CLion, but I don't think gdbserver is starting correctly. When I start it, I don't get the "process started" and "listening…
gdbserver localhost:2159 test_app.exe
Whenever I type this kind of command
I got this kind of message:
glob could not process pattern '(null)'.
Also, it doesn't matter which kind of terminal/CLI I use on my Windows machine -
the result is always…
Summary
I'm trying to debug a C++ program within a docker image (Ubuntu), while using VSCode as an IDE on my host system (OS X). After various tinkering with gdbserver and VSCode tasks, I'm now able to successfully run the debugger, but each time I…
I can use brew to install GBD or download and compile GDB from source but either way GDBserver does not get installed. How can I get GDBserver running in OSX?
Cheers
I am debugging C++ library for Android with GDB (gdbserver + gdb on host), and I've noticed that gdb output is very very slow.
E.g. application has about 15 threads, and when I type thread apply all bt it takes 15-20 seconds to output all…