Msys2 uses the Pacman package management tool to update the software package with the following commands (in version 20200903, Tsinghua tuna and other domestic sources have been added by default, and there is no need to update the source configuration file)Īfter the execution of this command, it will automatically close the current terminal according to the prompt. Pkgdesc='The GNU Debugger for all gdb supported architectures (i386/arm/mips.)'ĭepends=(xz ncurses expat python guile2.Normal installation of "msys2-x86"_ 64-20200903.exe ", the default installation path of the system is C: // msys64, and msys2.exe will automatically run after the installation +++ -1,7 +1,7 Maintainer: Aviel Warschawski
depends=(xz ncurses expat python guile gdb-common=$pkgver) └────╼ diff gdb-multiarch/PKGBUILD gdb-multiarch-fix/PKGBUILD You can find below the diff what fixes the issue: ┌─╼ arch
I've modified PKGBUILD as mentioned in that thread the problem was solved. Suggest passing -data-directory=/path/to/gdb/data-directory.Īfter searching about it I've found this thread reporting the same problem with arm-none-eabi-gdb: Gdb-multiarch: warning: Could not complete Guile gdb module initialization from:
Make: Leaving directory '/home//.cache/yay/gdb-multiarch/src/gdb-11.2/build' Make: Leaving directory '/home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim' Make: Leaving directory '/home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim/microblaze' usr/include/bits/mathcalls-narrow.h:36:20: note: previous declaration of ‘fsqrt’ with type ‘float(double)’ģ6 | _MATHCALL_NARROW (_MATHCALL_NAME (sqrt), _MATHCALL_REDIR_NAME2 (sqrt), 1) home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim/././sim/microblaze/././opcodes/microblaze-opcm.h:45:9: error: ‘fsqrt’ redeclared as different kind of symbol Teget, tecget, tneget, tnecget, teput, tecput, tneput, tnecput,Īnyone else getting this? In file included from /home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim/././sim/microblaze/microblaze.h:21,įrom /home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim/././sim/microblaze/sim-main.h:21,įrom /home//.cache/yay/gdb-multiarch/src/gdb-11.2/build/sim/././sim/microblaze/./common/dv-cfi.c:37: Tget, tcget, tnget, tncget, tput, tcput, tnput, tncput,Įget, ecget, neget, necget, eput, ecput, neput, necput, Sbi, shi, swi, msrset, msrclr, tuqula, mbi_fadd, frsub, mbi_fmul, mbi_fdiv,įcmp_lt, fcmp_eq, fcmp_le, fcmp_gt, fcmp_ne, fcmp_ge, fcmp_un, flt, ,ĭiff -git a/opcodes/microblaze-opcm.h b/opcodes/microblaze-opcm.h
Here is a version of the patch applicable to the package: diff -git a/opcodes/microblaze-opc.h b/opcodes/microblaze-opc.h