aboutsummaryrefslogtreecommitdiff
path: root/gdb/hpread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-23 20:41:17 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-23 20:41:17 +0000
commitcb137aa50156c9b105cf393b867c7dbe206ef9c9 (patch)
treeb1d92cec3dbc3875a6317075606c41a87c61a4cb /gdb/hpread.c
parentb0e1598abf1865841f65457bf5143f4501b8d073 (diff)
downloadgdb-cb137aa50156c9b105cf393b867c7dbe206ef9c9.zip
gdb-cb137aa50156c9b105cf393b867c7dbe206ef9c9.tar.gz
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/hpread.c')
-rw-r--r--gdb/hpread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c
index daa5d5e..40875f7 100644
--- a/gdb/hpread.c
+++ b/gdb/hpread.c
@@ -3897,7 +3897,7 @@ hpread_read_struct_type (dnttpointer hp_type, union dnttentry *dn_bufp,
fn_p = fn_list;
while (fn_p)
{
- if (STREQ (fn_p->field.name, method_name))
+ if (DEPRECATED_STREQ (fn_p->field.name, method_name))
break;
fn_p = fn_p->next;
}
@@ -6303,7 +6303,7 @@ hpread_get_next_skip_over_anon_unions (int skip_fields, dnttpointer field,
/* Do we have another anonymous union? If so, adjust the bitoffsets
of its members and skip over its members. */
if ((TYPE_CODE (anon_type) == TYPE_CODE_UNION) &&
- (!name || STREQ (name, "")))
+ (!name || DEPRECATED_STREQ (name, "")))
{
hpread_adjust_bitoffsets (anon_type, bitoffset);
field = hpread_get_next_skip_over_anon_unions (TYPE_NFIELDS (anon_type), field, fieldp, objfile);