This is the mail archive of the gdb-prs@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]

[Bug python/14386] std::bitset not iterable


http://sourceware.org/bugzilla/show_bug.cgi?id=14386

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |tromey at redhat dot com

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2012-07-31 16:00:23 UTC ---
I can't reproduce this.
I used this test program:

#include <bitset>

std::bitset<8> bits;

int main()
{
  bits[1] = 1;
}

I get:

(gdb) 
-var-create - * bits
^done,name="var1",numchild="1",value="{...}",type="std::bitset<8ul>",has_more="0"


What version of g++ are you using?
The libstdc++ printers actually live there.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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