Debugging the DLL with gdb
Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!
PLEASE DO NOT REPORT BUGS HERE!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Debugging the DLL with gdb
by FastEddie » 25 Jul 2020, 17:42
Attached is a paper describing how to debug ManalinkEh.dll with gdb, the GNU debugger. Debugging works solely through the command line. I will post a separate paper on graohical user interfaces (there aren't so many under Windows for these tools...).
Summary and quick start
This document explains how to use gdb (as part of MinGW64) to debug the ManalinkEh.dll using the built-in command line. Graphical user interfaces will be discussed in a separate paper.
If you have MinGW64 installed copy the ManalinkEh.dbg file in the folder containing Magic.exe, open a command prompt (cmd), run gdb and enter the following commands (assuming Magic.exe resides in F:\Program files (x86)\Manalink\Manalink_Unstable).
Edit: removed a typo in the pdf pointing to the wrong exec-file and added Open topics.
Summary and quick start
This document explains how to use gdb (as part of MinGW64) to debug the ManalinkEh.dll using the built-in command line. Graphical user interfaces will be discussed in a separate paper.
If you have MinGW64 installed copy the ManalinkEh.dbg file in the folder containing Magic.exe, open a command prompt (cmd), run gdb and enter the following commands (assuming Magic.exe resides in F:\Program files (x86)\Manalink\Manalink_Unstable).
- • cd f:
• cd Program files (x86)
• cd Manalink /Manalink_Unstable
• file ManalinkEh.dll
• symbol-file ManalinkEh.dbg
• exec-file Magic.exe
• break card_arcbound_ravager
• run
Edit: removed a typo in the pdf pointing to the wrong exec-file and added Open topics.
- Attachments
-
- Debugging with gdb.pdf
- (191.59 KiB) Downloaded 231 times
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests