diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch b/meta/recipes-devtools/gdb/gdb/0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch deleted file mode 100644 index 32eba089bc..0000000000 --- a/meta/recipes-devtools/gdb/gdb/0009-gdbserver-linux-low.cc-Fix-a-typo-in-ternary-operato.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 9a85132c4ba7d37a5df146239b3ab1a5854ce478 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 22 Feb 2023 16:24:07 -0800 | ||
4 | Subject: [PATCH] gdbserver/linux-low.cc: Fix a typo in ternary operator | ||
5 | |||
6 | Upstream-Status: Submitted [https://sourceware.org/pipermail/gdb-patches/2023-February/197298.html] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | gdbserver/linux-low.cc | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/gdbserver/linux-low.cc b/gdbserver/linux-low.cc | ||
13 | index 7e1de397893..95ec871d436 100644 | ||
14 | --- a/gdbserver/linux-low.cc | ||
15 | +++ b/gdbserver/linux-low.cc | ||
16 | @@ -5390,7 +5390,7 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char *readbuf, | ||
17 | if (lseek (fd, memaddr, SEEK_SET) != -1) | ||
18 | bytes = (readbuf != nullptr | ||
19 | ? read (fd, readbuf, len) | ||
20 | - ? write (fd, writebuf, len)); | ||
21 | + : write (fd, writebuf, len)); | ||
22 | #endif | ||
23 | |||
24 | if (bytes < 0) | ||