This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: c++ debugging remarkably good right now


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


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