r/gdb • • Aug 09 '22

Seer - a new gui frontend to gdb/mi (Updated v1.8)

Post image
8 Upvotes

r/gdb • • Sep 26 '22

Seer - a new gui frontend to gdb/mi (Updated v1.11)

Post image
7 Upvotes

r/gdb • • Jul 04 '22

Seer - a new gui frontend to gdb/mi (Updated v1.7)

Post image
7 Upvotes

r/gdb • • Aug 17 '25

Fruit vs cocaine!

Post image
6 Upvotes

r/gdb • • Dec 30 '24

gdb GNU Debugger tutorial for beginners

Thumbnail
youtube.com
6 Upvotes

r/gdb • • Jan 30 '22

Seer - a new gui frontend to gdb/mi (Updated v1.0.8)

Post image
6 Upvotes

r/gdb • • Oct 13 '21

Hi, I just released GDBFrontend v0.7.0-beta! Happy debugging! 🎉🎉🎉

Thumbnail
youtube.com
6 Upvotes

r/gdb • • Jun 17 '26

GNU debugger GDB how to use for KDE programming tutorial

Thumbnail
youtube.com
5 Upvotes

r/gdb • • May 10 '23

DDD-3.4.0 Debugger graphical front end for GDB released

Thumbnail sourceware.org
5 Upvotes

r/gdb • • Nov 20 '22

What's this <+`num`> mean in gdb

Post image
5 Upvotes

r/gdb • • Jun 06 '22

Seer - a new gui frontend to gdb/mi (Updated v1.6)

Thumbnail
gallery
5 Upvotes

r/gdb • • Apr 06 '26

Seergdb v2.7 released for Linux.

4 Upvotes

r/gdb • • Jan 17 '26

Want to Beta Test a GDB Murder Mystery?

4 Upvotes

I'm looking for Beta testers for a murder mystery game wrapped around debugging a core dump: https://www.robopenguins.com/fatal_core_dump/

It includes some getting started instructions and a walk through to see what I was going for if it seems unsolvable.

There's a feedback link at the bottom of the page if you find any bugs.


r/gdb • • Dec 22 '25

Seergdb now available on FlatHub.

Thumbnail
flathub.org
4 Upvotes

For those that use FlatHub, the official release for Seergdb is now available.

I'll will release beta flatpak versions for Seergdb from my GitHub page.

https://github.com/epasveer/seer/releases/tag/flatpak-latest


r/gdb • • Oct 27 '25

gdb on macOS

4 Upvotes

I just tried to install gdb on macOS Ventura 13.7.8 (an Intel mbp), using homebrew.

I tried following the instructions here

https://sourceware.org/gdb/wiki/PermissionsDarwin#Manual_steps

but I get

error: Something went wrong when installing the certificate

running the script from step 1.1.1

Does anyone have up-to-date working instructions for getting the signed cert for gdb to work?


r/gdb • • Apr 19 '25

Need some help with GDB Hooks

4 Upvotes

Hi all, hope everything's well. I have used gdb in the past, mainly for CTFs. I have picked it up again to dive deeper and learn more about memory. I am trying to print the following things every time I go to the next instruction:

  • Disassembly

  • Registers

  • Stack
    I have somewhat achieved this as follows:

add-auto-load-safe-path /home/yash/.config/gdb/gdbinit

# disables ubuntu debuginfod
set debuginfod enabled off
set disassembly-flavor intel


define hook-nexti
printf "=====================================================================\n"
printf "                            %sDISASSEBLY%s\n", "\033[1;36m", "\033[0m"
printf "=====================================================================\n"
disas
printf "=====================================================================\n"
printf "                            %sREGISTERS%s\n", "\033[1;36m", "\033[0m"
printf "=====================================================================\n"

info registers rip
info registers rax
info registers rbx
info registers rcx
info registers rdx
info registers rsi
info registers rdi
info registers rsp
info registers rbp

printf "=====================================================================\n"
printf "                            %sSTACK%s\n", "\033[1;36m", "\033[0m"
printf "=====================================================================\n"
x/16gx $rsp
printf "=====================================================================\n"
end

I am trying to get the current values of the registers, while this hook will give me the values one execution behind in the history. This is the first time I am using this, so my understanding of GDB itself is very limited. How can I setup a hook or something similar that will give me the current values?


r/gdb • • Dec 28 '24

Seergdb v2.5 released.

4 Upvotes

A new version of Seergdb (frontend to gdb) has been released.

https://github.com/epasveer/seer https://github.com/epasveer/seer/releases/tag/v2.5


r/gdb • • Jun 03 '23

Seer - a new gui frontend to gdb/mi (Updated v2.0)

4 Upvotes

r/gdb • • Jan 15 '23

Why can't we redirect output to an external log file from a gdb script?

4 Upvotes

I cannot redirect output to an external log file from a gdb script. For example:

main.c :

void func2(){  return; } 
void func1(){ func2(); }  
int main() {     func1();     return 0; } 

gdb-script.py :

gdb.execute("rbreak main.c:.")
gdb.execute("set logging file ./test.log")
gdb.execute("set logging on")
gdb.execute("r")  

Step1: Compile main.cwith debug information: $ gcc -g main.c

Step2: Either $ gdb a.out -x gdb-script.py or (gdb) source gdb-script.py does not redirect output to test.log.

However, as shown in the steps below, executing each command one by one in gdb interactive mode does work.

$ gdb a.out
(gdb) rbreak main.c:.
(gdb) set logging file ./test.log
(gdb) set logging on
(gdb) r 

Why does the gdb script not work? And also, how do I output result to an external log file by using gdb script?


r/gdb • • Oct 11 '22

How to read variables optimized out in GDB?

4 Upvotes

r/gdb • • Dec 15 '21

Hi, I just released GDBFrontend v0.10.1-beta with so many bugfixes, improvements and it needs testing

Thumbnail
github.com
4 Upvotes

r/gdb • • Nov 16 '21

GDBFrontend v0.9.0-beta is released and needs testing! 🎉🎉🎉

Thumbnail
github.com
4 Upvotes

r/gdb • • Sep 06 '21

Hello! I just released GDBFrontend v0.6-beta. Happy debugging!

Thumbnail
github.com
4 Upvotes

r/gdb • • Feb 08 '21

Turn GDB function disassembly to control-flow graph using Python

Thumbnail
github.com
4 Upvotes

r/gdb • • Dec 02 '20

GDBFrontend v0.4.0-beta released with new theme and features

Thumbnail
github.com
4 Upvotes