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 tp_t typedef
[deliverable/binutils-gdb.git]
/
gdb
/
sparc-ravenscar-thread.c
diff --git
a/gdb/sparc-ravenscar-thread.c
b/gdb/sparc-ravenscar-thread.c
index b222e77c7876d8d7aef84ee4596a0488fa617663..1cd1915a93ca390b2fc96fcfa505b193de72d809 100644
(file)
--- a/
gdb/sparc-ravenscar-thread.c
+++ b/
gdb/sparc-ravenscar-thread.c
@@
-1,6
+1,6
@@
/* Ravenscar SPARC target support.
/* Ravenscar SPARC target support.
- Copyright
2004-2013
Free Software Foundation, Inc.
+ Copyright
(C) 2004-2018
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-62,11
+62,11
@@
static void
supply_register_at_address (struct regcache *regcache, int regnum,
CORE_ADDR register_addr)
{
supply_register_at_address (struct regcache *regcache, int regnum,
CORE_ADDR register_addr)
{
- struct gdbarch *gdbarch =
get_regcache_arch (regcache
);
+ struct gdbarch *gdbarch =
regcache->arch (
);
int buf_size = register_size (gdbarch, regnum);
int buf_size = register_size (gdbarch, regnum);
-
char
*buf;
+
gdb_byte
*buf;
- buf = (
char
*) alloca (buf_size);
+ buf = (
gdb_byte
*) alloca (buf_size);
read_memory (register_addr, buf, buf_size);
regcache_raw_supply (regcache, regnum, buf);
}
read_memory (register_addr, buf, buf_size);
regcache_raw_supply (regcache, regnum, buf);
}
@@
-103,7
+103,7
@@
register_in_thread_descriptor_p (int regnum)
static void
sparc_ravenscar_fetch_registers (struct regcache *regcache, int regnum)
{
static void
sparc_ravenscar_fetch_registers (struct regcache *regcache, int regnum)
{
- struct gdbarch *gdbarch =
get_regcache_arch (regcache
);
+ struct gdbarch *gdbarch =
regcache->arch (
);
const int sp_regnum = gdbarch_sp_regnum (gdbarch);
const int num_regs = gdbarch_num_regs (gdbarch);
int current_regnum;
const int sp_regnum = gdbarch_sp_regnum (gdbarch);
const int num_regs = gdbarch_num_regs (gdbarch);
int current_regnum;
@@
-155,9
+155,9
@@
sparc_ravenscar_prepare_to_store (struct regcache *regcache)
static void
sparc_ravenscar_store_registers (struct regcache *regcache, int regnum)
{
static void
sparc_ravenscar_store_registers (struct regcache *regcache, int regnum)
{
- struct gdbarch *gdbarch =
get_regcache_arch (regcache
);
+ struct gdbarch *gdbarch =
regcache->arch (
);
int buf_size = register_size (gdbarch, regnum);
int buf_size = register_size (gdbarch, regnum);
-
char buf
[buf_size];
+
gdb_byte buf
[buf_size];
ULONGEST register_address;
if (register_in_thread_descriptor_p (regnum))
ULONGEST register_address;
if (register_in_thread_descriptor_p (regnum))
This page took
0.024501 seconds
and
4
git commands to generate.