Advanced Debugging with GDB

preview_player
Показать описание
In this video, we go deeper into GDB: conditional breakpoints, post-mortem debugging with coredumps, checkpoints, remote debugging and more.
Рекомендации по теме
Комментарии
Автор

This is the single best debugging video I have ever watched, ever.

michaelscofield
Автор

Super fan here! Thanks a ton for this great 👍 work!😍

eggachecat
Автор

It would be cool if you make a video series about creating a Desktop Enviroment or window Manager with X11

FedoraRose
Автор

Excellent share :D Thank you very much

xiaoyiye
Автор

for stripping the debug info from the exec. I think you are looking for --gsplit-dwarf argument for gcc.

olegpatraschku
Автор

From GDB 14 on, tracepoints seem to be working again (they have been broken since v9 apparently). What I have not succeeded in is usung tsave and then loading with remote tfile. Traces appear always empty.

elburgos
Автор

Oh, it does make sense to name the bad guy after an OS. You are probably too young to understand this. When I was as student I came into contact with IBM's CMS running on an Amdahl Mainframe. It was already heavily out-dated by then but still kept alive for running legacy software.
The user experience was so terrible that I can fully understand the joke. I had to debug some old Fortran programs for a research institute and it was a good thing that the IBM 3278 terminal came with a durable steel case. Not only I would regularly band on it.

BTW - great talk! Thanks!

bernhardgubanka
Автор

At least I know now that "tracing" is also not working for others :)

tekstuff
Автор

Thanks Sir! For Great gdbTips..

Curious about "gdb multi arc"

dineshdange
Автор

wouldn't you just use the linux ftrace command for tracing ?

edwardmacnab
Автор

You can jump into a gdb session with a coredump loaded with coredumpctl debug. No need for the extra step of dumping the coredump.

torsten_dev