From 141436125ccd8378cef54a04ec9f52dcbf69f94a Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 1 Mar 2003 12:36:36 +0000 Subject: [PATCH] * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead of STREQ. --- gdb/ChangeLog | 5 +++++ gdb/i386-linux-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f40b5bf9ad1..3c5ea5a8abe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-03-01 Mark Kettenis + + * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead + of STREQ. + 2003-02-28 Daniel Jacobowitz * Makefile.in (dwarf2loc.o): Update dependencies. diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c index b895f7d180f..6fe4b53be72 100644 --- a/gdb/i386-linux-tdep.c +++ b/gdb/i386-linux-tdep.c @@ -333,7 +333,7 @@ find_minsym_and_objfile (char *name, struct objfile **objfile_p) 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; -- 2.30.2