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: [RFA] Improved linker-debugger interface


On Saturday, May 05 2012, Jan Kratochvil wrote:

>> Also, I've been thinking about creating some predicate that would
>> confirm if some probe is of certain type of not.
>
> There is that
> 	gdb_assert (probe_generic->pops == &stap_probe_ops);
>
> for this purpose.

Which can only be used inside stap-probe.c.  I was talking about
something that would validate a SystemTap probe outside stap-probe.c.

-- 
Sergio


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