diff mbox

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

Message ID 20100401214620.GC23153@os.inf.tu-dresden.de
State New
Headers show

Commit Message

Adam Lackorzynski April 1, 2010, 9:46 p.m. UTC
Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
---
 target-i386/op_helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno April 8, 2010, 7:45 p.m. UTC | #1
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/
> 
> 
>
diff mbox

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++) {