Re: [PATCH 2/6] Introduce `pre_expanded sals'

Tom Tromey
2011-08-10T14:24:21Z

Tom> Yesterday I started wondering if this patch series could go in if
Tom> re-expressed as catchpoints.

I looked into this quite a bit and I think it won't work out.

It works out fine for plain catchpoints, but it still falls down if we
want to set tracepoints at SystemTap probes. Doing this means we get
into the same issues with multiple locations that we were trying to
avoid by moving to catchpoints.

Now I am considering a third approach, namely rebasing the SystemTap
work on the ambiguous linespec proposal that I'm implementing (this will
solve the multiple location problem), and then using option-like syntax
for probes, like "break -p probe".

Tom