* Tripp R ([email protected]) wrote:

Hi Tripp,

> ---
> Implemented the xb (examine block) command to print the contents of a block   
>   device to the console.
>   
> It is effectively a clone of the x/xp commands (examine memory / examine      
>   physical memory), having the same arguments for those commands, albeit 
> preceded by the name of a block driver. 

OK, that message is oddly formatted, and also doesn't
match your subject - your subject is about clarifying it,
but we don't seem to have that original command yet -
have you missed the commit that implements it somewhere?

> e.g. usage
>        xd floppy0 /510c 0

So that's 510 bytes as character starting at 0?

Dave

> Signed-off-by: Tripp R <[email protected]>
> ---
>  hmp-commands.hx | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hmp-commands.hx b/hmp-commands.hx
> index db63b58a47..26b7cadcf2 100644
> --- a/hmp-commands.hx
> +++ b/hmp-commands.hx
> @@ -481,7 +481,7 @@ ERST
>          .name       = "xb",
>          .args_type  = "device:s, fmt:/,addr:l",
>          .params     = "device /fmt addr",
> -        .help       = "block memory dump starting at 'addr'",
> +        .help       = "block memory dump starting at 'addr', in units of 
> bytes.",
>          .cmd        = hmp_block_dump,
>      },
>  
> 
> ---
> base-commit: bcc42fe49f7aae8982604900e307d783615bc79c
> change-id: 20260726-xbhmpcmd-e8c82287a035
> 
> Best regards,
> -- 
> Tripp R <[email protected]>
> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

Reply via email to