This is the mail archive of the gdb-patches@sourceware.cygnus.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: [RFC] Notes on QUIT and STREQ et.al.


   Date: Mon, 13 Mar 2000 21:51:05 +1100
   From: Andrew Cagney <ac131313@cygnus.com>

   The attatched spells out the long term prospects of both STREQ et.al.
   and QUIT.
   Look OK to everyone?

Well, STRCMP really doesn't make any sense.  A decent compiler in
combination with appropriate headers will take care of the
optimization.

I'm not sure if we want STREQ to go.  I think that `STREQ (a, b)' is
both easier to read and easier to type than `strcmp (a, b) == 0'.
There are quite a few GNU projects that use exactly the same macro in
exactly the same way.

Mark



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