On 21.11.2013 18:58:28, Samuel Thibault wrote: > Marin Ramesa, le Thu 21 Nov 2013 18:56:09 +0100, a écrit : > > On 21.11.2013 18:50:20, Samuel Thibault wrote: > > > Marin Ramesa, le Thu 21 Nov 2013 18:48:40 +0100, a écrit : > > > > On 21.11.2013 18:19:52, Samuel Thibault wrote: > > > > > Marin Ramesa, le Thu 21 Nov 2013 13:11:08 +0100, a écrit : > > > > > > - { "cs", (long *)&ddb_regs.cs, > db_i386_reg_value > > > }, > > > > > > + { "cs", (long *)&ddb_regs.cs, (void > > > > *)db_i386_reg_value }, > > > > > > > > > > Mmm, you shouldn't need this cast. > > > > > > > > GCC complains otherwise. I did not know what else to do. > > > > > > Well, show us the complain :) > > > > ../i386/i386/db_trace.c:60:2: warning: initialization from > > incompatible pointer type > > ../i386/i386/db_trace.c:60:2: warning: (near initialization for > > „db_regs[0].fcn”) > > Mmm, you didn't modify the struct db_variable, so that's not > surprising > :)
It's used in other places. I think modification would break things.