aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffexec.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-04-15 21:55:49 +0000
committerStan Shebs <shebs@codesourcery.com>1994-04-15 21:55:49 +0000
commitfad466eb6de0629edc89081998337fd13566e989 (patch)
tree0190472f3bd8a3ce36a30ba310c4aa2acfb5cfc0 /gdb/xcoffexec.c
parent97ea252ef8065df3fcc039801fcc370aa3e3c00f (diff)
downloadgdb-fad466eb6de0629edc89081998337fd13566e989.zip
gdb-fad466eb6de0629edc89081998337fd13566e989.tar.gz
gdb-fad466eb6de0629edc89081998337fd13566e989.tar.bz2
Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references to : in search path processing. * defs.h (qsort): Rename argument in prototype. * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in some compilers. * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c (false): Eliminate usages.
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r--gdb/xcoffexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c
index 892e2d8..2d57f92 100644
--- a/gdb/xcoffexec.c
+++ b/gdb/xcoffexec.c
@@ -358,7 +358,7 @@ xfer_memory (memaddr, myaddr, len, write, target)
{
/* Entire transfer is within this section. */
res = xfer_fn (p->bfd, p->the_bfd_section, myaddr, memaddr - p->addr, len);
- return (res != false)? len: 0;
+ return (res != 0) ? len : 0;
}
else if (p->endaddr <= memaddr)
{
@@ -370,7 +370,7 @@ xfer_memory (memaddr, myaddr, len, write, target)
/* This section overlaps the transfer. Just do half. */
len = p->endaddr - memaddr;
res = xfer_fn (p->bfd, p->the_bfd_section, myaddr, memaddr - p->addr, len);
- return (res != false)? len: 0;
+ return (res != 0) ? len : 0;
}
else if (p->addr < nextsectaddr)
nextsectaddr = p->addr;