Created
March 6, 2013 02:46
-
-
Save alexcrichton/5096308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) disassemble | |
Dump of assembler code for function main: | |
=> 0x0000000100000f90 <+0>: mov $0x8,%al | |
0x0000000100000f92 <+2>: movsbl %al,%eax | |
End of assembler dump. | |
(gdb) stepi | |
0x0000000100000f92 in main () | |
(gdb) print $eax | |
$1 = 3848 | |
(gdb) stepi | |
0x0000000100000f95 in ?? () | |
(gdb) print $eax | |
$2 = 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment