libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH 17/17] ptrace: add more Debug to access_reg


From: Arun Sharma
Subject: Re: [Libunwind-devel] [PATCH 17/17] ptrace: add more Debug to access_reg
Date: Sat, 15 Sep 2012 10:51:48 -0700

On Fri, Sep 14, 2012 at 5:32 PM, Mike Frysinger <address@hidden> wrote:
> 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 ?

I fixed up both instances.

 -Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]