百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gdbserver

> 开发工具
开源

一个小巧的调试器实现了 GDB 远程串行协议。可以在 i386、x86_64、ARM 和 PowerPC 上运行。

184 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

一个小巧的调试器实现了 GDB 远程串行协议。可以在 i386、x86_64、ARM 和 PowerPC 上运行。

This project creates a tiny debugger based on ptrace. It implements the GDB Remote Serial Protocol, works like a real gdbserver and can be connected by gdb client.

Features

  • No extra dependencies. Only repies on glibc
  • Support basic debugging functions and some advance features, such as Host I/O and debugging multithreaded programs
  • Support multiple architectures (i386, x86_64, ARM and PowerPC)

Usage

You can compile it by

bash
$ make

or even

bash
$ gcc -std=gnu99 *.c -o gdbserver

And run it by

bash
$ ./gdbserver 127.0.0.1:1234 a.out

or you can attach an existed process

bash
$ ./gdbserver --attach 127.0.0.1:1234 23456

Then you can run normal gdb (Only GDB 8.x is tested) and connect it by

target remote 127.0.0.1:1234

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Carmdebuggergdbgdbserver

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具