[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RESEND][PATCH] fix default size handling in monitor.
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [RESEND][PATCH] fix default size handling in monitor. |
Date: |
Wed, 1 Oct 2008 23:47:53 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jun 23, 2008 at 11:55:48AM +0300, Gleb Natapov wrote:
> Hi,
>
> If /i format is used once (with x/xp/p command) default_fmt_size is set
> to -1 and subsequent commands of the form /x outputs nothing. Included
> patched fixes this by setting default_fmt_size only if the command is
> not of format /i.
Applied, thanks.
> Signed-off-by: Gleb Natapov <address@hidden>
> ---
> diff --git a/monitor.c b/monitor.c
> index 1eb8be1..4df4d87 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -2270,8 +2270,8 @@ static void monitor_handle_command(const char *cmdline)
> /* for 'i', not specifying a size gives -1 as size */
> if (size < 0)
> size = default_fmt_size;
> + default_fmt_size = size;
> }
> - default_fmt_size = size;
> default_fmt_format = format;
> } else {
> count = 1;
>
> --
> Gleb.
>
>
>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RESEND][PATCH] fix default size handling in monitor.,
Aurelien Jarno <=