diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-12-15 14:29:31 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-12-15 14:29:31 +0000 |
commit | c16998a76c35561d1213cd8d0c44e76350d84529 (patch) | |
tree | 41d573df2ea1aca3054e6f93e4129567ffe16d23 | |
parent | e6f9c00b642fb0415c03f81ae8f374837e0a3a39 (diff) | |
download | binutils-gdb-c16998a76c35561d1213cd8d0c44e76350d84529.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/sparc-ravenscar-thread.c | 22 | ||||
-rw-r--r-- | gdb/sparc-ravenscar-thread.h | 4 |
3 files changed, 21 insertions, 13 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c403ecc7fa5..645a176e8e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2012-12-15 Joel Brobecker <brobecker@adacore.com> + * 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. + +2012-12-15 Joel Brobecker <brobecker@adacore.com> + * sparc-ravenscar-thread.h: Renames ravenscar-sparc-thread.h. * sparc-ravenscar-thread.c: Renames ravenscar-sparc-thread.c. Adjust sparc-ravenscar-thread.h #include. diff --git a/gdb/sparc-ravenscar-thread.c b/gdb/sparc-ravenscar-thread.c index da80dc86231..09bd2e1fe3c 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); } diff --git a/gdb/sparc-ravenscar-thread.h b/gdb/sparc-ravenscar-thread.h index fc86e695a6e..7115709690e 100644 --- a/gdb/sparc-ravenscar-thread.h +++ b/gdb/sparc-ravenscar-thread.h @@ -17,8 +17,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef RAVENSCAR_SPARC_THREAD_H -#define RAVENSCAR_SPARC_THREAD_H +#ifndef SPARC_RAVENSCAR_THREAD_H +#define SPARC_RAVENSCAR_THREAD_H struct gdbarch; |