Detailed Methods and Techniques for GDB Debugging on Linux

Detailed Methods and Techniques for GDB Debugging on Linux

1. Introduction to GDB GDB is a powerful command-line debugging tool released by the GNU open-source organization for UNIX/LINUX operating systems. For a C/C++ programmer working on Linux, GDB is an essential tool; 2. GDB Usage Process Here, we will use a C program for basic demonstration, and the same applies to C++ programs; 1. … Read more

Mastering GDB Debugger in Linux Environment

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇Join our tech exchange QQ group with remark 【Official Account】 for faster access 1. Program Release Modes There are two modes for program release: debug mode and release mode. 1.1 Debug Mode Purpose: Mainly used during the development and testing phases, allowing developers to … Read more

Become a Linux Debugging Expert: Unveiling the Secrets of GDB!

Become a Linux Debugging Expert: Unveiling the Secrets of GDB!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group with 1000 members. Note 【Official Account】 for faster approval. 1: What is GDB / CGDB GDB is a powerful and user-friendly debugging tool for Linux that allows developers to inspect the internal state of a program during … Read more

Debugging RISC-V Linux on QEMU with Eclipse and GDB

Debugging RISC-V Linux on QEMU with Eclipse and GDB

Previously, we discussed how to run the RISC-V kernel on QEMU. Now, let’s talk about how to use Eclipse + GDB to debug the kernel on the QEMU platform. ${SIFIVE_DIR} is the local root directory of the freedom-u-sdk open-source project. 1. Configure BBL Configure the bootloader and generate debugging information. Enter the ${SIFIVE_DIR}/work/riscv-pk directory, which … Read more

Basic Tutorial on ARM Assembly Language

Basic Tutorial on ARM Assembly Language

This tutorial includes some sample programs that can be debugged hands-on to deepen understanding. To debug ARM programs, we need an environment that can run ARM programs and a debugger that supports the ARM architecture. This tutorial will introduce how to set up an ARM cross-compilation, running, and debugging environment based on the x86 platform … Read more

CLion Tutorial – Embedded Development

CLion Tutorial - Embedded Development

This page provides an overview of how to use CLion as your embedded development IDE. For detailed feature descriptions and setup instructions, please refer to the dedicated articles in this section. Hardware TypeCLion supports embedded development for any hardware compatible with the GCC or IAR toolchain. Some examples include: ARM-based microcontrollers, such as the STM32 … Read more

Detailed Usage Notes for Raspberry Pi JTAG

Detailed Usage Notes for Raspberry Pi JTAG

Detailed Usage Notes for Raspberry Pi JTAG 1. Introduction 2. Environment Setup 2.1 Hardware Connection 2.2 Software Preparation 3. Conclusion 1. Introduction Sometimes, when debugging code, hardware debugging tools are often used, and JTAG is a very good debugging tool. Below is a detailed introduction on how to use JTAG for debugging on the Raspberry … Read more

Setting Up ESP32-S3 Development Environment with Zephyr

Setting Up ESP32-S3 Development Environment with Zephyr

The Zephyr development environment supports three major operating systems: Windows, Linux, and MacOS. However, the most comprehensive support is for Linux, so it is recommended to use Linux for beginners. This article is based on Ubuntu 22.04. In some sense, this is a rehash of previous articles because similar content has been covered: Building Zephyr … Read more

Batch Merge Multiple MDB or GDB Files

Batch Merge Multiple MDB or GDB Files

In a previous article, I mentioned that you could merge files from 77 databases at once using a tool found online. Today’s article will discuss this tool. Click the image below to open the previous article: First, this tool was found on CSDN, and here is the link: https://download.csdn.net/download/wareshake/10187308 There are many related tools on … Read more

Ji Si Town: Tool for Batch Splitting GDB

Ji Si Town: Tool for Batch Splitting GDB

In land surveying and other tasks, there is often a need to split a large GDB into multiple GDB, which can then be distributed to operators for processing. Doing this manually is too cumbersome.To address these needs, we have developed some tools for data splitting. One tool allows for splitting GDB and MDB by attributes. … Read more