* [PATCH] gdb: xtensa: drop incorrect const from automatic variable
@ 2017-02-22 2:11 Max Filippov
0 siblings, 0 replies; only message in thread
From: Max Filippov @ 2017-02-22 2:11 UTC (permalink / raw)
To: gdb-patches; +Cc: Maxim Grigoriev, Woody LaRue, Marc Gauthier, Max Filippov
gdb/
2017-02-21 Max Filippov <jcmvbkbc@gmail.com>
* xtensa-linux-nat.c (fetch_gregs): Drop incorrect const
qualifier.
---
gdb/xtensa-linux-nat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
index 7a27bf2..a80e429 100644
--- a/gdb/xtensa-linux-nat.c
+++ b/gdb/xtensa-linux-nat.c
@@ -211,7 +211,7 @@ static void
fetch_gregs (struct regcache *regcache, int regnum)
{
int tid = ptid_get_lwp (inferior_ptid);
- const gdb_gregset_t regs;
+ gdb_gregset_t regs;
int areg;
if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0)
--
2.1.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-22 2:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 2:11 [PATCH] gdb: xtensa: drop incorrect const from automatic variable Max Filippov
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).