This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Deprecate remaining STREQ uses
- From: Eli Zaretskii <eliz at elta dot co dot il>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 24 Nov 2003 07:58:21 +0200
- Subject: Re: [commit] Deprecate remaining STREQ uses
- References: <3FC119EB.1060102@gnu.org>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> Date: Sun, 23 Nov 2003 15:34:51 -0500
> From: Andrew Cagney <cagney@gnu.org>
>
> This patch deprecates remaining STREQ and STREQ uses. These are the
> ones that weren't covered by my testing GDB on a stabs system. It is
> worth noting that the bulk occure in language specific files - this
> suggests an area that needs improved testsuite coverage.
Sorry, I don't get the rationale for renaming STR* into
DEPRECATED_STR*. Are we going to throw away the code that used
STREQN/STREQ? If not, I don't see any good reasons to do this, as
renaming the macro doesn't get us any closer to the goal of replacing
them with a simple call to the appropriate str* function.
Could you please explain why the renaming is a good idea?