GDBStub Wii U

From GameBrew
GDBStub
Gdbstubpluginwiiu.png
General
AuthorMaschell
TypePlugins
Version0.1.1
LicenseGPL-3.0
Last Updated2023/07/22
Links
Download
Website
Source

A plugin that providesa 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 is now done completely via the KernelModule which bypasses the MMU, which allows us to write/read anywhere.

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: