From fad466eb6de0629edc89081998337fd13566e989 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 15 Apr 1994 21:55:49 +0000 Subject: 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. --- gdb/xcoffexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/xcoffexec.c') 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; -- cgit v1.1