This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [RFC] Notes on QUIT and STREQ et.al.
- To: ac131313 at cygnus dot com
- Subject: Re: [RFC] Notes on QUIT and STREQ et.al.
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Mon, 13 Mar 2000 14:35:04 +0100 (MET)
- CC: gdb-patches at sourceware dot cygnus dot com
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