commit.
Improved support for assertion checking and logging using GNU C and GDB. PR: 3363 Submitted by: Phil maker <pjm@cs.ntu.edu.au>