This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] GDB friendly assert


Mark Kettenis wrote:
> 
>    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.

Yes, I know.  I'm trying to trade off ``MACRO's are upper case'' against
``assert()'' in lower-case is more consistent with STDC even if it was a
bad idea.

>  But if you feel it should
> be changed into GDB_ASSERT, I'll be happy to change it.

I don't know :-)

	Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]