printer exception lets -stack-list-locals fail

Tom Tromey tromey@redhat.com
Sat Mar 20 16:18:00 GMT 2010


>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:

Niko> When calling -stack-list-locals and such an uninitialized std::map is
Niko> in scope it fails with this exception.
Niko> And this is not so good as there are no locals shown until the map is
Niko> initialized.

Niko> Would it be possible to catch the exception in command like
Niko> -stack-list-locals and show the error per variable?

This sounds reasonable to me.  Would you mind filing a bug report for
this in bugzilla?

Tom



More information about the Gdb mailing list