Skip to content

Instantly share code, notes, and snippets.

@cwoffenden
Created February 26, 2025 08:27
Show Gist options
  • Select an option

  • Save cwoffenden/da4dd8187b2b902b3393e547496ac3e0 to your computer and use it in GitHub Desktop.

Select an option

Save cwoffenden/da4dd8187b2b902b3393e547496ac3e0 to your computer and use it in GitHub Desktop.
GDB to DBX cheatsheet

From the SGI Discord (link)

gdb -> dbx cheatsheet
---------------------

b       stop at [line]/stop in [func]/stop [expression|variable]
bt      where
w       stop [var]
c       cont
tb      cont at line
disp    trace
s       step
n       next
        return
p       print
p/x     print x or px
f       func [level|function]
        also up/down the stack
call    ccall
        p func(...)
i r     printregs or pr
        px $r0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment