This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
session:04-gdb [2018/06/16 11:48] Rareş-Mihail VISALOM (67101) [Practice the basic stuff] |
session:04-gdb [2020/07/19 12:49] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
Although it is a powerful tool, gdb is pretty cumbersome to use by itself. Even simple tasks such as execution tracing are made difficult by the lack of " | Although it is a powerful tool, gdb is pretty cumbersome to use by itself. Even simple tasks such as execution tracing are made difficult by the lack of " | ||
Line 28: | Line 28: | ||
set history size 32768 | set history size 32768 | ||
set history expansion on | set history expansion on | ||
+ | |||
+ | # By default peda clears the screen after most commands, displaying a single | ||
+ | # context frame at a time and allowing you to access the previous/ | ||
+ | # using Shift+PageUp/ | ||
+ | # terminal, leaving you unable to access any older information. If that is the | ||
+ | # case, uncomment the following line: | ||
+ | # | ||
+ | #pset opt clearscr off | ||
</ | </ | ||
====== Basic stuff ====== | ====== Basic stuff ====== |