Skip to contentSkip to conversation

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

PATCH Applied Adam Lackorzynski 2 participants 2 messages Apr 1, 2010 – Apr 8, 2010

lore
Share & tools
lore
#0 lore raw

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

---
 target-i386/op_helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
target-i386/op_helper.c +1 -1
index 22259df..dcbdfe7 100644
@@ -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++) {
Signature · 7 lines
1.7.0.3


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
#1 lore raw
Quoted 2 lines · Adam Lackorzynski

Thanks, applied.

Quoted 28 lines
---
 target-i386/op_helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
target-i386/op_helper.c +1 -1
index 22259df..dcbdfe7 100644
@@ -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++) {
Signature · 7 lines
1.7.0.3


Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net