This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 4/6] Implement support for SystemTap probes


On 04/08/2011 01:04 AM, Tom Tromey wrote:
>>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
> 
>>> +  pc_probe = find_probe_by_pc (pc, &objfile);
> 
> Yao> I don't understand this part.  We are looking for probe by matching
> Yao> frame's PC here, but address of stap_probe is the address where the
> Yao> probe is inserted.  So, probably, we can't find any probe here, is that
> Yao> correct?
> 
> I believe that the frame PC here actually is the location of the probe.
> Is there a situation where this would not be the case?
> 

No.  I misunderstood it.  Thanks for your explanation.

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]