Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* printer exception lets -stack-list-locals fail
@ 2010-03-20  7:46 Niko Sams
  2010-03-20 16:18 ` Tom Tromey
  0 siblings, 1 reply; 3+ messages in thread
From: Niko Sams @ 2010-03-20  7:46 UTC (permalink / raw)
  To: gdb

Hi,

Printing an uninitialized std::map results in an exception like
Cannot access memory at address 0x6c894ce02464895c

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

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

thanks,
Niko


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-20 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-20  7:46 printer exception lets -stack-list-locals fail Niko Sams
2010-03-20 16:18 ` Tom Tromey
2010-03-20 16:31   ` Niko Sams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox