Patchwork [v3,1/8] monitor: Document argument type 'M'

login
register
mail settings
Submitter Markus Armbruster
Date Jan. 25, 2010, 1:23 p.m.
Message ID <1264425788-8245-2-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/43625/
State New
Headers show

Comments

Markus Armbruster - Jan. 25, 2010, 1:23 p.m.
Was forgotten in commit b6e098d7.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 monitor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Anthony Liguori - Feb. 3, 2010, 6:37 p.m.
On 01/25/2010 07:23 AM, Markus Armbruster wrote:
> Was forgotten in commit b6e098d7.
>
> Signed-off-by: Markus Armbruster<armbru@redhat.com>
>    

Applied all (including v4 of 2/8).  Thanks.

Regards,

Anthony Liguori

> ---
>   monitor.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/monitor.c b/monitor.c
> index ae3300b..a56d480 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -68,6 +68,8 @@
>    * 's'          string (accept optional quote)
>    * 'i'          32 bit integer
>    * 'l'          target long (32 or 64 bit)
> + * 'M'          just like 'l', except in user mode the value is
> + *              multiplied by 2^20 (think Mebibyte)
>    * '/'          optional gdb-like print format (like "/10x")
>    *
>    * '?'          optional type (for all types, except '/')
>

Patch

diff --git a/monitor.c b/monitor.c
index ae3300b..a56d480 100644
--- a/monitor.c
+++ b/monitor.c
@@ -68,6 +68,8 @@ 
  * 's'          string (accept optional quote)
  * 'i'          32 bit integer
  * 'l'          target long (32 or 64 bit)
+ * 'M'          just like 'l', except in user mode the value is
+ *              multiplied by 2^20 (think Mebibyte)
  * '/'          optional gdb-like print format (like "/10x")
  *
  * '?'          optional type (for all types, except '/')