[PATCH] GDB friendly assert

Mark Kettenis kettenis@wins.uva.nl
Tue Oct 24 08:26:00 GMT 2000


   Date: Tue, 24 Oct 2000 23:46:47 +1100
   From: Andrew Cagney <ac131313@cygnus.com>

   Thanks!  Good move.

   My only (A.R.) thought is to make the macro upper case so it is very
   clear to developers that they are  using a MACRO and not a function.

Hmm, my idea was that it simply is the standard assert() (which
typically is a macro) with gdb_ prepended.  But if you feel it should
be changed into GDB_ASSERT, I'll be happy to change it.

Mark


More information about the Gdb-patches mailing list