gotstk / pygdb

Automatically exported from code.google.com/p/pygdb
Other
0 stars 0 forks source link

Typo in data_disassemble #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
mi.py line 422 reads:
                args.append('---')
but it should read
                args.append('--')
See GDB MI reference 
(http://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Data-Manipulation.html): 

<i>The -data-disassemble Command
Synopsis
      -data-disassemble
         [ -s start-addr -e end-addr ]
       | [ -f filename -l linenum [ -n lines ] ]
       <b>--</b> mode</i>

Otherwise, GDB will throw errors when I try to use the data-disassemble command.

Ta!

Original issue reported on code.google.com by randomd...@gmail.com on 3 Feb 2011 at 11:08