[PR #1244] [MERGED] GDB server stub for remote debugging (using upstream debugging interfaces) #402

Closed
opened 2026-01-29 19:07:45 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stenzek/duckstation/pull/1244
Author: @boricj
Created: 12/17/2020
Status: Merged
Merged: 12/25/2020
Merged by: @stenzek

Base: masterHead: gdbserver


📝 Commits (4)

  • 096e467 StringUtil: Add base support and hexadecimal functions
  • 76b73d3 Settings: Add GDB server settings
  • 57cbe96 Core: Implement GDB protocol
  • bf277ec Qt: Implement GDB server

📊 Changes

18 files changed (+591 additions, -18 deletions)

View changed files

📝 src/common/string_util.cpp (+28 -0)
📝 src/common/string_util.h (+29 -18)
📝 src/core/CMakeLists.txt (+2 -0)
📝 src/core/core.vcxproj (+2 -0)
📝 src/core/core.vcxproj.filters (+2 -0)
src/core/gdb_protocol.cpp (+319 -0)
src/core/gdb_protocol.h (+13 -0)
📝 src/core/settings.cpp (+2 -0)
📝 src/core/settings.h (+3 -0)
📝 src/duckstation-qt/CMakeLists.txt (+4 -0)
📝 src/duckstation-qt/duckstation-qt.vcxproj (+6 -0)
📝 src/duckstation-qt/duckstation-qt.vcxproj.filters (+6 -0)
src/duckstation-qt/gdbconnection.cpp (+82 -0)
src/duckstation-qt/gdbconnection.h (+24 -0)
src/duckstation-qt/gdbserver.cpp (+35 -0)
src/duckstation-qt/gdbserver.h (+19 -0)
📝 src/duckstation-qt/mainwindow.cpp (+11 -0)
📝 src/duckstation-qt/mainwindow.h (+4 -0)

📄 Description

Just like #1192, but rebased on top of upstream's debugging interfaces and without watchpoints.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stenzek/duckstation/pull/1244 **Author:** [@boricj](https://github.com/boricj) **Created:** 12/17/2020 **Status:** ✅ Merged **Merged:** 12/25/2020 **Merged by:** [@stenzek](https://github.com/stenzek) **Base:** `master` ← **Head:** `gdbserver` --- ### 📝 Commits (4) - [`096e467`](https://github.com/stenzek/duckstation/commit/096e467caab4fb9051781080805361ef613126f5) StringUtil: Add base support and hexadecimal functions - [`76b73d3`](https://github.com/stenzek/duckstation/commit/76b73d36dc4f86e85ca2deb7fe420f08d87af318) Settings: Add GDB server settings - [`57cbe96`](https://github.com/stenzek/duckstation/commit/57cbe96bacdfec40f3a3c27aa4c0cc1d30a72b75) Core: Implement GDB protocol - [`bf277ec`](https://github.com/stenzek/duckstation/commit/bf277ec6a91a3d203dd138e96f209f1ba1629924) Qt: Implement GDB server ### 📊 Changes **18 files changed** (+591 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `src/common/string_util.cpp` (+28 -0) 📝 `src/common/string_util.h` (+29 -18) 📝 `src/core/CMakeLists.txt` (+2 -0) 📝 `src/core/core.vcxproj` (+2 -0) 📝 `src/core/core.vcxproj.filters` (+2 -0) ➕ `src/core/gdb_protocol.cpp` (+319 -0) ➕ `src/core/gdb_protocol.h` (+13 -0) 📝 `src/core/settings.cpp` (+2 -0) 📝 `src/core/settings.h` (+3 -0) 📝 `src/duckstation-qt/CMakeLists.txt` (+4 -0) 📝 `src/duckstation-qt/duckstation-qt.vcxproj` (+6 -0) 📝 `src/duckstation-qt/duckstation-qt.vcxproj.filters` (+6 -0) ➕ `src/duckstation-qt/gdbconnection.cpp` (+82 -0) ➕ `src/duckstation-qt/gdbconnection.h` (+24 -0) ➕ `src/duckstation-qt/gdbserver.cpp` (+35 -0) ➕ `src/duckstation-qt/gdbserver.h` (+19 -0) 📝 `src/duckstation-qt/mainwindow.cpp` (+11 -0) 📝 `src/duckstation-qt/mainwindow.h` (+4 -0) </details> ### 📄 Description Just like #1192, but rebased on top of upstream's debugging interfaces and without watchpoints. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 19:07:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#402