[RFA] Fix c++/16597 (crash when inspecting lambda expression variables)

Tom Tromey tromey@redhat.com
Wed Apr 16 20:33:00 GMT 2014


Keith> Ha ha. At least I didn't give away the farm! Alas, it isn't obvious to
Keith> me why 'main' would cause problems -- several .S files contain
Keith> references to that still.

Probably something weird I did back then.
I only vaguely recall it.

Keith> I'm attaching the latest revision of this.

Keith> ChangeLog
Keith> 2014-04-15  Keith Seitz  <keiths@redhat.com>

Keith> 	PR c++/16597
Keith> 	* cp-namespace.c (lookup_symbol_file): If the type name of
Keith> 	`this' is NULL, return immediately.

Keith> testsuite/ChangeLog
Keith> 2014-04-15  Keith Seitz  <keiths@redhat.com>

Keith> 	PR c++/16597
Keith> 	* gdb.cp/namelessclass.exp: New file.
Keith> 	* gdb.cp/namelessclass.S: New file.
Keith> 	* gdb.cp/namelessclass.cc: New file.

Thanks, this is ok.

Tom



More information about the Gdb-patches mailing list