I've been trying to install gdbserver package on Alpine Docker image (https://hub.docker.com/_/alpine/)
apk add gdbserver
was giving me this:
ERROR: unsatisfiable constraints:
gdbserver (missing):
required by: world[gdbserver]
At the same time,…
I am trying to remotely debug a pure C program on an Android device.
The Android device (target) is connected via USB to a host machine.
What I did was:
Copied from the target the following files:
/system/lib, /vendor/lib, /system/bin/app_process,…
My situation: I'm currently trying to use Eclipse CDT as a replacement for a proprietary IDE. I have an enterprise application, which consists of an executable and a lot (30+) of shared library modules. The application is targeted for an embedded…
I'm working on a Embedded Linux application and I would like to use GDB to debug it. The problem is that, although the Kit configuration seems fine (the Debugger option is correctly pointed to the GDB correspondent to the device's GCC - device is a…
I've installed gdb and gdbserver on an angstrom linux ARM board (with external access), and am trying to get source level debugging of a shared library working from my local machine. Currently, if I ssh into the device, I can run gdb and I am able…
Using Qt Creator 2.7.1 and Qt 4.8.4, I made a Qt library and a simple Qt app that dynamically links against this library. I am attempting to remotely deploy and debug my App and step into my library functions when I call them. I can successfully set…
I am trying to debug our code on remote server. Our code base is large and the bandwidth to the server from our office is quite slow. It is impossible to debug (each step takes from 10 seconds to few minutes).
The project is based on cpp, with CMake…
I'm trying remote debug a Rust executable using gdbserver on the remote machine and gdb on the local machine. I set up a Vagrant VM (bento/ubuntu-18.04) and start a gdbserver:
$ vagrant ssh
$ uname -a
Linux dev 4.15.0-121-generic #123-Ubuntu SMP…
I want to use GNU DDD (gdb graphic shell) to debug Linux kernel, that is running (in some distro) inside qemu.
I have vmlinux image outside of Qemu, and launch Qemu with -s -S, so it acts like gdbserver (stops at start and waits for debuging…
I want to debug an android application using GDB, I do not have the source code and I am used to GDB. Would anyone know how to do that? It seems I would need to attach to the process of the application and use gdbserver but I have not really found a…
I have problem in Eclipse c/c++ with debugging. On some, not all, functions when I put break point it shows me no sorce available for that function ( example no source available for test() ). That function is static and I have source of that file in…
I have an ATSAMD21E18A micro that I am using with semi-hosting. In order for the semi-hosting to work, GDB needs to be "attached" before the first bkpt instruction. On the other hand, I have inexplicably found that the SysTick interrupt will not…
I am using Ubuntu 16.04 on x86_64 workstation, and I'm cross-compiling a small demo program in C++, and deploying it to an embedded linux target running ARM architecture (environment-setup-cortexa9hf-neon-poky-linux-gnueabi,…
I am trying to remotely debug a Hello World program that was cross-compiled
for mipsel but I am being unsuccessful in using gdb/gdbserver.
My target architecture is:
Linux debian-mipsel 2.6.32-5-4kc-malta #1 Tue Sep 24 01:20:35 UTC 2013 mips…
After I installed gdbserver on my remote machine (Ubuntu 16.04.4 LTS), I tested the following c++ code by making a "cross-platform console application (linux)" project in Visual Studio 2017:
#include
int main()
{
printf("hello from…