0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 808601f075fe3dd8ca101e31c9121a4e87f0bfc7 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Thu, 6 May 2021 07:45:00 +0200
  4. Subject: [PATCH] gdb/configure.tgt: build gdbserver with m68k and
  5. uclibc
  6. Allow to build gdbserver with m68k and uclibc:
  7. checking whether gdbserver is supported on this host... no
  8. configure: error: Automatic gdbserver build is not supported for this configuration
  9. Fixes:
  10. - http://autobuild.buildroot.org/results/f4d6d9d8418c0da48a3db4ad5a82e19bd16eae34
  11. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  12. ---
  13. gdb/configure.tgt | 4 ++--
  14. 1 file changed, 2 insertions(+), 2 deletions(-)
  15. diff --git a/gdb/configure.tgt b/gdb/configure.tgt
  16. index caa42be1c01..8666bc5d0bf 100644
  17. --- a/gdb/configure.tgt
  18. +++ b/gdb/configure.tgt
  19. @@ -372,12 +372,12 @@ m68hc11*-*-*|m6811*-*-*)
  20. gdb_sim=../sim/m68hc11/libsim.a
  21. ;;
  22. -m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
  23. +m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | \
  24. fido-*-elf*)
  25. # Target: Motorola m68k embedded
  26. gdb_target_obs="m68k-tdep.o"
  27. ;;
  28. -m68*-*-linux*)
  29. +m68*-*-*linux*)
  30. # Target: Motorola m68k with a.out and ELF
  31. gdb_target_obs="m68k-tdep.o m68k-linux-tdep.o solib-svr4.o \
  32. linux-tdep.o glibc-tdep.o symfile-mem.o"
  33. --
  34. 2.30.2