Lil’ bit: Threading problem on Solaris with GCC

2008/05/23 23:31:00
Print Friendly

After much confusion and heartache, some google searching indicates to me that there is a problem on Solaris using threads with gcc. When applications compiled with gcc attempt to throw exceptions from within threads sometimes they do not get caught, and hence the application terminates with the message:

terminate called recursively

Ref:
http://gcc.gnu.org/ml/gcc-bugs/2007-06/msg01137.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32344

The current workaround for my project was to forgo threads, but one of the developers came up with the idea to link in the Solaris libc++ to avoid this problem.

Lil’ bit: Clearing the screen during a GDB session

2008/05/07 22:26:00
Print Friendly

How to clear the screen during a gdb session:

shell clear

.

ref:
http://www.unix.com/high-level-programming/42517-how-clear-screen-gdb-session.html