This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: c++ debugging remarkably good right now
- From: Nathan Myers <ncm-nospam at cantrip dot org>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 4 Feb 2002 22:38:21 +0000
- Subject: Re: c++ debugging remarkably good right now
- References: <200202040144.g141iY301071@fillmore.constant.com>
On Sun, Feb 03, 2002 at 05:44:34PM -0800, Benjamin Kosnik wrote:
> On x86/linux, with current src and gcc modules:
>
> (gdb) p locale::classic()
> $7 = (const locale &) @0x812b760: {
> static none = 0,
> static ctype = 1,
> static numeric = 2,
> static collate = 4,
> static time = 8,
> static monetary = 16,
> static messages = 32,
> static all = 63,
> _M_impl = 0x812b740,
> static _S_classic = 0x812b740,
> static _S_global = 0x812b740,
> static _S_num_categories = 6,
> static _S_num_facets = 28
> }
>
>
> Amazing! Even more complex types are rendered well: ...
This is real progress.
Now, how about defaulting to *not* printing out static members?
Note in the above that the only useful information printed is the
_M_impl member.
Nathan Myers
ncm at cantrip dot org