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]
Other format: [Raw text]

[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;


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