This is the mail archive of the gdb@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: c++0x lambdas, single steeping


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Pedro> Is there support in gdb for single stepping into them? Last
Pedro> attempt with 7.2-debian was not successful.

Jan> At least with unpatched FSF GCC+GDB releases it works for me.

Yes, Pedro, please be more specific.

Jan> In general only line granularity is supported for debugging - separate
Jan> stepping of multiple statements ona a single line are not supported.

Also, you need a recent svn trunk GCC and CVS head GDB to get captured
variables working properly.  Jason put in a g++ patch for this last
week, and I wrote the corresponding gdb part.

Tom


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