public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdbserver/linux-low.cc: Fix a typo in ternary operator
@ 2023-02-24 19:10 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-02-24 19:10 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2e977d9901393ea1bacbe1896af0929e968bc811
commit 2e977d9901393ea1bacbe1896af0929e968bc811
Author: Khem Raj <raj.khem@gmail.com>
Date: Wed Feb 22 16:28:22 2023 -0800
gdbserver/linux-low.cc: Fix a typo in ternary operator
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 *readbuf,
if (lseek (fd, memaddr, SEEK_SET) != -1)
bytes = (readbuf != nullptr
? read (fd, readbuf, len)
- ? write (fd, writebuf, len));
+ : write (fd, writebuf, len));
#endif
if (bytes < 0)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-24 19:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 19:10 [binutils-gdb] gdbserver/linux-low.cc: Fix a typo in ternary operator Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).