From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 8CC0B38515D7; Fri, 24 Feb 2023 19:10:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CC0B38515D7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677265802; bh=A9H0V02AhlNqocHzeJiaBx4bBhcMnyeuIS0E1efB+MY=; h=From:To:Subject:Date:From; b=vB77Mo4+6s7tBSBTBN0Hob0SNE7CIfjnmZcK/5I8G6XBccYU4lCM7VO8PFb/Uyz+y 5zonXI5CHP2aHeJLvj1tTv0YCMaIw34GFelpqU7KDVCXqlqmbvnF16C/51Zq2vOlq9 Oxc0SxYp9uYXLUfJUUpQCvliK3/vdp3VbEa5HOvM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdbserver/linux-low.cc: Fix a typo in ternary operator X-Act-Checkin: binutils-gdb X-Git-Author: Khem Raj X-Git-Refname: refs/heads/master X-Git-Oldrev: 147699fd6991ae67fc22ca543a28f85a242fc930 X-Git-Newrev: 2e977d9901393ea1bacbe1896af0929e968bc811 Message-Id: <20230224191002.8CC0B38515D7@sourceware.org> Date: Fri, 24 Feb 2023 19:10:02 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D2e977d990139= 3ea1bacbe1896af0929e968bc811 commit 2e977d9901393ea1bacbe1896af0929e968bc811 Author: Khem Raj Date: Wed Feb 22 16:28:22 2023 -0800 gdbserver/linux-low.cc: Fix a typo in ternary operator =20 Signed-off-by: Khem Raj Diff: --- gdbserver/linux-low.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc index 4328fedcbea..dec1944d45f 100644 --- a/gdbserver/linux-low.cc +++ b/gdbserver/linux-low.cc @@ -5390,7 +5390,7 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char *r= eadbuf, if (lseek (fd, memaddr, SEEK_SET) !=3D -1) bytes =3D (readbuf !=3D nullptr ? read (fd, readbuf, len) - ? write (fd, writebuf, len)); + : write (fd, writebuf, len)); #endif =20 if (bytes < 0)