On Fri, Sep 14, 2012 at 5:12 PM, Cody P Schafer wrote: > --- a/src/ptrace/_UPT_access_reg.c > +++ b/src/ptrace/_UPT_access_reg.c > @@ -43,6 +43,10 @@ _UPT_access_reg (unw_addr_space_t as, unw_regnum_t reg, > unw_word_t *val, > pid_t pid = ui->pid; > > #if UNW_DEBUG > + Debug(16, "using pokeuser: reg: %s [%u], val: %lx, write: %d\n", > unw_regname(reg), (unsigned) reg, (long) val, write); > +#endif > + > +#if UNW_DEBUG
why do you need the #endif/#if in the middle here ? > #if UNW_DEBUG > + Debug(16, "using getregs: reg: %s [%u], val: %lx, write: %u\n", > unw_regname(reg), (unsigned) reg, (long) val, write); > +#endif > + > +#if UNW_DEBUG here too -mike _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
