]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: tidy RISC-V part in gdb/Makefile.in and gdb/configure.tgt
authortimurgol007 <timurgol007@gmail.com>
Mon, 6 Oct 2025 11:35:44 +0000 (14:35 +0300)
committertimurgol007 <timurgol007@gmail.com>
Mon, 6 Oct 2025 11:35:58 +0000 (14:35 +0300)
I noticed that the length of line in gdb/configure.tgt was more than
80 lines, so I straightened it out. Also, in gdb/Makefile.in newly added
file riscv-linux-canonicalize-syscall-gen.c was missed in ALLDEPFILES,
so I added it there. And the last change: one more file
riscv-linux-canonicalize-syscall-gen.o was not in alphabetical order.

gdb/Makefile.in
gdb/configure.tgt

index 3f645386a1e08505d7f202aebaebcf3ed4a529f8..91b164814d7fdab51782a19f71ffe463bfe67141 100644 (file)
@@ -770,8 +770,8 @@ ALL_64_TARGET_OBS = \
        mips-sde-tdep.o \
        mips-tdep.o \
        mips64-obsd-tdep.o \
-       riscv-linux-canonicalize-syscall-gen.o \
        riscv-fbsd-tdep.o \
+       riscv-linux-canonicalize-syscall-gen.o \
        riscv-linux-tdep.o \
        riscv-none-tdep.o \
        riscv-ravenscar-thread.o \
@@ -1929,6 +1929,7 @@ ALLDEPFILES = \
        remote-sim.c \
        riscv-fbsd-nat.c \
        riscv-fbsd-tdep.c \
+       riscv-linux-canonicalize-syscall-gen.c \
        riscv-linux-nat.c \
        riscv-linux-tdep.c \
        riscv-none-tdep.c \
index fd9036fdd44afba8a8994683e91946d29925050f..8d821a1b32e53c97ebc81a4a401bb40e9ddb9ed5 100644 (file)
@@ -546,9 +546,9 @@ riscv*-*-freebsd*)
 
 riscv*-*-linux*)
        # Target: Linux/RISC-V
-       gdb_target_obs="riscv-linux-tdep.o riscv-linux-canonicalize-syscall-gen.o \
-                       glibc-tdep.o linux-tdep.o solib-svr4.o solib-svr4-linux.o \
-                       symfile-mem.o \
+       gdb_target_obs="riscv-linux-canonicalize-syscall-gen.o \
+                       riscv-linux-tdep.o glibc-tdep.o linux-tdep.o \
+                       solib-svr4.o solib-svr4-linux.o symfile-mem.o \
                        linux-record.o svr4-tls-tdep.o"
        ;;