Can anyone recommend a good cheat sheet for gbd? I'm experienced with windbg commands, I'm looking for gdb equivalents for lml (list loaded modules), ~*k (all threads stack), ba (break on access), dt (dump type), dv (dump frame variables), sxe (set up SEH handler) etc. I understand there won't be a 1 to 1 equivalent, but I just need a condensed summary of most used/usefull commands.
Use the set variable (gdb) and the assign (dbx) commands to change the value associated with a variable, memory address, or expression that is accessible according to the scope and visibility rules of the language. The expression can be any expression that is valid in the current context.
Enables automatic displaying of certain expressions each time GDB stops at a breakpoint or after a step.
stepi or si Execute one machine instruction (follows a call). step or s Execute one C-program statement (steps into functions).
I use this one personally: gdb's cheat sheet or that link is not broken yet .. . I 've printed it at work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With