Sign inSign up

haggaie/gdb

By haggaie

•Updated about 7 years ago

gdb docker container

Image
0

555

haggaie/gdb repository overview

⁠GDB docker container

The goal of this container is to wrap an up-to-date version of gdb so that it can be used on older distributions using remote debugging.

⁠Build

$ docker build --tag=haggaie/gdb - < Dockerfile

⁠Run

$ docker run -it -v $(pwd):$(pwd) --workdir $(pwd) haggaie/gdb

⁠Remote kernel debugging

See https://www.kernel.org/doc/Documentation/dev-tools/gdb-kernel-debugging.rst⁠

(gdb) add-auto-load-safe-path .
(gdb) file vmlinux
(gdb) target remote 172.17.0.1:1234

Tag summary

Content type

Image

Digest

Size

21.6 MB

Last updated

about 7 years ago

docker pull haggaie/gdb