News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

MSYS2 as compiler with C::B - GDB problems?

Started by TRAyres, November 14, 2016, 05:11:49 AM

Previous topic - Next topic

TRAyres

I can't see an assembly listing after I set a breakpoint - I did compile with -g.

I tried to run the exe from MSYS2 x86_64 terminal, I launch GDB on the EXE, and try "layout asm" and I get:
(gdb) layout asm
Cannot enable the TUI when output is not a terminal

Can someone point me in the right direction? Having MSYS2 and C::B work together would be programming bliss for the Windows platform.

Thanks all!

oBFusCATed

Why do you think C::B has anything to do with your problem?
By the looks of it - it is something related to the msys2's gdb, terminals or something like this.
But nothing in your report suggests that C::B has caused the problem.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

TRAyres

The same setup works with Eclipse Neon CDT, including the assembly view.

I assumed it was C::B if Eclipse could get the information correctly.


stahta01

What do you mean by "MSYS2 x86_64 terminal"?
Do you mean mintty or something else?

Did you look at the build log for both C::B and the other IDE and see what differs; if not, I suggest you do so!

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]