Debugging MySQL Using GDB

Debugging MySQL Using GDB

Author: Zhang Zhengjun Working at Central European Fund, a fan of Zhishutang, a database enthusiast, familiar with various databases such as RDBMS, NoSQL, NewSQL, etc. After finishing O’Reilly’s “High Performance MySQL” and Teacher Jiang’s “MySQL Technical Insider”, along with 2-3 years of practical experience, one can essentially become a DBA capable of handling problems independently.However, … Read more

A More Convenient Code Debugging Tool Than GDB: CGDB

A More Convenient Code Debugging Tool Than GDB: CGDB

From WeChat Official Account: IOT Internet of Things Town Author: Dao Ge, a veteran with over 10 years of embedded development experience, focusing on: C/C++, Embedded, Linux. Table of Contents Example Code with Bug GDB Debugging Operations CGDB Debugging Operations Others’ experiences, our ladder! CGDB is a <span>frontend</span> for <span>GDB</span>, designed to debug code in … Read more

A Reverse Engineering Analysis of a MIPS Challenge

A Reverse Engineering Analysis of a MIPS Challenge

AuthorForum Account: Li1y Preliminary Analysis Problem link: https://wws.lanzous.com/i6Zo2gpbolc This is an IOT reverse engineering challenge from the 2020 HWS selection competition, containing 3 files. The content of readme.txt is as follows: The command to run the challenge is as follows: sudo qemu-system-mipsel -M malta -hda openwrt-malta-le-root.ext4 -kernel openwrt-malta-le-vmlinux.elf -nographic -append “root=/dev/sda console=tty50” The program to … Read more

Using J-Link Debugger in VSCode

Using J-Link Debugger in VSCode

Using J-Link Debugger Visual Studio Code is a free source code editor developed by Microsoft. Through plugins, it can implement GDB + J-Link + GDBServer to debug embedded systems in VSCode. In this article, we will introduce how to add debugging capabilities to Cortex core microcontrollers using J-Link. The example uses SEGGER’s emPower v2.0 evaluation … Read more

Using ST-Link for Debugging in Embedded Studio

Using ST-Link for Debugging in Embedded Studio

Follow andstar our public account to not miss exciting content Source | Microtech The ST examples provided by Segger are debugged using J-Link. But what if we only have the ST-Link emulator? This article will introduce how to use ST-Link for debugging in Segger Embedded Studio. Operating Environment:1. Embedded Studio for ARM v4.52. ST Nucleo-L476RG … Read more

90% of S7-1200 Beginners Have Fallen into This Trap: Are You Really Using GDB and IDB Correctly?

90% of S7-1200 Beginners Have Fallen into This Trap: Are You Really Using GDB and IDB Correctly?

I remember it very clearly; it was shortly after I started working with TIA Portal. I was diligently working on a small project, just a few motors for sequential control, and I thought I had a good grasp of the S7-1200. At that time, to save trouble, I stuffed all the data—whether it was the … Read more

Embedded Software Interview – Peripheral Section: The Process of Local and Remote Debugging with GDB

Embedded Software Interview - Peripheral Section: The Process of Local and Remote Debugging with GDB

To support gdb debugging, you must add the -g parameter during compilation to enable debugging information. 1. Commands related to setting breakpoints: break to set a breakpoint: break + the line number where the breakpoint is to be set. clear to clear a breakpoint: clear + the line number of the breakpoint to be cleared. … Read more

Merging Identical Elements in GDB Libraries Under a Directory

Merging Identical Elements in GDB Libraries Under a Directory

Background A fan raised a request while conducting a geographic information census: they wanted to batch add vector data from multiple databases under several folders and merge them into one based on the same name. As shown in the geographic database below. Below is the content of the database: Merge into one file. The fan … Read more

MiHoYo C++ Second Interview: How to Use GDB to Debug Unsigned Executable Programs?

MiHoYo C++ Second Interview: How to Use GDB to Debug Unsigned Executable Programs?

In the long journey of software development, debugging is undoubtedly one of the most critical weapons in a developer’s arsenal. Debugging unsigned executable programs plays an indispensable role in many scenarios. In software development, unsigned executable programs often arise from specific compilation options or the use of third-party libraries. Imagine you are involved in a … Read more