~/talk

Become a GDB Power User

Talkat ACCU 2016 · on Saturday, 2016-04-23· [c-and-cpp]
name:Greg Law
linkedin:gregthelaw
slides:none on file

Demos show concrete GDB tricks: use TUI mode for side-by-side source/disassembly, load Python scripts to build pretty-printers and automatic handlers, and attach hooks to events. Reversible debugging records every instruction (observed up to ~50,000× slowdown) so reverse-continue and a hardware watchpoint find an out‑of‑bounds write (index 33 into a 32 element array). Also covered: dynamic printf without editing code, fork/multi‑process follow modes, and saved command history.

AI-written summary · about

  1. 0:00Debugging and GDB intro
  2. 3:02GDB TUI mode
  3. 9:55Python scripting in GDB
  4. 24:12Reversible debugging
  5. 37:04Multiprocess/multithread debugging
  6. 51:27Advanced watch/break points
  7. 1:00:06Dynamic print and catch points
  8. 1:15:27Optimization vs debug info
  9. 1:21:09Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.