From: Uros Bizjak <ubizjak@gmail.com>
To: gdb-patches@sourceware.org
Cc: kevinb@redhat.com
Subject: [PATCH, rs6000]: Remove write-only assignment
Date: Tue, 19 Dec 2017 12:33:00 -0000 [thread overview]
Message-ID: <CAFULd4YAzfYWTnEL2atrMdSKz2vtegw_WOh7hZNH3LXfQhKdfw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
2017-12-19 Uros Bizjak <ubizjak@gmail.com>
* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Remove
write-only assignment to "insn" variable.
Uros.
[-- Attachment #2: gdb-rs6000-tdep.diff.txt --]
[-- Type: text/plain, Size: 425 bytes --]
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index eb784c562f..e8f21a7fc3 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -1225,7 +1225,6 @@ ppc_deal_with_atomic_sequence (struct regcache *regcache)
closing_insn = loc;
loc += PPC_INSN_SIZE;
- insn = read_memory_integer (loc, PPC_INSN_SIZE, byte_order);
/* Insert a breakpoint right after the end of the atomic sequence. */
breaks[0] = loc;
next reply other threads:[~2017-12-19 12:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 12:33 Uros Bizjak [this message]
2017-12-20 11:50 ` Yao Qi
2017-12-20 11:55 ` Uros Bizjak
2017-12-21 1:43 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFULd4YAzfYWTnEL2atrMdSKz2vtegw_WOh7hZNH3LXfQhKdfw@mail.gmail.com \
--to=ubizjak@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox