diff options
author | Jason Molenda <jmolenda@apple.com> | 2000-01-11 03:07:37 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2000-01-11 03:07:37 +0000 |
commit | 0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5 (patch) | |
tree | 9533ed688a9ea7eca9bcad984dfda07fecc420bb /gdb/coffread.c | |
parent | 3b7c8b741463f04bc932f698f9a68c64ff797992 (diff) | |
download | gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.zip gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.tar.gz gdb-0d06e24ba79bdc3617c5e56a2c32b3a7f28a4bd5.tar.bz2 |
import gdb-2000-01-10 snapshot
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r-- | gdb/coffread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c index 037fb87..4fb426c 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -645,9 +645,9 @@ coff_symfile_read (objfile, mainline) from the section address, rather than as absolute addresses. FIXME: We should use BFD to read the symbol table, and thus avoid this problem. */ - pe_file = ! - ( strncmp (bfd_get_target (objfile->obfd), "pe", 2) - | strncmp (bfd_get_target (objfile->obfd), "epoc-pe", 7)); + pe_file = + strncmp (bfd_get_target (objfile->obfd), "pe", 2) == 0 + || strncmp (bfd_get_target (objfile->obfd), "epoc-pe", 7) == 0; /* End of warning */ |