Rename ravenscar-sparc-thread.[hc] into sparc-ravenscar-thread.[hc].
authorJoel Brobecker <brobecker@gnat.com>
Sat, 15 Dec 2012 14:29:00 +0000 (14:29 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 15 Dec 2012 14:29:00 +0000 (14:29 +0000)
gdb/ChangeLog:

        * sparc-ravenscar-thread.h: Renames ravenscar-sparc-thread.h.
        * sparc-ravenscar-thread.c: Renames ravenscar-sparc-thread.c.
        Adjust sparc-ravenscar-thread.h #include.
        * sparc-tdep.c: Adjust sparc-ravenscar-thread.h #include
        accordingly.
        * Makefile.in: Replace ravenscar-sparc-thread with
        sparc-ravenscar-thread throughout.
        * configure.tgt: Likewise.

gdb/ChangeLog
gdb/Makefile.in
gdb/configure.tgt
gdb/sparc-ravenscar-thread.c [moved from gdb/ravenscar-sparc-thread.c with 99% similarity]
gdb/sparc-ravenscar-thread.h [moved from gdb/ravenscar-sparc-thread.h with 100% similarity]
gdb/sparc-tdep.c

index a35f122..c403ecc 100644 (file)
@@ -1,5 +1,16 @@
 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.
+       * sparc-tdep.c: Adjust sparc-ravenscar-thread.h #include
+       accordingly.
+       * Makefile.in: Replace ravenscar-sparc-thread with
+       sparc-ravenscar-thread throughout.
+       * configure.tgt: Likewise.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
        * gdbarch.sh: Add "struct ravenscar_arch_ops" advance
        declaration.
        (ravenscar_ops): New gdbarch variable.
index 3c83a0e..a646e64 100644 (file)
@@ -570,7 +570,7 @@ ALL_TARGET_OBS = \
        score-tdep.o \
        sh64-tdep.o sh-linux-tdep.o shnbsd-tdep.o sh-tdep.o \
        sparc-linux-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
-       sparc-sol2-tdep.o sparc-tdep.o ravenscar-sparc-thread.o \
+       sparc-sol2-tdep.o sparc-tdep.o sparc-ravenscar-thread.o \
        spu-tdep.o spu-multiarch.o solib-spu.o \
        tic6x-tdep.o tic6x-linux-tdep.o \
        tilegx-tdep.o tilegx-linux-tdep.o \
@@ -831,7 +831,7 @@ gnulib/import/stddef.in.h gnulib/import/inttypes.in.h inline-frame.h skip.h \
 common/common-utils.h common/xml-utils.h common/buffer.h common/ptid.h \
 common/format.h common/host-defs.h utils.h common/queue.h \
 common/linux-osdata.h gdb-dlfcn.h auto-load.h probe.h stap-probe.h \
-gdb_bfd.h ravenscar-sparc-thread.h
+gdb_bfd.h sparc-ravenscar-thread.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
@@ -1501,7 +1501,7 @@ ALLDEPFILES = \
        sparc64-nat.c sparc64-tdep.c sparc64fbsd-nat.c sparc64fbsd-tdep.c \
        sparc64nbsd-nat.c sparc64nbsd-tdep.c sparc64obsd-tdep.c \
        sparcnbsd-nat.c sparcnbsd-tdep.c sparcobsd-tdep.c \
-       ravenscar-sparc-thread.c \
+       sparc-ravenscar-thread.c \
        spu-linux-nat.c spu-tdep.c spu-multiarch.c solib-spu.c \
        tilegx-linux-nat.c tilegx-tdep.c tilegx-linux-tdep.c \
        v850-tdep.c \
index c13bd97..856b998 100644 (file)
@@ -476,7 +476,7 @@ sparc-*-linux*)
        gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
                        sparc-linux-tdep.o solib-svr4.o symfile-mem.o \
                        linux-tdep.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        if test "x$enable_64_bit_bfd" = "xyes"; then
            # Target: GNU/Linux UltraSPARC
            gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o \
@@ -489,62 +489,62 @@ sparc64-*-linux*)
        gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o \
                        sparc64-linux-tdep.o sparc-tdep.o sparc-sol2-tdep.o \
                        sparc-linux-tdep.o solib-svr4.o linux-tdep.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        build_gdbserver=yes
        ;;
 sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu)
        # Target: FreeBSD/sparc64
        gdb_target_obs="sparc-tdep.o sparc64-tdep.o sparc64fbsd-tdep.o \
                        solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
        # Target: NetBSD/sparc
        gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o nbsd-tdep.o \
                        solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
        # Target: NetBSD/sparc64
        gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc-tdep.o \
                        sparcnbsd-tdep.o nbsd-tdep.o solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-openbsd*)
        # Target: OpenBSD/sparc
        gdb_target_obs="sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
                        nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc64-*-openbsd*)
        # Target: OpenBSD/sparc64
        gdb_target_obs="sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
                        sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o \
                        nbsd-tdep.o obsd-tdep.o bsd-uthread.o solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
        # Target: Solaris SPARC
        gdb_target_obs="sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o \
                        solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
        # Target: Solaris UltraSPARC
        gdb_target_obs="sparc64-tdep.o sparc64-sol2-tdep.o sparc-tdep.o \
                        sparc-sol2-tdep.o sol2-tdep.o solib-svr4.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 sparc-*-*)
        # Target: SPARC
        gdb_target_obs="sparc-tdep.o 
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        gdb_sim=../sim/erc32/libsim.a
        ;;
 sparc64-*-*)
        # Target: UltraSPARC
        gdb_target_obs="sparc-tdep.o sparc64-tdep.o \
-                       ravenscar-thread.o ravenscar-sparc-thread.o"
+                       ravenscar-thread.o sparc-ravenscar-thread.o"
        ;;
 
 spu*-*-*)
similarity index 99%
rename from gdb/ravenscar-sparc-thread.c
rename to gdb/sparc-ravenscar-thread.c
index 93888c8..da80dc8 100644 (file)
@@ -23,7 +23,7 @@
 #include "sparc-tdep.h"
 #include "inferior.h"
 #include "ravenscar-thread.h"
-#include "ravenscar-sparc-thread.h"
+#include "sparc-ravenscar-thread.h"
 
 static void ravenscar_sparc_fetch_registers (struct regcache *regcache,
                                              int regnum);
index 7dfa7da..42d6f7e 100644 (file)
@@ -39,7 +39,7 @@
 #include "gdb_string.h"
 
 #include "sparc-tdep.h"
-#include "ravenscar-sparc-thread.h"
+#include "sparc-ravenscar-thread.h"
 
 struct regset;