diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-11-23 20:41:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-11-23 20:41:17 +0000 |
commit | cb137aa50156c9b105cf393b867c7dbe206ef9c9 (patch) | |
tree | b1d92cec3dbc3875a6317075606c41a87c61a4cb /gdb/p-exp.y | |
parent | b0e1598abf1865841f65457bf5143f4501b8d073 (diff) | |
download | fsf-binutils-gdb-cb137aa50156c9b105cf393b867c7dbe206ef9c9.zip fsf-binutils-gdb-cb137aa50156c9b105cf393b867c7dbe206ef9c9.tar.gz fsf-binutils-gdb-cb137aa50156c9b105cf393b867c7dbe206ef9c9.tar.bz2 |
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.
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 6132e6e..779424e 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -1369,29 +1369,29 @@ yylex () switch (namelen) { case 6: - if (STREQ (uptokstart, "OBJECT")) + if (DEPRECATED_STREQ (uptokstart, "OBJECT")) return CLASS; - if (STREQ (uptokstart, "RECORD")) + if (DEPRECATED_STREQ (uptokstart, "RECORD")) return STRUCT; - if (STREQ (uptokstart, "SIZEOF")) + if (DEPRECATED_STREQ (uptokstart, "SIZEOF")) return SIZEOF; break; case 5: - if (STREQ (uptokstart, "CLASS")) + if (DEPRECATED_STREQ (uptokstart, "CLASS")) return CLASS; - if (STREQ (uptokstart, "FALSE")) + if (DEPRECATED_STREQ (uptokstart, "FALSE")) { yylval.lval = 0; return FALSEKEYWORD; } break; case 4: - if (STREQ (uptokstart, "TRUE")) + if (DEPRECATED_STREQ (uptokstart, "TRUE")) { yylval.lval = 1; return TRUEKEYWORD; } - if (STREQ (uptokstart, "SELF")) + if (DEPRECATED_STREQ (uptokstart, "SELF")) { /* here we search for 'this' like inserted in FPC stabs debug info */ |