mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Clarify asm readmes.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
Disassemble the entire file containing $pc
|
||||
Disassemble the entire function containing $pc
|
||||
"-a" requires debug information to find which function contains $pc.
|
||||
|
||||
-data-disassemble -a $pc -- 2
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Dissembly without and with source lines. Code from .asm do not have source lines. Just assembly.
|
||||
# "-a" requires debug information to find which function contains $pc.
|
||||
|
||||
-data-disassemble -a $pc -- 2
|
||||
|
||||
|
||||
@@ -20,4 +20,8 @@ debug dialog and start command line.
|
||||
Typical _start address is: 0x8048080
|
||||
|
||||
|
||||
In gdb, to disassemble a range of memmory. 20 bytes before an
|
||||
address to 20 bytes after.
|
||||
|
||||
(gdb) disassemble 0x08048080-20, +20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user