Advanced GDB Usage Techniques

Advanced GDB Usage Techniques

Custom Commands The following statement is written in ~/.gdbinit to define a custom command lmem. This command requires one parameter, which is a memory address that serves as the head of a linked list. The structure of the linked list is BlockLink_t. The function of this command is to traverse the linked list and print … 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

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

Simple Makefile Tutorial

Simple Makefile Tutorial

If you are a heavy command line user, learning Makefile can greatly improve your development efficiency. Below is a brief introduction to the knowledge and usage of Makefile. Makefile is a file that contains a set of instructions for compiling and building software projects. A Makefile typically contains a set of rules and dependencies that … Read more

Using PyInstaller to Package Python Programs

Using PyInstaller to Package Python Programs

Using PyInstaller to Package Python Programs! Hello everyone, it’s Guoguo again! Today, I want to introduce you to a particularly useful tool – PyInstaller. Have you ever thought about packaging your Python program into an executable file (.exe) so that friends who don’t have Python installed can run it? PyInstaller is here to help you … Read more

How to Install Device Drivers on Linux

How to Install Device Drivers on Linux

Learn how Linux device drivers work and how to use them. — Bryant Son Useful original link Please visit the “original link” at the end for clickable in-text links, full-size original images, and related articles. Thanks Compiled from | https://opensource.com/article/18/11/how-install-device-driver-linux | Author | Bryant Son | Translator | Jamskr 🌟🌟 Total translated: 15.0 Contribution time: … Read more

Setting Up Sudo Passwordless Access in Linux

Setting Up Sudo Passwordless Access in Linux

In a Linux system, to set up sudo passwordless access, follow these steps: Open the sudoers file as an administrator: In the terminal, enter the command sudo visudo. This command will open the sudoers file in a safe manner, ensuring the file syntax is correct and preventing system issues due to incorrect edits. Add the … Read more

Common Linux Commands – touch to Create Empty Files and Modify Timestamps

Common Linux Commands - touch to Create Empty Files and Modify Timestamps

Follow the card below to get the latest shares by marking the public account. Reply in the background with EmbeddedLearning Materials to get a learning package👇👇👇 Introduction The touch command comes from the English word “touch”, which means “to touch or contact”. In the Linux system, this command is mainly used to create empty files … Read more

Linux Wireless RFKill Subsystem

Linux Wireless RFKill Subsystem

Word count: 1409, reading time approximately 8 minutes Linux Wireless RFKill Subsystem About RFKill The rfkill subsystem provides a generic interface for disabling any radio transmitter in the system. When a transmitter is blocked, it shall not radiate any power. The subsystem also provides the ability to react on button presses and disable all transmitters … Read more

How to Restart a Linux System Using Commands

How to Restart a Linux System Using Commands

The action of restarting the system is often used in Windows, usually after installing some software that requires a system restart to take effect. In this case, you typically click to confirm whether to restart now or later. Naturally, if you click restart now, the system will automatically reboot. If you choose to restart later, … Read more