Clarify asm readmes.

This commit is contained in:
Ernie Pasveer
2023-02-19 09:32:28 -06:00
parent f00a36f6a8
commit 01fc5469ba
3 changed files with 7 additions and 1 deletions
@@ -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
View File
@@ -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
+4
View File
@@ -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