aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-ravenscar-thread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-15 14:29:31 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-15 14:29:31 +0000
commitc16998a76c35561d1213cd8d0c44e76350d84529 (patch)
tree41d573df2ea1aca3054e6f93e4129567ffe16d23 /gdb/sparc-ravenscar-thread.c
parente6f9c00b642fb0415c03f81ae8f374837e0a3a39 (diff)
downloadgdb-c16998a76c35561d1213cd8d0c44e76350d84529.zip
gdb-c16998a76c35561d1213cd8d0c44e76350d84529.tar.gz
gdb-c16998a76c35561d1213cd8d0c44e76350d84529.tar.bz2
change ravenscar_sparc prefixes into sparc_ravenscar...
... following the file renaming in the previous commit. gdb/ChangeLog: * sparc-ravenscar-thread.h: SPARC_RAVENSCAR_THREAD_H renames RAVENSCAR_SPARC_THREAD_H. * sparc-ravenscar-thread.c: Rename all global entities whose name is uses "ravenscar_sparc" as the prefix to use "sparc_ravenscar" instead.
Diffstat (limited to 'gdb/sparc-ravenscar-thread.c')
-rw-r--r--gdb/sparc-ravenscar-thread.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/sparc-ravenscar-thread.c b/gdb/sparc-ravenscar-thread.c
index da80dc8..09bd2e1 100644
--- a/gdb/sparc-ravenscar-thread.c
+++ b/gdb/sparc-ravenscar-thread.c
@@ -25,11 +25,11 @@
#include "ravenscar-thread.h"
#include "sparc-ravenscar-thread.h"
-static void ravenscar_sparc_fetch_registers (struct regcache *regcache,
+static void sparc_ravenscar_fetch_registers (struct regcache *regcache,
int regnum);
-static void ravenscar_sparc_store_registers (struct regcache *regcache,
+static void sparc_ravenscar_store_registers (struct regcache *regcache,
int regnum);
-static void ravenscar_sparc_prepare_to_store (struct regcache *regcache);
+static void sparc_ravenscar_prepare_to_store (struct regcache *regcache);
/* Register offsets from a referenced address (exempli gratia the
Thread_Descriptor). The referenced address depends on the register
@@ -101,7 +101,7 @@ register_in_thread_descriptor_p (int regnum)
thread. */
static void
-ravenscar_sparc_fetch_registers (struct regcache *regcache, int regnum)
+sparc_ravenscar_fetch_registers (struct regcache *regcache, int regnum)
{
struct gdbarch *gdbarch = get_regcache_arch (regcache);
const int sp_regnum = gdbarch_sp_regnum (gdbarch);
@@ -144,7 +144,7 @@ ravenscar_sparc_fetch_registers (struct regcache *regcache, int regnum)
thread. */
static void
-ravenscar_sparc_prepare_to_store (struct regcache *regcache)
+sparc_ravenscar_prepare_to_store (struct regcache *regcache)
{
/* Nothing to do. */
}
@@ -153,7 +153,7 @@ ravenscar_sparc_prepare_to_store (struct regcache *regcache)
thread. */
static void
-ravenscar_sparc_store_registers (struct regcache *regcache, int regnum)
+sparc_ravenscar_store_registers (struct regcache *regcache, int regnum)
{
struct gdbarch *gdbarch = get_regcache_arch (regcache);
int buf_size = register_size (gdbarch, regnum);
@@ -178,11 +178,11 @@ ravenscar_sparc_store_registers (struct regcache *regcache, int regnum)
buf_size);
}
-static struct ravenscar_arch_ops ravenscar_sparc_ops =
+static struct ravenscar_arch_ops sparc_ravenscar_ops =
{
- ravenscar_sparc_fetch_registers,
- ravenscar_sparc_store_registers,
- ravenscar_sparc_prepare_to_store
+ sparc_ravenscar_fetch_registers,
+ sparc_ravenscar_store_registers,
+ sparc_ravenscar_prepare_to_store
};
/* Register ravenscar_arch_ops in GDBARCH. */
@@ -190,5 +190,5 @@ static struct ravenscar_arch_ops ravenscar_sparc_ops =
void
register_sparc_ravenscar_ops (struct gdbarch *gdbarch)
{
- set_gdbarch_ravenscar_ops (gdbarch, &ravenscar_sparc_ops);
+ set_gdbarch_ravenscar_ops (gdbarch, &sparc_ravenscar_ops);
}