mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
gdb: remove unused variables in xtensa-linux-nat.c
While build-testing this file, the compiler complained about these two unused variables, remove them. Change-Id: I3c54f779f12c16ef6184af58aca75eaad042ce4e
This commit is contained in:
parent
2d2bb0d3f2
commit
39cdfdb261
@ -204,7 +204,6 @@ fetch_gregs (struct regcache *regcache, int regnum)
|
||||
{
|
||||
int tid = regcache->ptid ().lwp ();
|
||||
gdb_gregset_t regs;
|
||||
int areg;
|
||||
|
||||
if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0)
|
||||
{
|
||||
@ -223,7 +222,6 @@ store_gregs (struct regcache *regcache, int regnum)
|
||||
{
|
||||
int tid = regcache->ptid ().lwp ();
|
||||
gdb_gregset_t regs;
|
||||
int areg;
|
||||
|
||||
if (ptrace (PTRACE_GETREGS, tid, 0, (long) ®s) < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user