This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: printer exception lets -stack-list-locals fail
- From: Tom Tromey <tromey at redhat dot com>
- To: Niko Sams <niko dot sams at gmail dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Sat, 20 Mar 2010 10:18:44 -0600
- Subject: Re: printer exception lets -stack-list-locals fail
- References: <629542d41003200046k2c7b4d9erc530fa4140ead4f3@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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