LD_LIBRARY_PATH=.:
Command-line: /usr/bin/gdb -nx -fullname -quiet -args bin/debug/ncurses_app
Working dir : /home/obfuscated/projects/tests/ncurses_app/
Reading symbols from /home/obfuscated/projects/tests/ncurses_app/bin/debug/ncurses_app...done.
(gdb)
> set prompt >>>>>>cb_gdb:
>>>>>>cb_gdb:
> show version
GNU gdb (Gentoo 7.1 p1) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>.
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set print elements -1
>>>>>>cb_gdb:
> set disassembly-flavor intel
>>>>>>cb_gdb:
> catch throw
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
>>>>>>cb_gdb:
> source /usr/share/codeblocks/scripts/stl-views-1.0.3.gdb
>>>>>>cb_gdb:
> set print static-members off
source ~/.gdbinit
>>>>>>cb_gdb:>>>>>>cb_gdb:
> directory /home/obfuscated/projects/tests/ncurses_app/
>>>>>>cb_gdb:
> tty /dev/pts/4
Queued:[tty /dev/pts/4]
>>>>>>cb_gdb:
> run
Here is the output from my working example. Looks quite the same.
You'll have to debug C::B in order to find what is wrong, sorry but it works for me.
What is your machine? Is starting of the terminal a slow operation?