This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Unambiguously specifying source locations
- From: Felix Lee <felix dot 1 at canids dot net>
- To: gdb at sources dot redhat dot com
- Date: Fri, 10 Oct 2003 19:20:59 -0700
- Subject: Re: Unambiguously specifying source locations
> [libfoo.so.2][foo-1.cc:foo_func:75][bar-1.h:inline_one:33]\
> [bar-1.h:inline_two:36]
One thing I'm not clear about, you're mixing source locators with
object locators. Is it really a path? Maybe it should be
an arbitrary qualifier list instead? Like
foofunc[obj libfoo.so]
foofunc[src foo.h in foo1.cc]
the first would be all foofunc in libfoo.so. the second would be
all foofunc the compiler generates from foo.cc/foo.h. and
perhaps let the user combine qualifiers with boolean operators.
--