Hi, 2018-10-11 11:44 GMT+02:00, Peter Kay <[email protected]>: > Just looking at writing a small enhancement to dhcpd, and starting to use > gdb properly for the first time. OK, it is functional, but it's a bit > awkward compared to graphical alternatives. > What does everyone use? I can see ddd and eclipse exist at least. > Typically I've used windbg on Windows (and historically various others > such as Watcom). > I don't have an issue typing in commands, but a constant display of > source and local/global variables would be terribly useful. Ideally plus > an arbitrary memory display, and some understanding of C/C++ structures. > PK >
For normal programming stuff i really like the gdb interface integrated in emacs. It really works well. But for deep dives i like to have more control, for that i use pure gdb + voltron [0]. And gdb has an understanding of structs and the local stack as long as nothing is thrashed to much. Look at the print command. But on OpenBSD you might want to install the gdb from the packages, because the gdb in base lacks a lot of features when it comes to convenience and hand holding. The gdb from packages is then called egdb. [0] https://github.com/snare/voltron BR

