Graphical User Interfaces for 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
Graphical User Interfaces for gdb
by FastEddie » 31 Jul 2020, 14:45
Attached is a paper describing how to use Emacs as grapical user interface for gdb, the GNU debugger. There are not many alternatives as Emacs was the only tool where I could hook up the dll and th exe separately, all others only allowed for an executable.
Summary (no quick start this time)
This document explains how to use Emacs as a graphical front end for gdb to debug the ManalinkEh.dll. More on gdb and how to use it is discussed in a separate paper.
As gdb comes without a graphical user interface (so-called GUI; there is a built-in one but it doesn’t work under Windows) this paper shows a few alternatives and the one that works given out not-so-standard setting consisting of ManalinkEh.dll (“the dll”) and Magic.exe (“the exe”).
I assume you have gdb (as part of MinGW64) installed and that you can call it from the command prompt (PATH environment variable is set accordingly).
Summary (no quick start this time)
This document explains how to use Emacs as a graphical front end for gdb to debug the ManalinkEh.dll. More on gdb and how to use it is discussed in a separate paper.
As gdb comes without a graphical user interface (so-called GUI; there is a built-in one but it doesn’t work under Windows) this paper shows a few alternatives and the one that works given out not-so-standard setting consisting of ManalinkEh.dll (“the dll”) and Magic.exe (“the exe”).
I assume you have gdb (as part of MinGW64) installed and that you can call it from the command prompt (PATH environment variable is set accordingly).
- Attachments
-
- Graphical User Interfaces for gdb.pdf
- (431.91 KiB) Downloaded 211 times
-
- .emacs.zip
- (1.04 KiB) Downloaded 200 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
Re: Graphical User Interfaces for gdb
by FastEddie » 02 Aug 2020, 09:33
Minor updates:
- - Added Annex 2 with some code to cycle through frames with C-<left arrow> and C-<right arrow> as I got tired reaching for the mouse.
- Debugging and pressing F12 to enter debug mode in Manalink produces an Interrupt signal that the debugger catches. If you want to put cards in play or your hand or ... do so before you start debugging and save the game, then start debugging.
---
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests