c++ debugging remarkably good right now
Nathan Myers
ncm-nospam@cantrip.org
Mon Feb 4 14:38:00 GMT 2002
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
More information about the Libstdc++
mailing list