Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GDBStub Wii U: Difference between revisions

From GameBrew
(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...")
 
No edit summary
 
Line 16: Line 16:
<!--bin: github-->   
<!--bin: github-->   
<!--date: github-->   
<!--date: github-->   
This plugin offers a gdbstub for debugging Wii U software, including homebrew. It's based on the gdbstub that's inside the <code>coreinit.rpl</code> and present on any Wii U. This plugin patches several functions to allow usage of the stub on retail consoles.   
A plugin that providesa gdbstub for debugging Wii U software, including homebrew. It's based on the gdbstub that's inside the <code>coreinit.rpl</code> 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.   
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 [https://github.com/wiiu-env/gdbstub_plugin/blob/main/README.md readme] for usage.
Please refer to the [https://github.com/wiiu-env/gdbstub_plugin/blob/main/README.md readme] for usage.

Latest revision as of 03:07, 21 Mayıs 2024

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: