Re: [hatari-devel] Debugger commands address argument inconsistencies

[ Thread Index | Date Index | More Archives ]

Le 24/10/2021 à 01:31, Eero Tamminen a écrit :

What address related arguments are accepted
by different debugger commands is not very
 > h d
'disasm' or 'd' - disassemble from PC, or given address
Usage:  d [<start address>[-<end address>]]

 > h dd
'dspdisasm' or 'dd' - disassemble DSP code
Usage:  dd [<start address>[-<end address>]]

 > h m
'memdump' or 'm' - dump memory
Usage:  m [b|w|l] [<start address>[-<end address>| <count>]]

 > h dm
'dspmemdump' or 'dm' - dump DSP memory
Usage:  dm [<x|y|p> <start address>[-<end address>]]

 > h savebin
'savebin' - save memory to a file
Usage:  savebin <filename> <address> <length>

I wonder whether all of these commands should
support both ways to specify address range:
* <start>-<end>
* <start> <count>

Like CPU memdump does?


I usually adapt to the description of the command to use count or end, but I agree both syntaxes could be available for consistency and could have theur usefulness depending on the use case.


Mail converted by MHonArc 2.6.19+