eramirem / virtualagc

Automatically exported from code.google.com/p/virtualagc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the gdb disassembly (disas) command support

GoogleCodeExporter opened this issue · comments

Add the disassemble command and its alias disas. Support the default no arg
support, the single argument and the range dump support.

Example:

(agc) disas                                  
Dump of assembler code from 0x25f9 to 0x2602:
0x25f9 <STARTSUB+2>:    CA      4672         
0x25fa <STARTSUB+3>:    TS      0026         
0x25fb <STARTSUB+4>:    AD      7715         
0x25fc <STARTSUB+5>:    TS      0027         
0x25fd <STARTSUB+6>:    AD      7716         
0x25fe <STARTSUB+7>:    TS      0030         
0x25ff <STARTSB2+0>:    CA      3163         
0x2600 <STARTSB2+1>:    EXTEND               
0x2601 <STARTSB2+2>:    WAND    011          
End of assembler dump.                       


Original issue reported on code.google.com by ohommes@gmail.com on 2 Jul 2009 at 9:59

Finished adding this feature. I may make updates to have the default show hex 
values
for the operands instead of octal as the default.

Original comment by ohommes@gmail.com on 2 Jul 2009 at 11:02

  • Changed state: Fixed