6 Star 52 Fork 16

H4lo/HatLab Tools Library

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Pre-built gdbserver executables for many platforms

These were used mostly on embedded devices. They were tested thoroughly and work very well- most if not all should have the most compatible options, i.e. software floating point emulation, etc. Some are actually customized for a specific CPU (i.e. the lexra build) so you might need to try a few on an exotic target because I didn't document things well enough while building. If you don't use the right one or you will get funny errors or segmentation faults. An error that contain s a paren almost always means that the endianness is incorect. Note some of these were built with musl while some were built with uClibc (in case you're interested)

Inventory

gdbserver-7.7.1-armel-eabi5-v1-sysv:                               ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked
gdbserver-7.7.1-armhf-eabi5-v1-sysv:                               ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked
gdbserver-7.7.1-armel-v1:                                          ELF 32-bit LSB executable, ARM, version 1, statically linked
gdbserver-7.12-i486-sysv:                                          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked
gdbserver-7.12-mipsel-mips32rel2-v1:                               ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, statically linked
gdbserver-7.12-mips-mips32rel2-v1:                                 ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1, statically linked
gdbserver-7.12-mipsel-mips32rel2-v1-sysv:                          ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked
gdbserver-7.12-mips-mips32rel2-v1-sysv:                            ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1 (SYSV), statically linked
gdbserver-7.7.1-mips-mips32-v1:                                    ELF 32-bit MSB executable, MIPS, MIPS32 version 1, statically linked
gdbserver-7.7.1-mipsel-mips32-v1:                                  ELF 32-bit LSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked
gdbserver-7.7.1-mips-mips32-v1-sysv:                               ELF 32-bit MSB executable, MIPS, MIPS32 version 1 (SYSV), statically linked
gdbserver-7.12-mips64-mips64rel2-v1-sysv:                          ELF 64-bit MSB executable, MIPS, MIPS64 rel2 version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-mips64rel2-v1-sysv:                        ELF 64-bit LSB executable, MIPS, MIPS64 rel2 version 1 (SYSV), statically linked
gdbserver-7.12-mips64-mips64-v1-sysv:                              ELF 64-bit MSB executable, MIPS, MIPS64 version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-mips64-v1-sysv:                            ELF 64-bit LSB executable, MIPS, MIPS64 version 1 (SYSV), statically linked
gdbserver-7.12-mips-mips64-v1-sysv:                                ELF 32-bit MSB executable, MIPS, MIPS64 version 1 (SYSV), statically linked
gdbserver-7.12-mips64-mips-iii-v1-sysv:                            ELF 64-bit MSB executable, MIPS, MIPS-III version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-mips-iii-v1-sysv:                          ELF 64-bit LSB executable, MIPS, MIPS-III version 1 (SYSV), statically linked
gdbserver-7.12-mips-mips-iii-v1-sysv:                              ELF 32-bit MSB executable, MIPS, MIPS-III version 1 (SYSV), statically linked
gdbserver-7.7.1-mipsel-ii-v1:                                      ELF 32-bit LSB executable, MIPS, MIPS-II version 1, statically linked
gdbserver-7.7.1-mips-mips-ii-v1:                                   ELF 32-bit MSB executable, MIPS, MIPS-II version 1, statically linked
gdbserver-7.12-mips-mips-i-v1:                                     ELF 32-bit MSB executable, MIPS, MIPS-I version 1, statically linked
gdbserver-7.12-mipsel-i-v1-sysv:                                   ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked
gdbserver-6.8-mips-i-rtl819x-lexra:                                ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked
gdbserver-7.12-mips-i-v1-rtl819x-rsdk-1.3.6-4181-EB-2.6.30-0.9.30: ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked
gdbserver-7.12-mips-i-v1-rtl819x-rsdk-1.3.6-5281-EB-2.6.30-0.9.30: ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked
gdbserver-7.7.1-mips-mips-i-v1-sysv:                               ELF 32-bit MSB executable, MIPS, MIPS-I version 1 (SYSV), statically linked
gdbserver-7.12-mips64-mips-iv-v1-sysv:                             ELF 64-bit MSB executable, MIPS, MIPS-IV version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-mips-iv-v1-sysv:                           ELF 64-bit LSB executable, MIPS, MIPS-IV version 1 (SYSV), statically linked
gdbserver-7.12-mips64-n32-rel2v1-v1-sysv:                          ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-n32-rel2v1-v1-sysv:                        ELF 32-bit LSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked
gdbserver-7.12-mips64-n32-mips64-v1-sysv:                          ELF 32-bit MSB executable, MIPS, N32 MIPS64 version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-n32-mips64-v1-sysv:                        ELF 32-bit LSB executable, MIPS, N32 MIPS64 version 1 (SYSV), statically linked
gdbserver-7.12-mips64-n32-mips-iii-v1-sysv:                        ELF 32-bit MSB executable, MIPS, N32 MIPS-III version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-n32-mips-iii-v1-sysv:                      ELF 32-bit LSB executable, MIPS, N32 MIPS-III version 1 (SYSV), statically linked
gdbserver-7.12-mips64-n32-mips-iv-v1-sysv:                         ELF 32-bit MSB executable, MIPS, N32 MIPS-IV version 1 (SYSV), statically linked
gdbserver-7.12-mipsel64-n32-mips-iv-v1-sysv:                       ELF 32-bit LSB executable, MIPS, N32 MIPS-IV version 1 (SYSV), statically linked
gdbserver-7.12-ppc-sysv:                                           ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked
gdbserver-7.12-x86_64-sysv:                                        ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked

These are not stripped, go ahead and strip them if you want. And once more, there are now many more than just gdbserver executables in this repository, explore the directory tree

Note The special rtl819x-lexra build. This is a build specific to rtl819x SoC with Lexra CPU. Lexra CPUs are a MIPS-I with some standard MIPS instructions not implemented, specifically unaligned/half-word loads, stores, shifts. Silly. Thanks to https://github.com/KrabbyPatty/rtl819x-toolchain for making a toolchain available to build this specific binary. I was unable to get gdb 7.7.1 to build, so it is version 6.8. Note The ARMEL OABI/Old ABI is supported via gdbserver-7.7.1-armel-v1

Other options

If you want to build your own gdbserver from some toolchain of your own, take a look at my other repo @ https://github.com/mzpqnxow/gdb-7.12-crossbuilder as it may save you an hour or two of toiling with gdb, which doesn't have a straightforward README or configure option to produce a statically linked gdbserver

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/h4lo1/HatLab_Tools_Library.git
git@gitee.com:h4lo1/HatLab_Tools_Library.git
h4lo1
HatLab_Tools_Library
HatLab Tools Library
master

搜索帮助