Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2018-02-23 22:45:28
Size: 137
Editor: SamatJain
Comment:
Revision 4 as of 2020-04-21 06:37:14
Size: 562
Editor: SamatJain
Comment: generate-core-file and RHEL 7.7 bug
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * https://github.com/trstringer/cli-debugging-cheatsheets/blob/master/c.md

== Quick reference ==

 * List all variables in current context: `info locals` if at a breakpoint, or `bt full` if at a breakpoint
 * `generate-core-file` to generate a coredump. Be aware of [[https://bugzilla.redhat.com/show_bug.cgi?id=1099405|this bug on RHEL 7.x]], for which the workaround is `info threads` before creating the coredump.

Stuff about GNU Debugger (AKA gdb).

Quick reference

  • List all variables in current context: info locals if at a breakpoint, or bt full if at a breakpoint

  • generate-core-file to generate a coredump. Be aware of this bug on RHEL 7.x, for which the workaround is info threads before creating the coredump.

SamatsWiki: GnuDebugger (last edited 2020-06-06 03:33:53 by SamatJain)