GDBStub Wii U

From GameBrew
Revision as of 01:33, 17 May 2024 by HydeWing (talk | contribs) (Created page with "{{Infobox WiiU Homebrews |title=GDBStub |image=gdbstubpluginwiiu.png |description=GDBStub for debugging Wii U software. |author=Maschell |lastupdated=2023/07/22 |format=wps |type=Plugins |version=0.1.1 |license=GPL-3.0 |download=https://dlhb.gamebrew.org/wiiuhomebrews/gdbstubpluginwiiu.7z |website=https://github.com/wiiu-env/gdbstub_plugin/ |source=https://github.com/wiiu-env/gdbstub_plugin |donation= }} <!--bin: github--> <!--date: gith...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GDBStub
Gdbstubpluginwiiu.png
General
AuthorMaschell
TypePlugins
Version0.1.1
LicenseGPL-3.0
Last Updated2023/07/22
Links
Download
Website
Source

This plugin offers a gdbstub for debugging Wii U software, including homebrew. It's based on the gdbstub that's inside the coreinit.rpl and present on any Wii U. This plugin patches several functions to allow usage of the stub on retail consoles.

The patches address bug fixes, such as basic vCont support and escape packet contents, and introduce support for multiple queries. Memory access now done via the KernelModule, bypassing the MMU for read/write capabilities.

Please refer to the readme for usage.

Features

  • Hardware breakpoint support (maximum one hw breakpoint is supported at once).
  • Support up to 512 software breakpoints at the same time.
  • Hardware watchpoints for read/write access of data with 8 byte accuracy (maximum one hw watchpoint is supported at once).
  • Stepping to the next instruction (only the for currently active threads)
  • Memory/register reading/writing.
  • Implemented the optional qXfer:features:read and qXfer:threads:read query.
  • Interrupting the execution at any time via CTRL+C
  • See the main.h for further configuration options via macros.

Changelog

v0.1 2023/02/20

  • Initial release.

External links

Advertising: