User forums > Using Code::Blocks

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

(1/1)

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.

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.
 

Navigation

[0] Message Index

Go to full version