projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove duplicate or commented-out #includes
[deliverable/binutils-gdb.git]
/
gdb
/
m32r-linux-tdep.c
diff --git
a/gdb/m32r-linux-tdep.c
b/gdb/m32r-linux-tdep.c
index 561821802392d33b5242b63ea55f369fe8cb6d85..4c088ec0dee2b2b79ad850e4886dd04a669086c9 100644
(file)
--- a/
gdb/m32r-linux-tdep.c
+++ b/
gdb/m32r-linux-tdep.c
@@
-1,6
+1,6
@@
/* Target-dependent code for GNU/Linux m32r.
/* Target-dependent code for GNU/Linux m32r.
- Copyright (C) 2004-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2004-201
9
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-401,7
+401,7
@@
m32r_linux_collect_gregset (const struct regset *regset,
ULONGEST psw;
gdb_byte buf[4];
ULONGEST psw;
gdb_byte buf[4];
- regcache
_raw_collect (regcache,
PSW_REGNUM, buf);
+ regcache
->raw_collect (
PSW_REGNUM, buf);
psw = extract_unsigned_integer (buf, 4, byte_order);
for (i = 0; i < ARRAY_SIZE (m32r_pt_regs_offset); i++)
psw = extract_unsigned_integer (buf, 4, byte_order);
for (i = 0; i < ARRAY_SIZE (m32r_pt_regs_offset); i++)
@@
-420,12
+420,11
@@
m32r_linux_collect_gregset (const struct regset *regset,
case CBR_REGNUM:
break;
case M32R_SP_REGNUM:
case CBR_REGNUM:
break;
case M32R_SP_REGNUM:
- regcache
_raw_collect (regcache, i, regs
-
+ ((psw & 0x80) ? SPU_OFFSET : SPI_OFFSET));
+ regcache
->raw_collect
+
(i, regs
+ ((psw & 0x80) ? SPU_OFFSET : SPI_OFFSET));
break;
default:
break;
default:
- regcache_raw_collect (regcache, i,
- regs + m32r_pt_regs_offset[i]);
+ regcache->raw_collect (i, regs + m32r_pt_regs_offset[i]);
}
}
}
}
}
}
@@
-441,7
+440,8
@@
m32r_linux_iterate_over_regset_sections (struct gdbarch *gdbarch,
void *cb_data,
const struct regcache *regcache)
{
void *cb_data,
const struct regcache *regcache)
{
- cb (".reg", M32R_LINUX_GREGS_SIZE, &m32r_linux_gregset, NULL, cb_data);
+ cb (".reg", M32R_LINUX_GREGS_SIZE, M32R_LINUX_GREGS_SIZE, &m32r_linux_gregset,
+ NULL, cb_data);
}
static void
}
static void
This page took
0.024063 seconds
and
4
git commands to generate.