GDB and STL containers
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: GDB and STL containers

  1. #1
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Fairfax, VA
    Posts
    10,885

    GDB and STL containers

    I recently discovered this page:
    http://sourceware.org/gdb/wiki/STLSupport

    and I've been trying to get gdb working better with STL containers.

    My attempts to get gdb++ working have been stymied by its dependencies on other things that I don't know where to get, and trying to make the python pretty-printers work hasn't yielded any results at all so far. I already knew that gdb-stl-utils was broken (that page says SGI only, which explains a lot).

    I've had some success with gdb-stl-views----pvector and pdeque work great, and it's easy to install. However, both pmap and pset appear to be broken. When I try to use them gdb begins running again as if I had typed "continue" but becomes unresponsive to any further commands. I've had to resort to kill -9'ing the process from another window.

    Anyone have any other suggestions?

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Fairfax, VA
    Posts
    10,885

    Re: GDB and STL containers

    I'm seeing this message on the pmap failure:

    ../../gdb/value.c:571: internal-error: set_value_address: Assertion `value->lval != lval_internalvar && value->lval != lval_internalvar_component' failed.

    Don't know what that means.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center