gdbserver Questions

2

Solved

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&...
Louella asked 28/6, 2021 at 20:54

1

I'm trying to debug an EFI application in qemu with gdb. QEMU is started with -s and -S flags and gdb is started with gdb ./target/x86_64-unknown-uefi/debug/application.efi and qemu is targeted wi...
Patriciapatrician asked 18/3, 2022 at 6:47

1

Both gdb 7.7 and gbd 7.11 missed some shared libraries when debugging my device (oppo r7s). I've pulled all libraries to local. Here is a complete list of libraries shown by info shared (gdb) info ...
Cyclades asked 5/2, 2018 at 3:3

8

I am trying to debug with gdbserver. after I terminat the gdb client on the host I see that the gdbserver is still listening : Remote side has terminated connection. GDBserver will reopen the conn...
Pallium asked 1/1, 2014 at 15:52

2

Solved

Is there a way to exit from gdb connnection without stopping / exiting running program ? I need that running program continues after gdb connection closed.
Penstock asked 29/6, 2016 at 8:42

6

I am currently using the ST-Link debugger to program my STM32F3 Discovery Board. The IDE that I am using is Atollic TrueStudio 5.5.2. Now I am facing a very weird problem which is I keep on getting...
Cimah asked 29/6, 2016 at 7:9

3

Solved

For a couple of years I have been using the mbed online compiler to create .bin files, and then flash them at the command line like this, using a ST-LINK/V2 USB dongle, and everything works flawles...
Infield asked 24/3, 2020 at 8:49

2

Solved

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...
Crossbones asked 21/9, 2013 at 10:51

3

Solved

I'm trying to debug a native shared library that my App uses through JNI. I can attach to a running app just fine with "gdbserver --attach pid" but i need to actually launch my app when i launch th...
Leptorrhine asked 13/1, 2010 at 12:57

3

Solved

I'm working on 64 bit linux, need to build gdbserver for my aarch64 Android phone.There is prebuilt gdbserver in NDK, but it uses the python in NDK package, not using my system python, I can't inst...
Angeliaangelic asked 1/4, 2020 at 14:52

7

Solved

Trying to setup remote gdb debugging in eclipse. When I try to debug I get: Error in final launch sequence Failed to execute MI command: -target-select remote LOCALHOST:2345 Error message from ...
Megasporangium asked 3/12, 2012 at 7:27

2

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 abl...
Ambulant asked 9/1, 2018 at 13:40

2

Solved

I am having trouble debugging when using gdbserver. gdb shows error loading one of the shared libraries. Error while mapping shared library sections: `target:<path to library>': not in execu...
Shonna asked 18/7, 2016 at 18:46

1

Solved

When remote debugging using gdbserver, I'd like to get gdb to load some shared libraries of the programm being debugging from the local sysroot, but also allow download feature from gdbserver to lo...
Monochord asked 18/11, 2019 at 20:36

6

Solved

I am running Eclipse CDT on Windows to develop C code that is built & tested on remote Linux systems. Currently, the code is never compiled on Windows. I am able to use CDT to begin the remote...
Tutt asked 17/8, 2010 at 12:46

2

I try to use remotely the gdbserver for debug as follows Start the gdbserver on target machine $ gdbserver localhost:2000 hello -l 20 -b 10 --enable-targets=all Host machine has the program bin...
Bunni asked 28/11, 2018 at 17:0

2

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 (missi...
Carrion asked 12/5, 2016 at 12:32

3

Solved

I have some baremetal AARCH64 software running in QEMU. I connect GDB to it as a remote target. GDB multi-arch shows general purpose registers from x0 to x30, the SP, and PC. However, I can't find...
Doorjamb asked 25/9, 2017 at 22:21

1

Solved

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. ...
Decoction asked 4/1, 2019 at 12:34

1

I'm currently playing around with GDB and want to debug a native processor in Android, specifically /system/bin/lmkd. But I'm having trouble on how to stop GDB once that processor is invoked. Thi...
Malaco asked 7/9, 2018 at 19:53

2

Solved

I'm trying to debug an embedded project using remote GDB. My system: Target: ARM Cortex M0. SEGGER J-Link GDB Server V6.10 Command Line Version arm-none-eabi-gdb 7.10.1.20160616-cvs CLion 2016...
Handclasp asked 1/10, 2016 at 19:20

2

Solved

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...
Magog asked 6/10, 2017 at 13:1

1

Solved

When I run a program that prints the environment from environ locally with: ./gdb myprintenv I can change environment variables across runs with: run set environment asdf=qwer run Is there an...
Inane asked 17/7, 2017 at 17:3

4

I am using gdbserver on target and CodeSourcery IDE. My hardware is a gumstix with a omap3530. I can step through code in my main application but if I attempt to step into a function in a shared l...
Alverson asked 23/12, 2011 at 0:24

1

Solved

When loading core dump files into gdb, I am getting the following warning, looks like loading some symbols also fails because of this. warning: Cannot parse .gnu_debugdata section; LZMA support wa...
Spurious asked 18/4, 2017 at 21:53

© 2022 - 2025 — McMap. All rights reserved.