GNU Debugger Flashcards

1
Q

View the list of functions

A

info functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Disassemble functions

A

disas _start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Switch to Intel syntax

A

set disassembly-flavor intel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Set a breakpoint

A

b*<function>[<+offset>]</function>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

inspect registers

A

info registers / i r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

inspect specific registers

A

info registers <register> / i r <register></register></register>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Execute next instruction

A

ni

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

continue until next breakpoint

A

c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Examine memory location

A

x/<n><f><u> &variable</u></f></n>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly