aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-valprint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
commit762f08a3976cceca00a4467cbc3eeae4d2edc3e4 (patch)
tree55e5879d12114e69579249ea78630705bd71df8d /gdb/f-valprint.c
parenta84d24ee80d7a8bb646d9e2b4ae3bf5bb7ff7a8d (diff)
downloadgdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.zip
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.gz
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.bz2
2003-01-17 Andrew Cagney <ac131313@redhat.com>
* main.c (captured_main): Don't use PTR. * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. * gdbtypes.c (lookup_primitive_typename): Ditto. (lookup_struct_elt_type): Ditto. * f-valprint.c (info_common_command): Ditto. (list_all_visible_commons): Ditto. * jv-typeprint.c (java_type_print_base): Ditto.
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r--gdb/f-valprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c
index 1be07e7..6b4b36d 100644
--- a/gdb/f-valprint.c
+++ b/gdb/f-valprint.c
@@ -562,7 +562,7 @@ list_all_visible_commons (char *funname)
while (tmp != NULL)
{
- if (STREQ (tmp->owning_function, funname))
+ if (strcmp (tmp->owning_function, funname) == 0)
printf_filtered ("%s\n", tmp->name);
tmp = tmp->next;
@@ -643,7 +643,7 @@ info_common_command (char *comname, int from_tty)
if (the_common)
{
- if (STREQ (comname, BLANK_COMMON_NAME_LOCAL))
+ if (strcmp (comname, BLANK_COMMON_NAME_LOCAL) == 0)
printf_filtered ("Contents of blank COMMON block:\n");
else
printf_filtered ("Contents of F77 COMMON block '%s':\n", comname);