Using MQTT for Inter-Process Communication

Using MQTT for Inter-Process Communication

Introduction The previous article shared: “A Simple Understanding of MQTT and Mosquitto”, which only covered some concepts of MQTT and an introduction to Mosquitto. Then readers urged for more: In this article, we will share an example of using MQTT for inter-process communication. We will modify the comprehensive demo from the previous article “Examples of … Read more

Advanced Linux Debugging Techniques: GDB Reverse Debugging Made Easy

Advanced Linux Debugging Techniques: GDB Reverse Debugging Made Easy

Reverse Debugging has a cool nickname – Time Travel Debugging. Yes, you read that right, it’s time travel debugging! Just looking at the name, you can tell how amazing it is! To explain it clearly, this article is quite long, so please read patiently; it won’t disappoint you! Introduction When debugging programs, have you encountered … Read more

5 Lesser-Known GDB Debugger Tips

5 Lesser-Known GDB Debugger Tips

Learn how to use some lesser-known features of gdb to inspect and fix your code. — Tim Waugh GNU Debugger (gdb) is a valuable tool for inspecting running processes and troubleshooting while developing programs. You can set breakpoints at specific locations (by function name, line number, etc.), enable and disable these breakpoints, display and change … Read more

Common GDB Commands Overview

Common GDB Commands Overview

(Click the public account above to quickly follow) English: Fsf, Translation: Linux China/robot527 linux.cn/article-8900-1.html If you have good articles to submit, please click → here for details Table of Contents break — Set a breakpoint at the specified line or function, abbreviated as b info breakpoints — Print a list of all non-deleted breakpoints, watchpoints, … Read more

Build Your Own GDB: Basic Functionality

Build Your Own GDB: Basic Functionality

What is GDB GDB stands for the GNU Project debugger, primarily used for debugging user-mode applications. According to the official documentation, GDB supports debugging applications written in the following languages: Ada Assembly C C++ D Fortran Go Objective-C OpenCL Modula-2 Pascal Rust Of course, the most common use is for debugging applications written in C/C++. … Read more

GDB Debugger Made Simple: A Step-by-Step Guide

GDB Debugger Made Simple: A Step-by-Step Guide

Introduction to GDB GDB (GNU Debugger) is a powerful command-line debugging tool. Generally, when developing on Windows, command-line debugging is rarely used, as debuggers are mostly integrated with compilers in IDEs. Of course, you can also directly use gcc and gdb to compile and debug our C programs on Windows. For example, MinGW (a collection … Read more

GDB Usage Summary

GDB Usage Summary

From WeChat Official Account: Embedded and Linux Matters Starting To start gdb, simply type the gdb command in the shell. After starting, it will display the following information and show the gdb prompt. ➜ example gdb GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or … Read more

Become an Embedded Expert with These 100+ Open Source Projects!

Become an Embedded Expert with These 100+ Open Source Projects!

In the early stages of learning, the hardest part is finding learning materials, so today I recommend a repository that summarizes embedded open source projects. This article carefully compiles some embedded-related resources, including but not limited to programming languages, microcontrollers, open source projects, Internet of Things, operating systems, Linux and more. These materials are continuously … Read more

Decoding The Top 10 Open Source IoT Operating Systems

Decoding The Top 10 Open Source IoT Operating Systems

Source: Intelligent Things IoT Think Tank Organized and Published Please indicate the source when reprinting —— [Introduction] —— The Internet of Things, open source, and operating systems are currently hot keywords in the IT industry, and these three terms constitute the open source operating systems for IoT. So, how much do you know about open … Read more