Hi Victor,
I've come across some of the problems, mostly from using the wrong gdb due to path issues. In my implementation there is the following:
./Dev-Cpp/bin/gdb.exe
./Dev-Cpp/bin/Insight/bin/usr/bin/gdb.exe (gdb GUI)
./GNU/MinGW/bin/gdb.exe
The Dev-Cpp works correctly, there are some bugs in the Insight version, and the Mingw version doesn't work correctly with files compiled on Dev-Cpp. The same applies to gprof and gcov. I'm not saying there is a bug in any of them. However, I've found that using the Mingw version of gcov and gprof fail as the format of the input files isn't correct when compiled with Dev-Cpp. This is most probably due to incorrect or incompatible versions of each.
I've also found that you have to use Ctrl-C (Unix conventions) to copy instead of Ctrl-Insert (Windows conventions) on Insight, if I understand your problem correctly.
The final comment is that if you're working on code with the -O (optimizations) flag enabled, then the debugger won't necessarily show the correct line.
I would recommend reading the GNU-GDB documentation (http://www.gnu.org/software/gdb/documentation/) in full, as there's lots of information there to help your with your task. Also verify that you have compatible versions of the compiler and debugger.
Âèêòîð <vi...@wa...> wrote:
Greatings, dev-cpp-users,
Is anyone use Dev-CPP with cygwin compiler and gdb?
When I try to debug, follows happen:
- first of all, output log look like bad (no new line without CR(0x0d))
- I couldn't copy all text from output (menu item "copy" is disabled) :-(
- message "frames-invalid" appear many times in log during debuging
- editor don't show currently executing line (but watched variables
displaying normally)
Sorry about bad Eng :-) if any-one can understand it, I'll be very
thankfull for help. I understand all, but can't say anyting (like a
dog :-))))
--
Best Regards,
Victor
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
Alfred P. Reaud
|