From: timurgol007 Date: Mon, 6 Oct 2025 11:35:44 +0000 (+0300) Subject: gdb: tidy RISC-V part in gdb/Makefile.in and gdb/configure.tgt X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cbb6ca05573754cda022edd9747697b99557ee1;p=thirdparty%2Fbinutils-gdb.git gdb: tidy RISC-V part in gdb/Makefile.in and gdb/configure.tgt 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. --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 3f645386a1e..91b164814d7 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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 \ diff --git a/gdb/configure.tgt b/gdb/configure.tgt index fd9036fdd44..8d821a1b32e 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -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" ;;