aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-exp.y
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-01-16 11:21:42 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-01-16 11:21:42 +0000
commit7ecb65322d700054f2ef34d1443aa59b9bb81928 (patch)
tree4cb89401216ab02ee3c6074f178aebc22d711b5c /gdb/objc-exp.y
parentd15cf01ce69cf0a35bd024691db9a4ec13525887 (diff)
downloadgdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.zip
gdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.tar.gz
gdb-7ecb65322d700054f2ef34d1443aa59b9bb81928.tar.bz2
* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
DEPRECATED_STREQ by its expression. * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) (scan_xcoff_symtab): Likewise. * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. * f-lang.c (find_common_for_function): Likewise. * objc-exp.y (parse_number): Likewise. * defs.h (DEPRECATED_STREQ): Remove.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r--gdb/objc-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index a4a42d9..e864879 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -680,7 +680,7 @@ qualified_name: typebase COLONCOLON name
error ("`%s' is not defined as an aggregate type.",
TYPE_NAME (type));
- if (!DEPRECATED_STREQ (type_name_no_tag (type), $4.ptr))
+ if (strcmp (type_name_no_tag (type), $4.ptr) != 0)
error ("invalid destructor `%s::~%s'",
type_name_no_tag (type), $4.ptr);