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: printer exception lets -stack-list-locals fail


>>>>> "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


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