Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
93 views

I have implemented some GDB pretty printers, and most of the IDEs cause GDB to hang with them at various time moments under various circumstances. I have already added verbose logging of my Python ...
Score of 1
0 answers
78 views

I experiencing a specific behavior in GDB where the standard hook-stop is completely bypassed if a next (Step Over (F10)) or step (Step Into (F11)) command is interrupted by a software breakpoint ...
Score of 3
0 answers
107 views

TL;DR: Despite the documentation stating they accept the same arguments, until *<addr> calculates an incorrect target breakpoint address (e.g., 0x1) using the expression evaluator, whereas ...
Advice
0 votes
4 replies
58 views

I'm trying to implement GDB pretty printers for my project, to be used with VS Code / CLion. The hardest part of the process is debugging them. I find it useful to run print myvar in GDB console and ...
Score of 2
1 answer
177 views

I am using GNU gdb (GNU Tools for STM32 13.3.rel1.20240926-1715) 14.2.90.20240526-git connected to pyocd 0.39.0 with an STM32H573MIYxQ MCU. Normally I can set breakpoints in GDB and they work. ...
Score of 0
0 answers
170 views

As of today after updating my Ubuntu OS, VS Code takes forever to start debugging. It used to be only slow the first time you'd debug in the session, then the next time you'd debug it'd be faster. Now,...
Score of 0
0 answers
63 views

GDB allows collecting tracepoint information, as a non-intrusive operation, without a need for a breakpoint and a context switch to gdb. The data collected by tracepoints can be viewed, frame-by-frame,...
Score of 2
0 answers
83 views

I tried to make a function that finds all existing PCIe device's functions and saves the physical address of their config space to an allocated memory for my os, but I noticed that I got WAY too much ...
Score of 4
0 answers
143 views

Could you please help me with the following GDB debugging scenario: I have a vmlinux image with debug symbols. I also have a kernel module (.ko file) that I need to debug. However, I need to debug the ...
Score of 0
0 answers
40 views

I'm trying to setup all-automatic debug procedures for opensbi+u-boot+linux debug on qemu riscv virt machine. But I found in gdb script, the relative file path for remove-symbol-file command doesn't ...
Score of 0
0 answers
86 views

I am debugging an ESP32-S3 project using Espressif IDE (Eclipse) + ESP-IDF. I can attach, halt, set breakpoints, and disassemble, but stepping is painful because the debugger always enters functions ...
Score of 0
1 answer
120 views

I would like to display the contents of the stack memory of an application. That would help me both, understand the memory management of the system and determine stack fill rates (potentially for ...
Score of 3
2 answers
131 views

I was setting up gdb on vscode on windows and it wasn't working. I soon found out that it was erroring giving me a SIGSEGV segfault. I tried gdb in powershell with the same problem. I run the program ...
Score of 0
0 answers
49 views

I am porting an ARM cortex-M4 project from Keil to Eclipse. And have issues with the debugger. It is a C project, compiled with gcc-arm-none-eabi. And for debug I am using Segger J-Link GDB server + ...
Score of 1
0 answers
62 views

I know that load a flat binary file to GDB is not sufficient when you need the symbols to debug the programs and follow the flow of the program, because it don't have a valid format of GNU/Linux ...

15 30 50 per page
1
2 3 4 5
778