On Mon, Mar 25, 2013 at 7:20 PM, Tom Tromey <tro...@redhat.com> wrote: >>>>>> "Lawrence" == Lawrence Crowl <cr...@googlers.com> writes: > > Lawrence> Hm. I haven't thought about this deeply, but I think SFINAE may > Lawrence> not be less of an issue because it serves to remove candidates > Lawrence> from potential instantiation, and gdb won't be instantiating. > Lawrence> The critical distinction is that I'm not trying to call arbitrary > Lawrence> expressions (which would have a SFINAE problem) but call expressions > Lawrence> that already appear in the source. > > Thanks. > I will think about it. > > Lawrence> I agree that the best long-term solution is an integrated compiler, > Lawrence> interpreter, and debugger. That's not likely to happen soon. :-) > > Sergio is re-opening our look into reusing GCC. > Keith Seitz wrote a GCC plugin to try to let us farm out > expression-parsing to the compiler. This has various issues, some > because gdb allows various C++ extensions that are useful when > debugging; and also g++ was too slow.
Did you consider using clang? <runs...>