I still have to find why (probably gcc related) but under debian sid (no problems under lenny, have not tested squeeze yet) "winedbg --gdb regedit"
trigger an infinite loop error: $ winedbg --gdb regedit 0017:0018: create process 'C:\windows\system32\regedit.exe'/0x110640 @0x7eb62c04 (0<0>) fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0 it: dwarf.c :1355 : dwarf2_parse_variable: L'assertion « subpgm->func » a échoué. wine: Assertion failed at address 0xffffe424 (thread 0009), starting debugger... Unhandled exception: assertion failed in 32-bit code (0xffffe424). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:ffffe424 ESP:0032df04 EBP:0032df1c EFLAGS:00000202( - 00 - - I1) EAX:00000000 EBX:00003602 ECX:00003602 EDX:00000006 ESI:b7d9f157 EDI:b7dbbff4 Stack dump: 0x0032df04: 0032df1c 00000006 00003602 b7c8b640 0x0032df14: b7dbbff4 0032e03c 0032e044 b7c8d008 0x0032df24: 00000006 0032dfbc 00000000 b7dbbff4 0x0032df34: 0000005d 7c00a0f8 00000068 b7ccea0f 0x0032df44: 0032df80 7c00a100 7c00a100 b7c9f7ab 0x0032df54: b7dbbff4 0000005d b7da16ff b7da3188 Backtrace: =>0 0xffffe424 (0x0032df1c) fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0 dwarf.c :1355 : dwarf2_parse_variable: L'assertion « subpgm->func » a échoué. wine: Assertion failed at address 0xffffe424 (thread 001a), starting debugger... Unhandled exception: assertion failed in 32-bit code (0xffffe424). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:ffffe424 ESP:0033e684 EBP:0033e69c EFLAGS:00000206( - 00 - -IP1) EAX:00000000 EBX:00003617 ECX:00003617 EDX:00000006 ESI:b7f16fa3 EDI:b7f33ff4 Stack dump: 0x0033e684: 0033e69c 00000006 00003617 b7e03640 0x0033e694: b7f33ff4 0033e7bc 0033e7c4 b7e05008 0x0033e6a4: 00000006 0033e73c 00000000 b7f33ff4 0x0033e6b4: 00000059 7c009fd8 00000068 b7e46a0f 0x0033e6c4: 0033e700 7c009fe0 7c009fe0 b7e177ab 0x0033e6d4: b7f33ff4 00000059 b7f196ff b7f1b188 Backtrace: =>0 0xffffe424 (0x0033e69c) (...)
thus never reach the prompt.
Adding the attached patch (hack I made by reading binutils readelf.c) I get to the prompt though still have some errors (but it still seems to work): $ winedbg --gdb regedit 0018:0019: create process 'C:\windows\system32\regedit.exe'/0x110640 @0x7ed690f0 (0<0>) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two52 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a9 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a10 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a11 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tc (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tf (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tt (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t9 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t10 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t11 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t12 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t13 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t14 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value shuge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio4lo (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value erx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value R02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value R03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value R04 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value R05 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S01 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S04 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u00 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u01 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u04 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u05 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u06 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v01 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v04 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r00 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r01 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s01 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s02 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s03 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s04 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s05 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two23 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a9 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a10 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a11 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tc (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tf (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tt (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t9 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t10 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t11 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t12 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t13 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value t14 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value shuge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value C6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value S6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio4lo (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value erx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pp0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pp1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pp2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pp3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pp4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qq1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qq2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qq3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qq4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qq5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pa6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qa6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value ra7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sa8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value rb6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value sb7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio2_hi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio2_lo (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pio4_hi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pS5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qS0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qS1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qS2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qS3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value qS4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value invsqrtpi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value pi (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two63 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value a5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value b0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value b1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value b2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value b3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value b4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tc (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tf (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tt (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value g6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value h5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value v5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value s6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value r6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w0 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w1 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w2 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w3 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w4 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w5 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w6 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value w7 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value shuge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value half (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value erx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value efx8 (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value two (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value tiny (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value o_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value u_threshold (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value huge (a) fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one (a) 0018:0019: create thread I @0x7ed690f0 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". 0018:0019: loads DLL C:\windows\system32\KERNEL32.dll @0x7b820000 (0<0>) 0018:0019: loads DLL C:\windows\system32\ntdll.dll @0x7bc10000 (0<0>) 0018:0019: loads DLL C:\windows\system32\regedit.exe @0x7ed50000 (0<0>) 0018:0019: loads DLL C:\windows\system32\advapi32.dll @0x7ed00000 (0<0>) 0018:0019: loads DLL C:\windows\system32\msvcrt.dll @0x7eca0000 (0<0>) 00000018:00000019: exception code=0x80000003 warning: Target reported unsupported offsets: Text=0032fb2c;Data=b7edd001;Bss=00000000 [New Thread 25] start_process (arg=0x0) at process.c:914 914 ExitThread( entry( peb ) ); trace: 98 => 80 Wine-gdb> bt #0 start_process (arg=0x0) at process.c:914 #1 0xb7f47bb7 in wine_switch_to_stack () from /usr/local/bin/../lib/libwine.so.1 Wine-gdb>
I took regedit as a simple easely reproducible example .
Any help or better fix would be greatly appreciated. Alban
Alban Browaeys a écrit :
I still have to find why (probably gcc related) but under debian sid (no problems under lenny, have not tested squeeze yet) "winedbg --gdb regedit"
trigger an infinite loop error: $ winedbg --gdb regedit 0017:0018: create process 'C:\windows\system32\regedit.exe'/0x110640 @0x7eb62c04 (0<0>) fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0 it: dwarf.c :1355 : dwarf2_parse_variable: L'assertion « subpgm->func » a échoué. wine: Assertion failed at address 0xffffe424 (thread 0009), starting debugger...
this looks like gcc emits TLS-based variables, and we don't handle this yet in the dwarf parser your fix is wrong as it just hides this fact, and still "creates" the variables/functions in the internal dbghelp structure, will give at the end wrong results in the debugger (and hard to understand) the correct short term fix is to handle the loc_error case in dwarf2_parse_variable (for the DW_AT_location case) by simply doing nothing the correct long term fix is to implement TLS based variable addressing in the parser
A+