ROM Hack Gdbstub for Citra available

delete12345

Well-Known Member
Member
Joined
Feb 27, 2010
Messages
695
Trophies
1
Age
32
Location
Taipei, Taiwan
XP
1,276
Country
United States
For those who are interested in using Citra GDBStub,

1. Run GDB in the terminal (WSL Bash, terminal, etc.) You should have "(gdb)" replacing the "$" symbol.
2. Open Citra emulator.
3. Check and enable GDB Stub, and set the port number.
4. Back in Citra emulator, open and execute a game.
5. Check to see the Citro command prompt/terminal is saying "Debug.GDBStub: Waiting for gdb to connect...."
6. In your GDB terminal, type:
Code:
target remote localhost:####
Where #### is your port number you have set earlier.
7. You will see:
Code:
Remote debugging using localhost:####
After you pressed Enter key. This means your GDB is connected to Citra emulator GDB Stub.
8. You can now press and type "si" to run 1 instruction, "n" to step over, and so on.
 
  • Like
Reactions: Naails and YuseiFD

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=ftyFz0yBxj8