forked from Imagelibrary/binutils-gdb
2003-11-23 Andrew Cagney <cagney@redhat.com>
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * defs.h (DEPRECATED_STREQN): Rename STREQN. (DEPRECATED_STREQ): Rename STREQ. * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update. * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update. * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update. * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update. * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update. * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update. * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update. * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update. * source.c, sparc-tdep.c, stack.c, target.c: Update.
This commit is contained in:
@@ -1802,7 +1802,7 @@ handle_producer (char *producer)
|
||||
/* If this compilation unit was compiled with g++ or gcc, then set the
|
||||
processing_gcc_compilation flag. */
|
||||
|
||||
if (STREQN (producer, GCC_PRODUCER, strlen (GCC_PRODUCER)))
|
||||
if (DEPRECATED_STREQN (producer, GCC_PRODUCER, strlen (GCC_PRODUCER)))
|
||||
{
|
||||
char version = producer[strlen (GCC_PRODUCER)];
|
||||
processing_gcc_compilation = (version == '2' ? 2 : 1);
|
||||
@@ -1820,7 +1820,7 @@ handle_producer (char *producer)
|
||||
|
||||
if (AUTO_DEMANGLING)
|
||||
{
|
||||
if (STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER)))
|
||||
if (DEPRECATED_STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER)))
|
||||
{
|
||||
#if 0
|
||||
/* For now, stay with AUTO_DEMANGLING for g++ output, as we don't
|
||||
@@ -1828,7 +1828,7 @@ handle_producer (char *producer)
|
||||
set_demangling_style (GNU_DEMANGLING_STYLE_STRING);
|
||||
#endif
|
||||
}
|
||||
else if (STREQN (producer, LCC_PRODUCER, strlen (LCC_PRODUCER)))
|
||||
else if (DEPRECATED_STREQN (producer, LCC_PRODUCER, strlen (LCC_PRODUCER)))
|
||||
{
|
||||
set_demangling_style (LUCID_DEMANGLING_STYLE_STRING);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user