I found a ref to the old t-o-m-e wiki about how to run ToME under gdb, but that link is defunct now.
Is there an alternate source for that page?
I can start gdb and run the t-engine but I can't figure out how to get a stack trace when the engine is looping.
Anybody got a link to "running Tome with gdb under MinGW?"
Moderator: Moderator
-
- Wyrmic
- Posts: 201
- Joined: Wed Dec 06, 2006 6:58 pm
- Location: Mordor, Ohio
-
- Wyrmic
- Posts: 201
- Joined: Wed Dec 06, 2006 6:58 pm
- Location: Mordor, Ohio
Re: Anybody got a link to "running Tome with gdb under MinGW
Thank you.
Got any hints on how to use gdb to debug a loop in the program?
"gbd t-engine" followed by "run" won't let me break in to do the "backtrace" or "info stack" command, and I can't seem to figure out how to attach t-engine from gdb to debug it asynchronously under Windows either.
Got any hints on how to use gdb to debug a loop in the program?
"gbd t-engine" followed by "run" won't let me break in to do the "backtrace" or "info stack" command, and I can't seem to figure out how to attach t-engine from gdb to debug it asynchronously under Windows either.
Re: Anybody got a link to "running Tome with gdb under MinGW
Take a look at this:
http://www.unknownroad.com/rtfm/gdbtut/gdbinfloop.html
Since this is RMS at work, it is for Linux, but should work for WIndows.
http://www.unknownroad.com/rtfm/gdbtut/gdbinfloop.html
Since this is RMS at work, it is for Linux, but should work for WIndows.
Regards
Jon.
Jon.
-
- Wyrmic
- Posts: 201
- Joined: Wed Dec 06, 2006 6:58 pm
- Location: Mordor, Ohio
Re: Anybody got a link to "running Tome with gdb under MinGW
OK, this has turned into a can of worms.
It seems that there is a problem with Windows passing ctrl-C interrupts to gdb.
This page has a workaround: http://www.mingw.org/wiki/Workaround_fo ... _Interrupt
It seems that there is a problem with Windows passing ctrl-C interrupts to gdb.
This page has a workaround: http://www.mingw.org/wiki/Workaround_fo ... _Interrupt