I have a setup with openocd and arm-none-eabi-gdb and I'm trying to debug a FreeRTOS fw.
I start openocd with:
openocd -f /usr/local/share/openocd/scripts/board/stm32f0discovery.cfg -c "stm32f0x.cpu configure -rtos auto"
That command works…
I'm trying to remotely debug my application using gdbserver but the process seems to be extremely slow.
The output of gdbserver is full of the following lines:
ptrace(regsets_fetch_inferior_registers) PID=4474: No data available
Warning:…
This is a question from an absolute beginner.
I have a Ubuntu 14.04 host, gdb 7.7.1 installed on it and a project cross-compiled for qnx. I also have a qnx target, that I want to debug my app on.
The instructions on the internet tell me to use…
I read through GDB Monitor commands in CLion providing good insight, but I am having a slightly different issue:
My environment:
Target: ARM Cortex M4 (STM32F401RE)
ST-UTIL gdb server (https://github.com/texane/stlink)
arm-none-eabi-gdb…
I have a relatively simple application (that links in another simple library) that refuses to let me remotely debug it with gdb. I've checked that gdb and gdbserver versions match. It's actually even the same OS (ubuntu) on both machines. It…
I am using X-server on Linux tutnix 3.13.0-30-generic #54-Ubuntu i686 i686 GNU/Linux .
On X-server i am using schroot to change the root and after that I run my application on it.
Now the problem is I am trying to run gdbserver(version 6.7.1) on…
I am running:
Eclipse 3.8.1 (Build id: deb build).
On Ubuntu 16.04 LTS in a VM and UbuntuMATE 16.04 LTS on target Raspberry Pi 3.
gdb-multiarch(architecture set to arm in .gdbinit) locally andgdbserver` on the target.
Cross compilation and remote…
I am trying to build and test Linux applications using Visual Studio 2015, but I couldn't get the remote GDB Debugger to work. Here's what I've done:
I've set up a virtual machine running on Xubuntu with the IP 192.168.1.7 (bridge connection) and…
I am trying to debug an application remotely in Eclipse. When I start debugging, the application is deployed and the gdbserver is started on the target. This seems to work automatically without any mistakes, but then following error…
I try to remotly debug using gdb.
On the target computer (Raspberry Pi with Ubuntu Mate 15.10), I run gdbserver :4444 main. And on my laptop, I run ./arm-linux-gnueabihf-gdb ~/workspace/piCCompileProj/Debug/main. At the gdb prompt (on my laptop), I…
I have some piece of code which uses JNI. I can debug code wrote in Java directly in Eclipse (using ADT). I even have a script, which help me debug native code with gdb. However this is not very comfortable way for doing this.
Is it possible to…
I am trying to get going remote debugging using gdbserver running on a ARM target running Linux kernel version 2.6.38.8.
On this target I run a gdbserver which is a 32-bit ELF file, as below:
./gdbserver --remote-debug --attach 192.xxx.xxx.2:2345…
Background
I am working with an ARM device using a custom-built toolchain (based on Yocto with gcc 4.7 and gdb 7.5) and make use of remote gdb debugging with Eclipse CDT as debugger frontend. Recently I had the issue that I could not debug a…
I'm having trouble cross compiling GDBServer for MIPS n32. I'm using GCC-4.7.2, binutils-2.22, glibc-2.11.1, glibc-ports-2.11, and linux-2.6.32.61. My host is x86_64-cross-linux-gnu. My target is mips64-elf-linux. The specific ABI for MIPS is…
I have one program that is getting segment fault. I need to debug that remotely.
For that I am doing following:
On target board:
#gdbserver :2345 program
On host x86 machine:
$ arm-linux-gdb -q program
(gdb) target remote 192.168.150.104:2345
But…