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/14373] New: std::vector


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

             Bug #: 14373
           Summary: std::vector
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: andreasheimberger@gmx.at
    Classification: Unclassified


Created attachment 6537
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6537
vector gdb frozen

Having an unitialized std::vector gdb freezes and doesn't respond anyway.
Especially when you call -var-list-children in the line where std::vector is
still uninitialized.

Example: 
Code                              GDB
------------------------------------------------------------------------------
std::vector<int> vec;             <<  -var-create - * vec  
                                  <<  -var-list-children var1
vec.push_back(1);
-------------------------------------------------------------------------------

Within Eclipse CDT they must have some implementation that debugging is still
available.

-- 
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]