This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Replace STREQ with streq in i386-linux-tdep.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 1 Mar 2003 13:39:06 +0100 (CET)
- Subject: [PATCH] Replace STREQ with streq in i386-linux-tdep.c
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis at gnu dot org>
* i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
of STREQ.
Index: i386-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-linux-tdep.c,v
retrieving revision 1.23
diff -u -p -r1.23 i386-linux-tdep.c
--- i386-linux-tdep.c 25 Feb 2003 21:36:18 -0000 1.23
+++ i386-linux-tdep.c 1 Mar 2003 12:35:30 -0000
@@ -333,7 +333,7 @@ find_minsym_and_objfile (char *name, str
ALL_OBJFILE_MSYMBOLS (objfile, msym)
{
if (DEPRECATED_SYMBOL_NAME (msym)
- && STREQ (DEPRECATED_SYMBOL_NAME (msym), name))
+ && strcmp (DEPRECATED_SYMBOL_NAME (msym), name) == 0)
{
*objfile_p = objfile;
return msym;