Patchwork target-i386: Fix variable in (disabled) debugging code

login
register
mail settings
Submitter Adam Lackorzynski
Date April 1, 2010, 9:46 p.m.
Message ID <20100401214620.GC23153@os.inf.tu-dresden.de>
Download mbox | patch
Permalink /patch/49247/
State New
Headers show

Comments

Adam Lackorzynski - April 1, 2010, 9:46 p.m.
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
---
 target-i386/op_helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Aurelien Jarno - April 8, 2010, 7:45 p.m.
On Thu, Apr 01, 2010 at 11:46:20PM +0200, Adam Lackorzynski wrote:
> 
> Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>

Thanks, applied.

> ---
>  target-i386/op_helper.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
> index 22259df..dcbdfe7 100644
> --- a/target-i386/op_helper.c
> +++ b/target-i386/op_helper.c
> @@ -1231,7 +1231,7 @@ void do_interrupt(int intno, int is_int, int error_code,
>  #if 0
>              {
>                  int i;
> -                uint8_t *ptr;
> +                target_ulong ptr;
>                  qemu_log("       code=");
>                  ptr = env->segs[R_CS].base + env->eip;
>                  for(i = 0; i < 16; i++) {
> -- 
> 1.7.0.3
> 
> 
> Adam
> -- 
> Adam                 adam@os.inf.tu-dresden.de
>   Lackorzynski         http://os.inf.tu-dresden.de/~adam/
> 
> 
>

Patch

diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index 22259df..dcbdfe7 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -1231,7 +1231,7 @@  void do_interrupt(int intno, int is_int, int error_code,
 #if 0
             {
                 int i;
-                uint8_t *ptr;
+                target_ulong ptr;
                 qemu_log("       code=");
                 ptr = env->segs[R_CS].base + env->eip;
                 for(i = 0; i < 16; i++) {