~/talk

Give me 15 minutes & I'll change your view of GDB

Talkat CppCon 2015 · 2015-09-21..09-25· [c-and-cpp, developer-experience]
name:Greg Law
linkedin:gregthelaw
slides:none on file

Demos of GDB show three concrete workflows: use TUI mode (Ctrl‑X, Ctrl‑L, Ctrl‑P) to get source, asm and registers in curses windows; use the Python API to inspect and create breakpoint objects and pretty‑printers; and use reversible debugging plus a watchpoint (recording, reverse‑continue, reverse‑step) to find who wrote a bogus return address. The reversible run reproduces an intermittent crash, reveals an overwrite from index 35 into a 32‑element array (sizeof vs element count), and pinpoints the faulty write.

AI-written summary · about

  1. 0:00Intro
  2. 0:20GDB
  3. 2:25TUI
  4. 3:15Multiple windows
  5. 5:45Python interpreter
  6. 7:50breakpoints
  7. 9:10reversible debugging
~/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.